Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
{
	"profile": {
		//free object to add whatever you see fit
	},
	"lastSync": {
		"ts": "2342343423",
		"branch": "branch1", // or tag (only one is allowed)
		"tag": "tag1" // or branch (only one is allowed)
	},
	"tags": ["tag1"], // or branches (only one is allowed)
	"branches: ["branch1"], // or tags (only one is allowed)
	"soa": "stringified soa.json",
	"apis": {
		//object of apis schema
	},
	"swagger": "stringified swagger",
	"documentation": {
		"readme": "stringified readme.md",
		"release": "stringified release.md"
	},
	"extKeyRequired": true || false,
	"oauth": true || false,
	"provision_ACL": true || false,
	"tenant_Profile": true || false,
	"urac": true || false,
	"urac_ACL": true || false,
	"urac_Config": true || false,
	"urac_GroupConfig": true || false,
	"urac_Profile": true || false,
	"jobs": {
		"job1": {}
	},
	"interConnect":
{
		"serviceName": {}
	}
};

Configuration:

Code Block
languagejs
{
  "port" : 4005,
  "group": "groupname",
  "requestTimeout": 5,
  "requestTimeoutRenewal": 10,
  "subType": "subType",
  "maintenance": {
     "port": {
      "type": "inherit"
    },
    "readiness": "/heartbeat"
  }
}

Code Block
languagejson
{
  "name": "other",
  "type": "other",
  "description" : "this is a sample description",
  "configuration": {},
  "versions" : [
    {
      "version" : "1",
      "custom": {},
      "lastSync": {
        "branch": "feature/custom",
        "ts": 123123123
      },
      "soa": "json stringified config/soa file",
      "documentation": {
        "readme" : "json stringified file",
        "release" : "json stringified file"
      },
      "branches": [
        "feature/custom"
      ]
    },
    {
      "version" : "2",
      "custom": {},
      "lastSync": {
        "branch": "feature/custom",
        "ts": 123123123
      },
      "soa": "json stringified config/soa file",
      "documentation": {
        "readme" : "json stringified file",
        "release" : "json stringified file"
      },
      "branches": [
        "feature/custom"
      ]
    }
  ],
   "metadata": {
    "tags": ["tag1", "tag2"],
    "attributes": {
      "att1": ["att1.1", "att1.2"],
      "att2": ["att2.1", "att2.2"]
    },
    "program": ["custom"]
  },
  "ui": {
    "main": "",
    "sub": ""
  },
  "settings": {
    "acl": {
      "groups" :{
        "type": "blackList", //// "whitelist"
        "value": ["owner"],
        "config": {}
      }
    },
    "environments :{
      "type": "blackList", //// "whitelist"
      "value": ["dev"],
      "config": {}
    }
  },
  "src": {
    "provider": "github",
    "owner": "ragheb",
    "repo": "test"
  }
}

...