Versions Compared

Key

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

Version

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",
	"apis": {
		//object of apis schema
	},
	"swagger":
"stringified swagger", 	"documentation": {
 		 "readme": "stringified readme.md",
  		"release": "stringified release.md"
  	},
	"extKeyRequired":
true || false, 	"oauthmaintenance": true || false,
	"provision_ACL": true || false,
	"tenant_Profile{
    "port": true{
|| false, 	"urac": true || false, 	"urac_ACLtype": true || false, 	"urac_Config": true || false,
	"urac_GroupConfig": true || false,
	"urac_Profile": true || false,
	"jobs": {
		"job1": {}
	},
	"interConnect": {
		"serviceName": {}
	inherit"
    },
    "readiness": "/heartbeat"
    }
}

Configuration:

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

...

Deploy

Code Block
languagejsonjs
{
  "nameversion": "daemon1",
  "type": "daemon",
  "description" : "this is a sample description",
  "configuration": cd": {
    "portstrategy": 11000,
    "group": "daemonGroupnotify", ||    "requestTimeout": 30,
    "requestTimeoutRenewal": 5,
    "subType": "cronJob""update"
  },
    "maintenancesettings": {

     "portmemory": {         "type": "inherit"
      },
      "readiness": "/heartbeat"
    },
    "swagger" : true
  },
  "versions" : [
    {
      "version" : "1",
      "lastSync": {
        "branch": "feature/standardization",
        "ts": 123123123
      },
      "extKeyRequired": true,
      "oauth": true"512Mi", //https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory%22
    "mode": "deployment | daemonset", 
     "awarenessreplicas": true1,
      "urac": true,
      "urac_Profile": true,
      "urac_ACL": false,
      "provision_ACL": false,
      "tenant_Profile": true,
      "jobs": {
        "migrator" : {}"loadBalancer": true
      },
  
   "swaggersrc": "json stringified swagger file",
      "soa": "json stringified config/soa file",
      "documentation": {
        "readmebranch" : "json stringified swagger filemaster",
   
    "releasecommit" : "json stringified swagger file"
   324234234"
  },

     "branchesrecipe": [
        "feature/standardization"
      ],
      "maintenance": {
        "portid": {
        "type": "inherit"
        },
   "mongoId",
    "readiness": "/heartbeat"
      },
    }
  ],
   "metadata"image": {
    "tags": ["tag1", "tag2"],
    "attributes": {
      "att1 "name": ["att1.1", "att1.2"]"imagename",
      "att2prefix": ["att2.1soajsorg",
"att2.2"]
    },     "programtag": ["soajs"]
  },
  "ui": {
    "main": "",
    "sub": """tagname"
    },
  "settings": {
    "acl": {
      "groups" :{
        "type": "blackList", //// "whitelist"
        "value": ["owner"],
   ports": [],
    "configenv": {}
      }
    },
    "recipes"
: ["recipeId"],     "environments :{
      "type": "blackList", //// "whitelist"
 //list of envirnment variables
    "value": ["dev"],
      "config": {}
    }
  },
  "src": {
    "provider": "github",
    "owner": "ragheb",
    "repo": "test"
  }
}