Versions Compared

Key

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

...

Code Block
languagejs
 {
    "version": "1",
	"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",
	"documentation": {
		"readme": "stringified readme.md",
		"release": "stringified release.md"
	},
	"jobs": {
		"job1": {} 	},
  "maintenance": {
     "port": {
      "type": "inherit"
    },
    "readiness": "/heartbeat"
  }
}

...

Code Block
languagejson
{
  "name": "daemon",
  "type": "daemon",
  "description" : "this is a sample description",
  "configuration": {
    "port": 11000,
    "group": "daemonGroup",
    "requestTimeout": 30,
    "requestTimeoutRenewal": 5,
    "subType": "cronJob",
    "maintenance": {
      "port":
{         "type": "inherit"
      },
      "readiness": "/heartbeat"
    },
    "swagger" : true
  },
  "versions" : [
    {
      "version" : "1",
      "lastSync": {
        "branch": "feature/standardization",
        "ts": 123123123
      },
      "extKeyRequired": true,
      "oauth": true,
      "awareness": true,
      "urac": true,
      "urac_Profile": true,
      "urac_ACL": false,
      "provision_ACL": false,
      "tenant_Profile": true,
      "jobs": {
        "migrator" : {}
      },
      "swagger": "json stringified swagger file",
      "soa": "json stringified config/soa file",
      "documentation": {
        "readme" : "json stringified swagger file",
        "release" : "json stringified swagger file"
      },
      "branches": [
        "feature/standardization"
      ],
      "maintenance": {
        "port": {
        "type": "inherit"
        },
        "readiness": "/heartbeat"
      },
    }
  ],
   "metadata": {
    "tags": ["tag1", "tag2"],
    "attributes": {
      "att1": ["att1.1", "att1.2"],
      "att2": ["att2.1", "att2.2"]
    },
    "program": ["soajs"]
  },
  "ui": {
    "main": "",
    "sub": ""
  },
  "settings": {
    "acl": {
      "groups" :{
        "type": "blackList", //// "whitelist"
        "value": ["owner"],
        "config": {}
      }
    },
    "recipes" : ["recipeId"],
    "environments :{
      "type": "blackList", //// "whitelist"
      "value": ["dev"],
      "config": {}
    }
  },
  "src": {
    "provider": "github",
    "owner": "ragheb",
    "repo": "test"
  }
}