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"
    },
    "extKeyRequiredmaintenance": true || false,{
     "oauthport": true{
|| false,     "provision_ACLtype": 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": {}"inherit"
     },
    "interConnectreadiness": {       "serviceName":{}
 "/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",  ||   "requestTimeoutupdate":
30,     "requestTimeoutRenewal": 5,
 },
  "subTypesettings": "cronJob",
    "maintenance": {
      "port": {
        "type"memory": "inherit"
      },
      "readiness": "/heartbeat"
    },
    "swagger" : true
  },
  "versions" : [
    {
      "version" : "1",
      "lastSync": {
        "branch": "feature/standardization",
512Mi", //https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory%22
       "tsmode": 123123123
      },
      "extKeyRequired": true,
      "oauth": truedeployment | daemonset", 
     "awarenessreplicas": true1,
      "uracloadBalancer": true,
      "urac_Profile": true,
      "urac_ACL": false,
      "provision_ACL": false,
      "tenant_Profile": true,

     "jobs": {
        "migrator" : {}
      },
   
  "swaggersrc": "json stringified swagger file",
      "soa": "json stringified config/soa file",
      "documentation": {

       "readmebranch" : "json stringified swagger filemaster",
        "releasecommit" : "json stringified swagger file"
   324234234"
  },
      "branches": [
        "feature/standardization"
      ],
      "maintenance""recipe": {
        "port": {
        "type""id": "inherit"
        },
   mongoId",
    "readiness": "/heartbeat"
      },
    }
  ],
   "metadataimage": {
    "tags": ["tag1", "tag2"],
    "attributes": {
      "att1": ["att1.1", "att1.2"]name": "imagename",
      "att2prefix": ["att2.1soajsorg", "att2.2"]

   },     "programtag": ["soajs"]
  },
  "ui": {
    "main": "","tagname"
     "sub": ""
  },
  "settings": {
    "aclports": {
      "groups" :{
        "type": "blackList", //// "whitelist"
        "value": ["owner"],
        "configenv": {}
  
   }     },
    "recipes" : ["recipeId"],
    "environments :{
      "type": "blackList", //// "whitelist"
 //list of envirnment variables
    "value": ["dev"],
      "config": {}
    }
  },
  "src": {
    "provider": "github",
    "owner": "ragheb",
    "repo": "test"
  }
}