Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Version

{
	"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"
	}
}

Configuration:

{
  "group": "groupname",
  "subType": "subType",
}

JSON Exmaple

{
  "name": "frontend",
  "type": "static",
  "description" : "this is a sample description",
  "configuration": {},
  "versions" : [
    {
      "version" : "1",
      "lastSync": {
        "branch": "feature/static",
        "ts": 123123123
      },
      "soa": "json stringified config/soa file",
      "documentation": {
        "readme" : "json stringified file",
        "release" : "json stringified file"
      },
      "branches": [
        "feature/standardization"
      ]
    }
  ],
   "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": {}
      }
    },
    "environments :{
      "type": "blackList", //// "whitelist"
      "value": ["dev"],
      "config": {}
    }
  },
  "src": {
    "provider": "github",
    "owner": "ragheb",
    "repo": "test"
  },
  "deploy":{
    "dev": [
      {
        "version": "1",
        "cd": {
          "strategy": "notify"
        },
        "setting":{
          "memory": "512Mi",
          "mode": "deployment | daemonset", 
          "replicas": 1,
          "loadBalancer": true 
        },
        "src":{
          "branch: "master",
          "commit": "90d3b7cb59572775def3533f3e4be11d1fc7e057"
        },
        "recipe": {
          "id": "",
          "image" : {
              "name": "oauth", 
              "prefix": "soajsorg", 
              "tag": "2.x"
          }, 
          "ports": [],
          "env": {
          }
        }
      }
    ]
  }
}
  • No labels