/
Service

Service

Versions:

{ "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, "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, "interConnect": [ {"name": "ms", "version: "1"} ], "maintenance": { "port": { "type": "inherit" }, "readiness": "/heartbeat" }, "customByEnv":{ "dev" :{ "extKeyRequired": true || false, "oauth": true || false, } } }

Configuration:

{ "port" : 4005, "group": "groupname", "requestTimeout": 5, "requestTimeoutRenewal": 10, "subType": "subType" }

Deploy

{ "dashboard": [{ "version": "1", "cd": { "strategy": "notify" || "update" }, "settings": { "memory": "512Mi", //https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-memory%22 "mode": "deployment | daemonset", "replicas": 1 }, "src": { "id": "2342", "branch": "master", "commit": "324234234" }, "recipe": { "id": "mongoId", "image": { "name": "imagename", "prefix": "soajsorg", "tag": "tagname" }, "ports": [{ "name": "service", "isPublished": false, "target": 4000 }, { "name": "maintenance", "isPublished": false, "target": 5000 } ], "env": { //list of envirnment variables "BACKOFFICE_BASE_URL": "http://api.xxx.com/register/", "MONOLITH_BASE_URL": "https://api.xxx.com/mono/", "HUBSPOT_API_KEY": { "secret": "hubspot", "key": "hubspot" }, "MONGO_URL": { "secret": "mongourljson", "key": "mongourljson" } } }, }, ] }