Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rgolangh committed Jul 29, 2024
1 parent b4cd7f1 commit 50fc450
Show file tree
Hide file tree
Showing 5 changed files with 1,020 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/mta/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.2
version: 0.3.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
23 changes: 23 additions & 0 deletions charts/mta/templates/01-configmap_mtaanalysis-props.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: v1
data:
application.properties: |
# MTA
mta.url = ${MTA_URL:http://mta-ui.openshift-mta.svc.cluster.local:8080}
quarkus.rest-client.mta_json.url = ${mta.url}/hub
#quarkus.rest-client.mta_json.auth.basicAuth.username = username
#quarkus.rest-client.mta_json.auth.basicAuth.password = password
# Backstage Notifications service
quarkus.rest-client.notifications.url=${BACKSTAGE_NOTIFICATIONS_URL:http://backstage-backstage.rhdh-operator}
quarkus.openapi-generator.notifications.auth.BearerToken.bearer-token=${NOTIFICATIONS_BEARER_TOKEN}
#quarkus.log.category.\"org.apache.http\".level = DEBUG
quarkus.flyway.migrate-at-start=true
kind: ConfigMap
metadata:
creationTimestamp: null
labels:
app: mtaanalysis
sonataflow.org/workflow-app: mtaanalysis
name: mtaanalysis-props
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: v1
data:
mta-input.json: |+
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"repositoryURL": {
"type": "string",
"pattern": "^(git|http|https)://.+$"
},
"recipients": {
"title": "Recipients",
"type": "array",
"description": "A list of recipients for the notification in the format of 'user:<namespace>/<username>' or 'group:<namespace>/<groupname>', i.e. 'user:default/jsmith'",
"items": {
"title": "Recipient",
"type": "string",
"pattern": "^(user|group):[a-z0-9]([-a-z0-9]*[a-z0-9])?/([a-z0-9]([-a-z0-9]*[a-z0-9])?)$"
},
"minItems": 1
}
},
"required": [
"repositoryURL",
"recipients"
]
}
kind: ConfigMap
metadata:
creationTimestamp: null
name: 01-mtaanalysis-resources-schemas
Loading

0 comments on commit 50fc450

Please sign in to comment.