3.4 PCC in the Web UI
Provisioning of products and rules can also be performed by using the Web UI, which is accessed at:
http://<platform host>:<web interface port>/mz/
For information on how to configure the Web UI, see Setting up access to REST for using PCC in the Web UI in 8. Configuration of Properties for PCC Using the Web UI in the PCC Installation Instructions.
Note!
Authorization is required, and you will be asked to enter user name and password in order to access the Web UI.
PCC in the Web UI Start Page
Note!
If your chosen web browser is Firefox, because Firefox does not accept self-signed certificates, you can use Java keytool to create a keystore that is signed by a trusted authority, or you can create a keystore using the following command, and add exceptions to Firefox:
keytool -genkeypair -alias platform -keyalg RSA [-sigalg <sigalg>] -keypass <keypass> -keystore $MZ_HOME/keys/keystore_generated.key
To add exceptions to Firefox:
- Enter about:preferences#privacy as the address in Firefox and press Enter.
- Go to the Security section and click the View Certificates button.
- Select the Servers tab, and click the Add Exception... button.
- Enter https://<platform host>:<web interface port> and click the Get Certificate button.
- Click Confirm Security Exception.
Repeat these steps for the EC, entering the <EC host>:<EC port> in step 4.
In the Web UI you add, edit, copy and delete settings for:
- Subscriber Profiles
- Product Mapping
- Products
- Periods
- Enforcements
- Notifications
- Capacity
- Buckets
Hint!
Whenever configurations are viewed, added, edited, copied, or deleted, this is being logged for the EC log with log level INFO.
is by default configured to only register log entries with log level WARNING and higher, so if you want the log entries from the PCC Web UI to be registered, change the log level to INFO instead. See 2.6.7 Log Properties for further information.
Usage Management
Note!
Buckets can only be viewed in the Web UI, i e no changes can be made in the buckets.
In the navigation tree or in the Usage Management page, click the option for the UDR type that you want to work with, in order to open the corresponding table with UDRs. See the sections in 2.3 Product Data Model and 2.4 Periods Data Model, for information about the different fields available for each UDR type.
Configuring the Product Data Model
When you click one of the options, the relevant table opens up, where you can add, edit, copy or delete different UDRs.
The fields displayed in each table differ depending on the UDR type. For detailed information about the different fields in each case, see the relevant section in 2.3 Product Data Model.
Hint
If you just want a quick view of the settings for a specific UDR, click theicon under Actions. A popup containing the settings will then be displayed.
Note!
For product mapping UDRs, to define Arguments, such as Rate Group and Location, you can add arguments and modify the values in the productMappingArguments.json
file located in the $MZ_HOME/web-roots/mz/etc
directory.
Example of arguments
[
{
"name" : "Rate Group",
"description": "Group ratings"
},
{
"name" : "Location",
"description": "The location"
},
{
"name" : "Another argument",
"description": "Another argument"
}
]
Adding a UDR
To add a UDR in Web UI:
- In the table page for a specific UDR type, click the New option at the top right of the page to add a new UDR.
The Create New <udr type> page opens. For example, if you want to create a new product mapping, click the Create New Product button. Enter the values you want to have in the different fields.
Note!
You must populate the mandatory fields, which are marked with an asterisk.
If you want to create several UDRs of the same type, select the Create another check box. If you only want to create one UDR of that type, leave this check box unselected.
To save the data you have entered, click the Create <udr type> button. For example, to save the new product mapping that you have created, click the Create Product button.
The new UDR is created and listed in the table.
Example - The Product table and Create New Product page
Searching for a UDR
In the table page for a specific UDR type, start typing the name of the UDR that you are searching for. The matching names are displayed. You can then select the UDR that you are searching for and edit, copy or delete it as required.
Searching for Buckets
When you click the Buckets option, a page with a search field will open, where you can enter the ID of a subscriber, e g an IMSI, for which you want to view information. Enter the subscriber's ID in the Search... field and click the Search button. The available information is displayed.
Example - Searching for bucket information
For each subscriber you can see current information about the Subscriber, Buckets and Sessions. See the sections Subscriber UDR, Bucket UDR and Session UDR in 2.2 Buckets Data Model for detailed information.
Hint!
To expand the tree for each UDR type, click the header once for the first level of information, twice for all of the information and three times to collapse the tree.
Editing a UDR
To edit a UDR in the Web UI:
- In the table page for a specific UDR type, click the icon under Actions, to the right of the UDR that you want to edit in the UDR table. Or you can click the name of the UDR that you want to edit in the UDR table.
The settings for the selected UDR type opens. - Make your changes in the different fields and click the Save Changes button.
The settings for the UDR are updated, and the new values will be listed in the table of UDRs.
Example - Edit Product page
Copying a UDR
To copy a UDR in the Web UI:
- In the table page for a specific UDR type, click the icon under Actions, to the right of the UDR that you want to copy in the UDR table. Or you can select the check box to the left of UDR that you want to copy in the UDR table and click the Copy button at the top right of the page.
A message is displayed stating that a copy of the selected UDR has been created, with the ID of the new UDR.
You can search for the copy by entering the ID in the Search field and edit the duplicate UDR as required. Make your changes in the different fields and click the Save Changes button.
The settings for the UDR are updated, and the new values will be listed in the table of UDRs.
Example - Copy a product
Deleting a UDR
To delete a UDR in the Web UI, click on the icon under Actions, to the right of the UDR that you want to delete in the UDR table for the selected UDR type. Or you can select the check box to the left of UDR that you want to delete in the UDR table and click the Delete button at the top right of the page.
A message is displayed asking if you are sure that you want to delete the selected UDR. If you click OK the selected UDR is deleted.
Note!
You cannot delete UDRs that are referenced in other UDRs. For example, if product X has capacity Y, you cannot delete capacity Y. You would be required to delete product X to be able to delete capacity Y.
Example - Delete a product