Versions Compared

Key

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

...

kubectl rollout restart deployments/dev-aai-resources -n onap

...


Test Multi-tenancy locally

In order to test multi-tenancy locally, you need to run aai-resource and aai-traversal as a single instance on your laptop, you need two locally, following steps below:

...

...


  • Modify application.properties file under aai-resources/aai-resources/src/main/resources directory. Change spring.profiles.active=production, one-way-ssl line to spring.profiles.active=production, keycloak
  • Modify application.properties file under aai-resources/aai-

...

  • traversal/src/main/resources directory.

...

  • Change spring.profiles.active=production, one-way-ssl line to spring.profiles.active=production, keycloak

...

  • Run resources and traversal with the command below:


Code Block
cd aai-resources
mvn -N -P runAjsc -Dserver

...

.local.startpath=

...

src/main/resources/

...




cd aai-traversal
mvn -N -P runAjsc -Dserver.local.startpath=src/main/resources/

...


Demo

View file
namedemo-locally.mp4
height250

...

Running test suites

The test suites has the following sequences

...