aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/onos/web/api/src/main/resources/definitions/ApplicationPost.json
blob: ea6c3ea25a85ab5dea77326dd95f520f15203fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
  "type": "object",
  "title": "application",
  "required": [
    "name",
    "id",
    "version",
    "description",
    "origin",
    "permissions",
    "featuresRepo",
    "features",
    "requiredApps",
    "state"
  ],
  "properties": {
    "name": {
      "type": "string",
      "example": "org.onosproject.distributedprimitives"
    },
    "id": {
      "type": "integer",
      "format": "int64",
      "example": 1
    },
    "version": {
      "type": "string",
      "example": "1.4.0.SNAPSHOT"
    },
    "description": {
      "type": "string",
      "example": "ONOS app to test distributed primitives"
    },
    "origin": {
      "type": "string",
      "example": "ON.Lab"
    },
    "permissions": {
      "type": "array",
      "xml": {
        "name": "hosts",
        "wrapped": true
      },
      "items": {
        "type": "string",
        "example": ""
      }
    },
    "featuresRepo": {
      "type": "string",
      "example": "mvn:org.onosproject/onos-app-cip/1.4.0-SNAPSHOT/xml/features"
    },
    "features": {
      "type": "array",
      "xml": {
        "name": "features",
        "wrapped": true
      },
      "items": {
        "type": "string",
        "example": "onos-app-distributed-primitives"
      }
    },
    "requiredApps": {
      "type": "array",
      "xml": {
        "name": "requiredApps",
        "wrapped": true
      },
      "items": {
        "type": "string",
        "example": ""
      }
    },
    "state": {
      "type": "string",
      "example": "ACTIVE"
    }
  }
}