Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-7526

create json schema spec for mobile-services.json

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None

      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.

      {
        "version": 1,
        "clusterName": "<url-to-ocp-cluser>",
        "namespace": "apb-test-1531230286553",
        "clientId": "myapp-cordova",
        "services": [
          {
            "id": "keycloak-myapp-cordova-public",
            "name": "keycloak",
            "type": "keycloak",
            "url": "<url-to-keycloak>/auth",
            "config": {
              "auth-server-url": "<url-to-keycloak>/auth",
              "confidential-port": 0,
              "public-client": true,
              "realm": "<realm>",
              "resource": "<resource>",
              "ssl-required": "external"
            }
          },
          {
            "id": "metrics-myapp-cordova",
            "name": "metrics",
            "type": "metrics",
            "url": "<url-to-metrics>",
            "config": <metrics-config>
          },
          {
            "id": "test-myapp-cordova",
            "name": "test",
            "type": "Custom Runtime Connector",
            "url": "<url-to-service>",
            "config": <service-config>
          },
          {
            "id": "ups-secret-myapp-cordova-8fve3",
            "name": "ups",
            "type": "push",
            "url": "<url-to-ups>",
            "config": {
              "android": {
                "senderId": "<numbers>",
                "variantId": "<hex>",
                "variantSecret": "<hex>"
              }
            }
          }
        ]
      }
      

              Unassigned Unassigned
              cbrookes@redhat.com Craig Brookes
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: