*What*
To allow simple and automated validation of the the mobile-services.json that is generated, we should define a json schema that covers the mobile-service.json and plug it in to the nightly build jobs.
{code:theme=FadeToGrey|linenumbers=true|language=js|firstline=1} { "version": 1, "clusterName": " https://wendy <path - to- ocp- slave.skunkhenry.com:8443 cluser> ", "namespace": "apb- latest test -1531230286553", "clientId": "myapp-cordova", "services": [ { "id": "keycloak-myapp-cordova-public", "name": "keycloak", "type": "keycloak", "url": " https://keycloak <path - apb to - latest-1531230286553.wendy-ocp-slave.skunkhenry.com keycloak> /auth", "config": { "auth-server-url": " https://keycloak <path - apb to - latest-1531230286553.wendy-ocp-slave.skunkhenry.com keycloak> /auth", "confidential-port": 0, "public-client": true, "realm": " apb-latest-1531230286553 <realm> ", "resource": " myapp-cordova-public <resource> ", "ssl-required": "external" } }, { "id": "metrics-myapp-cordova", "name": "metrics", "type": "metrics", "url": " https://aerogear <path - app to -metrics -apb-latest-1531230286553.wendy-ocp-slave.skunkhenry.com/metrics > ", "config": {} <metrics-config> }, { "id": "test-myapp-cordova", "name": "test", "type": "Custom Runtime Connector", "url": " https://some <url - default to - url.com/ service> ", "config": {} <service-config> }, { "id": "ups-secret-myapp-cordova-8fve3", "name": "ups", "type": "push", "url": " https://ups <path - apb to - latest-1531230286553.wendy-ocp-slave.skunkhenry.com/ ups> ", "config": { "android": { "senderId": " 754329551899 <numbers> ", "variantId": " f8bcb700-445c-4ae1-a738-05282822fcaa <hex> ", "variantSecret": " bb854f52-d89c-4e3e-81d1-339744390c5f <hex> " } } } ] } {code} |
|