*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= 5 1 } { "version": 1, "clusterName": "https://wendy-ocp-slave.skunkhenry.com:8443", "namespace": "apb-latest-1531230286553", "clientId": "myapp-cordova", "services": [ { "id": "keycloak-myapp-cordova-public", "name": "keycloak", "type": "keycloak", "url": "https://keycloak-apb-latest-1531230286553.wendy-ocp-slave.skunkhenry.com/auth", "config": { "auth-server-url": "https://keycloak-apb-latest-1531230286553.wendy-ocp-slave.skunkhenry.com/auth", "confidential-port": 0, "public-client": true, "realm": "apb-latest-1531230286553", "resource": "myapp-cordova-public", "ssl-required": "external" } }, { "id": "metrics-myapp-cordova", "name": "metrics", "type": "metrics", "url": "https://aerogear-app-metrics-apb-latest-1531230286553.wendy-ocp-slave.skunkhenry.com/metrics", "config": {} }, { "id": "test-myapp-cordova", "name": "test", "type": "Custom Runtime Connector", "url": "https://some-default-url.com/", "config": {} }, { "id": "ups-secret-myapp-cordova-8fve3", "name": "ups", "type": "push", "url": "https://ups-apb-latest-1531230286553.wendy-ocp-slave.skunkhenry.com/", "config": { "android": { "senderId": "754329551899", "variantId": "f8bcb700-445c-4ae1-a738-05282822fcaa", "variantSecret": "bb854f52-d89c-4e3e-81d1-339744390c5f" } } } ] } {code} |
|