Chapter 6. Accessing the self-service technology preview deployment
6.1. Adding the deployment URL to the OAuth Application
When you set up your OAuth application in Ansible Automation Platform before deploying self-service technology preview, you added placeholder text for the Redirect URIs
value.
You must update this value using the URL from the deployed application so that you can run automation on self-service technology preview from self-service technology preview.
Determine the
Redirect URI
from your OpenShift deployment:- Open the URL for the deployment from the OpenShift console to display the sign-in page for self-service technology preview.
- Copy the URL.
To determine the
Redirect URI
value, append/api/auth/rhaap/handler/frame
to the end of the deployment URL.For example, if the URL for the deployment is
https://my-aap-self-service-tech-preview-backstage-myproject.mycluster.com
, then theRedirect URI
value ishttps://my-aap-self-service-tech-preview-backstage-myproject.mycluster.com/api/auth/rhaap/handler/frame
.
Update the
Redirect URIs
field in the OAuth application in Ansible Automation Platform:- In a browser, open your instance of Ansible Automation Platform.
-
Navigate to
. - In the list view, click the OAuth application you created.
-
Replace the placeholder text in the
Redirect URIs
field with the value you determined from your OpenShift deployment. -
Click
Save
to apply the changes.
6.2. Signing in to self-service technology preview
Prerequisites
- You have configured an OAuth application in Ansible Automation Platform for self-service technology preview.
- You have configured a user account in Ansible Automation Platform.
Procedure
In a browser, navigate to the URL for self-service technology preview to open the sign-in page.
- Click Sign In.
The sign-in page for Ansible Automation Platform appears:
- Enter your Ansible Automation Platform credentials and click Log in.
- The self-service technology preview UI opens.
Click Templates to open a landing page where tiles are displayed, representing templates. When the page is populated with templates, the layout resembles the following screenshot:
6.3. Adjusting synchronization frequency between Ansible Automation Platform and self-service technology preview
The Helm chart defines how frequently users, teams and organization configuration information is synchronized from Ansible Automation Platform to self-service technology preview.
The frequency is set by the catalog.providers.rhaap.schedule.frequency
key. By default, the synchronization occurs hourly.
To adjust the synchronization frequency, edit the value for the
catalog.providers.rhaap.schedule.frequency
key in the Helm chart.catalog: ... providers: rhaap: '{{- include "catalog.providers.env" . }}': schedule: frequency: {minutes: 60} timeout: {seconds: 30}
catalog: ... providers: rhaap: '{{- include "catalog.providers.env" . }}': schedule: frequency: {minutes: 60} timeout: {seconds: 30}
Copy to Clipboard Copied!
Increasing the synchronization frequency generates extra traffic.
Bear this in mind when deciding the frequency, particularly if you have a large number of users.