...
4. Create MDONS instance
1.To create service go to Services tab and select Life cycle management. List of services created and their progress are listed.
2. Click on the create button on the top right corner of the screen. A pop up appears with the required fields for which service needs to be created.
3. Select the customer for the drop down list to which the service needs to be created,
4. Select MDONS as service type from the list displayed.
...
- The response which is a list of AAI Subscriptions is sent back to the UUI and populated in the Service Type drop down.
...
5. Use case type is the name or the type of the use case to which the service instance will be created. These service types are hardcoded values in the UUI. MDONS use case should be added to service types.
...
/api/sdc/v1/catalog/services
...
6. Once the template is selected and click ok to decompose the selected template. Depending on the chosen template, template parameters are queried by passing the CSAR id & Tosca Model URL of the selected template from SDC. The CSAR file is downloaded the URL and the input fields are extracted which are the template parameters.
- On successful fetch of the template parameters, the parameter values are passed to their respective use case screen components.
- For the template parameters the input fields are extracted and a dynamic form is popped up with these fields as label and text box.
- The enni-id and uni-id will be queried from AAI and are populated as a list in the fields. The user has to choose the appropriate enni and uni id from the list.
inputs:
name:
...
- Service Operation Response Object is received from SO with default properties Service ID and Operation ID.
- The Service Instance and Service Instance operation objects are created and saved in the PostgreSQL data base.
- In addition with these, in terms of MDONS use case another property “statusDetails” needs to be added, which holds the status message (Reason for failure) from SO.
- For this property a column needs to be added in service_instance_operations table with column name operation_status_details.
- An additional Column will be added in the UI service List page to show the status details as shown below.
...
8. After Service creation, the progress of the service creation is re-queried from SO component until the progress is 100% from below path mapping by passing service id and operation id. This API call returns back a response with the percentage of operational status. This API is queried until the operation status become 100%.
...
This screen shows the service detail and status of the particular service which is selected from the list.
1.To view the detailed status of the service, go to Services tab and select Life cycle management. List of services created and their progress are listed as table in this page.
2. On the page init load Customer list of customers are fetched from AAI via UUI server by the following path.
/api/aai-business/v13/customers
3. On selecting the Customer, Service type is fetched by passing selected customer ID from AAI via UUI server by following service call.
...
- The fetched service instance data is displayed as below.
...
4. Click on the bars icon of the particular service to which you need to check the status and details.
5. The detail service view component is called and the created service template parameters are populated as shown below.
6. Delete MDONS Instance
1.To delete the service, go to Services tab and select Life cycle management. Services which have been created will be listed.
2. Click on the Delete icon in the actions column of the particular service instance needs to be deleted.
3. A delete model pop up window appears with the specific instance name and instance id.
...