Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

  1. 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 )
  2. To add/remove HPA Capabilities edit the flavors section in the body of PUT Cloud-Region{x}
  3. Once all the necessary Use postman to add the complex and cloud regions in the order specified below
  4. 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

  1. Select Policy→Dictionary from left panel
  2. Click on the 
    Status
    colourBlue
    titleImport Dictionary's
     button and use the OOFPolicyDictionary_For_Import.csv to import models. 

Image Added

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

  1. Select Policy→Dictionary from left panel
  2. Select MicroService Policy from Policy Type Dictionary drop down
  3. Select MicroService Models from Select Dictionary drop down
  4. Click on the
    Status
    colourGreen
    titleCreate
     button.
  5. 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.

...