Disclaimer: We are using the HPA & Cloud Agnostic Intent - R3 Test Plan as reference. The postman given here are only for reference. Please make necessary edits according to the test plan.
...
If Multicloud team has data for creating the Cloud-region and doesn't have the HPA, then please update the existing data with the flavors with HPA.
- Import the postman collection collection committed to the repository: https://gerrit.onap.org/r/gitweb?p=aai%2Ftest-config.git;hb=refs%2Fchanges%2F88%2F86588%2F1;f=testsuite%2Fdatacollections%2FOOF-HPA-Cloud-Agnostic-Intent-CASABLANCA.postman_collection.json (original version attached to wiki: CASABLANCA_AAI_postman.json )
- To add/remove HPA Capabilities edit the flavors section in the body of PUT Cloud-Region{x}
- Once all the necessary Use postman to add the complex and cloud regions in the order specified below
- Use the GET requests to verify the data.
...
Using the policy GUI upload all the policy models in the portal .
OOF Policy models including HPA available here OOF Policy Tosca Models
using either Method 1 or Method 2.
Method 1 (Import CSV)
Shortcurt to upload model - Not tested
- Select Policy→Dictionary from left panel
- Click on the
button and use the OOFPolicyDictionary_For_Import.csv to import models.Status colour Blue title Import Dictionary's
Method 2 (Manual upload)
Manual Method to Upload models by creating dictionary as per the below screen shots.
OOF Policy models including HPA available here OOF Policy Tosca Models
- Select Policy→Dictionary from left panel
- Select MicroService Policy from Policy Type Dictionary drop down
- Select MicroService Models from Select Dictionary drop down
- Click on the
button.Status colour Green title Create - Creating menu is self explanatory, please give same version for all the models imported together.
Create and Push Policy
Login to any pod (We OSDF) - and use the pdp servicename and port using the curl commands below.
...