janus-idp / backstage-plugins

Plugins for Backstage
https://janus-idp.io
Apache License 2.0
151 stars 150 forks source link

[AAP Plugin] QE for AAP plugin #545

Closed invincibleJai closed 1 year ago

invincibleJai commented 1 year ago

Description:

Test AAP plugin and update the test plan

Acceptance Criteria:

josephca commented 1 year ago

Hi @invincibleJai Please review e2e test case. Thanks,

AAP (Ansible® Automation Platform) backstage provider plugin install and verification (readme/instruction)

Prereqs:

1) setup instance of AAP 1.a) Get an Openshift Container Platform (OCP) Cluster 1.b) Search for the AAP operator in operatorHub and install it 1.c) Create a Custom Resource for AutomationController with default values 1.d) Go to the "aap" namespace and go to the Topology View 1.e) Click on the workload "XXX-web", open the public route. This will take you to the AAP instance, where you get the subscription for it 1.f) Once subscription is obtained, go to the AAP dashboard, click on Templates under resources and add a new template 1.g) Get the token: click on user details on right and then on the token. Generate a token

AAP plugin install and verification:

2) install AAP plugin and enable it 3) start backstage and verify AAP plugin populated the software catalog with job templates from the configured AAP ins

invincibleJai commented 1 year ago

Hi @invincibleJai Please review e2e test case. Thanks,

AAP (Ansible® Automation Platform) backstage provider plugin install and verification (readme/instruction)

Prereqs:

  1. setup instance of AAP 1.a) Get an Openshift Container Platform (OCP) Cluster 1.b) Search for the AAP operator in operatorHub and install it 1.c) Create a Custom Resource for AutomationController with default values 1.d) Go to the "aap" namespace and go to the Topology View 1.e) Click on the workload "XXX-web", open the public route. This will take you to the AAP instance, where you get the subscription for it 1.f) Once subscription is obtained, go to the AAP dashboard, click on Templates under resources and add a new template 1.g) Get the token: click on user details on right and then on the token. Generate a token

AAP plugin install and verification:

  1. install AAP plugin and enable it
  2. start backstage and verify AAP plugin populated the software catalog with job templates from the configured AAP ins

Thanks @josephca, yeah this looks good to me.