Skip to content

Commit 3c49eed

Browse files
authored
feat(x2a): collect source and target repo user input (#2244)
* feat(x2a): collect source and target repo user input Signed-off-by: Marek Libra <marek.libra@gmail.com> * review --------- Signed-off-by: Marek Libra <marek.libra@gmail.com>
1 parent 2fc6542 commit 3c49eed

47 files changed

Lines changed: 1116 additions & 423 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@red-hat-developer-hub/backstage-plugin-x2a-backend': patch
3+
'@red-hat-developer-hub/backstage-plugin-x2a-common': patch
4+
'@red-hat-developer-hub/backstage-plugin-x2a': patch
5+
---
6+
7+
The Create Project action collects source and target repos. Internally, both are persisted on the Project's level, while the /run endpoints receive fresh (non-expired) tokens only.

workspaces/x2a/app-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ x2a:
159159
# If not provided here, users must supply AAP credentials when creating projects
160160
# Use EITHER oauthToken OR username+password
161161
aap:
162-
url: ${AAP_URL}
163-
orgName: ${AAP_ORG_NAME}
162+
url: ${AAP_URL:-https://aap.example.com}
163+
orgName: ${AAP_ORG_NAME:-MyOrganization}
164164
# Option 1: OAuth token
165-
oauthToken: ${AAP_OAUTH_TOKEN}
165+
oauthToken: ${AAP_OAUTH_TOKEN:-your-oauth-token}
166166
# Option 2: Username and password
167167
# username: ${AAP_USERNAME}
168168
# password: ${AAP_PASSWORD}

0 commit comments

Comments
 (0)