-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
7,093 additions
and
7,023 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
.yarn/install-state.gz | ||
**/dist | ||
**/node_modules | ||
*.local.yaml | ||
*.local.* | ||
coverage | ||
dist-types | ||
examples | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Use this template to create your own app-config.local.yaml file | ||
# See one of the devs on how to get the values for the env variables | ||
|
||
# Uncomment to use POSTGRES. The below config assumes postgres is running locally. | ||
# backend: | ||
# database: | ||
# client: pg | ||
# connection: | ||
# host: localhost | ||
# port: 5432 | ||
# password: ${POSTGRES_PASSWORD} | ||
# user: ${POSTGRES_USER} | ||
|
||
integrations: | ||
github: | ||
- host: github.com | ||
token: ${GITHUB_TOKEN} | ||
|
||
stackoverflow: | ||
baseUrl: https://stackoverflow.developer.gov.bc.ca/api/2.3 | ||
apiKey: ${STACK_OVERFLOW_API_KEY} | ||
requestParams: | ||
pagesize: 100 | ||
site: stackoverflow | ||
|
||
auth: | ||
environment: development | ||
providers: | ||
guest: | ||
userEntityRef: user:default/guest | ||
dangerouslyAllowOutsideDevelopment: true | ||
github: | ||
development: | ||
clientId: ${AUTH_GITHUB_CLIENT_ID} | ||
clientSecret: ${AUTH_GITHUB_CLIENT_SECRET} | ||
signIn: | ||
resolvers: | ||
- resolver: usernameMatchingUserEntityName | ||
|
||
techdocs: | ||
builder: 'external' | ||
generator: | ||
runIn: 'local' | ||
publisher: | ||
type: 'awsS3' | ||
awsS3: | ||
bucketName: backstage | ||
bucketRootPath: dev | ||
credentials: | ||
accessKeyId: ${TECHDOCS_S3_ACCESS_KEY_ID} | ||
secretAccessKey: ${TECHDOCS_S3_SECRET_ACCESS_KEY} | ||
endpoint: ${TECHDOCS_S3_ENDPOINT} | ||
region: ca-central-1 | ||
s3ForcePathStyle: true | ||
|
||
catalog: | ||
locations: | ||
- type: url | ||
target: https://github.com/bcgov/developer-experience-team/blob/main/developer-portal/catalog/catalog-seed-dev.yml | ||
rules: | ||
- allow: [Component] | ||
- type: url | ||
target: https://github.com/bcgov/developer-experience-team/blob/main/developer-portal/catalog/templates-seed-dev.yml | ||
rules: | ||
- allow: [Template] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,51 @@ | ||
backend: | ||
# config options: https://node-postgres.com/apis/client | ||
database: | ||
client: pg | ||
connection: | ||
host: ${POSTGRES_HOST} | ||
password: ${POSTGRES_PASSWORD} | ||
port: ${POSTGRES_PORT} | ||
user: ${POSTGRES_USER} | ||
# config options: https://node-postgres.com/apis/client | ||
database: | ||
client: pg | ||
connection: | ||
host: ${POSTGRES_HOST} | ||
password: ${POSTGRES_PASSWORD} | ||
port: ${POSTGRES_PORT} | ||
user: ${POSTGRES_USER} | ||
catalog: | ||
import: | ||
entityFilename: catalog-info.yaml | ||
pullRequestBranchName: backstage-integration | ||
rules: | ||
- allow: [ Component, System, API, Resource, Location ] | ||
locations: | ||
- type: url | ||
target: https://github.com/bcgov/developer-experience-team/blob/main/developer-portal/catalog/catalog-seed-production.yml | ||
rules: | ||
- allow: [ Component ] | ||
import: | ||
entityFilename: catalog-info.yaml | ||
pullRequestBranchName: backstage-integration | ||
rules: | ||
- allow: [Component, System, API, Resource, Location] | ||
locations: | ||
- type: url | ||
target: https://github.com/bcgov/developer-experience-team/blob/main/developer-portal/catalog/catalog-seed-production.yml | ||
rules: | ||
- allow: [Component] | ||
search: | ||
collators: | ||
catalog: | ||
schedule: # same options as in SchedulerServiceTaskScheduleDefinition | ||
# supports cron, ISO duration, "human duration" as used in code | ||
initialDelay: { seconds: 3 } | ||
frequency: { minutes: 10 } | ||
timeout: { minutes: 15 } | ||
filter: | ||
kind: ['API', 'Component', 'Domain', 'Group', 'Resource', 'System', 'User'] | ||
kind: | ||
['API', 'Component', 'Domain', 'Group', 'Resource', 'System', 'User'] | ||
stackoverflow: | ||
baseUrl: ${STACK_OVERFLOW_URL} | ||
apiKey: ${STACK_OVERFLOW_API_KEY} | ||
baseUrl: ${STACK_OVERFLOW_URL} | ||
apiKey: ${STACK_OVERFLOW_API_KEY} | ||
requestParams: | ||
pagesize: 100 | ||
site: stackoverflow | ||
|
||
auth: | ||
environment: default | ||
providers: | ||
guest: | ||
userEntityRef: user:default/guest | ||
dangerouslyAllowOutsideDevelopment: true | ||
github: | ||
default: | ||
clientId: ${AUTH_GITHUB_CLIENT_ID} | ||
clientSecret: ${AUTH_GITHUB_CLIENT_SECRET} | ||
signIn: | ||
resolvers: | ||
- resolver: usernameMatchingUserEntityName |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"version": "1.28.4" | ||
"version": "1.32.4" | ||
} |
Oops, something went wrong.