Configuring Monetization using Ops Manager

Edge for Private Cloud v. 4.17.09

After you install, configure, and provision Edge, you can optionally enable and provisions Monetization.

Enable Monetization

After you complete an installation of Edge, you can enable Monetization:

  1. Select the Edge Tile in the Ops Manager.
  2. Select Monetization in the Setting tab.
  3. Enable Monetization.
  4. Select Save.
  5. Select Config Overrides in the Settings tab.
  6. Specify the following value under Apigee Global Config Overrides:
    conf_apix-mint_mint.enable_allow_default_pg=true
  7. Select Save.
  8. Select Installation Dashboard in the upper-left corner to return to the main Ops Manager page.
  9. Select Apply Changes to enable Monetization. When the installation completes, you return to the Ops Manager.

Provisioning a Monetization organization

> curl -v -X POST -H 'Content-Type: application/json' \
-u <sysAdminEmail>:<passwd>  \
https://<ms-api-domain>/v1/mint/asyncjobs/enablemonetization \
-d '{"orgName" : "<yourOrgNAme>", "mxGroup" : "mxmint", "adminEmail" : "<sysAdminEmail>"}' 

Specify your organization name. The mxGroup name must be mxmint.

After you enable Monetization for the organization, log in to the Edge UI. Select the organization in the Organization drop-down list in the upper-right corner of the UI. You should now see a Monetization menu entry:

Disabling Monetization

You can disable Monetization for a specific organization, or globally on Edge.

To disable Monetization for a specific organization, use the following API call:

curl -u <sysAdminEmail>:<passwd> -X PUT -H 'Content-Type: application/json' \
https://<ms-api-domain>/v1/o/{org_name} \
-d '{"properties" : { "property" : [{"name" : "features.isMonetizationEnabled","value" : "false"}]},"name" : "org_name"}'

To disable it globally, uncheck the Enable Monetization box in the Ops Manager and then apply your changes.