File tree Expand file tree Collapse file tree 11 files changed +50
-36
lines changed
api-catalog-package/src/main/resources
apiml-sample-extension-package
caching-service-package/src/main/resources
discovery-package/src/main/resources
gateway-package/src/main/resources
metrics-service-package/src/main/resources Expand file tree Collapse file tree 11 files changed +50
-36
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,6 @@ schemas:
13
13
repository :
14
14
type : git
15
15
url : https://github.com/zowe/api-layer.git
16
- build :
17
- branch : " {{build.branch}}"
18
- number : " {{build.number}}"
19
- commitHash : " {{build.commitHash}}"
20
- timestamp : " {{build.timestamp}}"
21
16
commands :
22
17
start : bin/start.sh
23
18
validate : bin/validate.sh
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ task packageCommonLib(type: Zip) {
24
24
25
25
into(' /' ) {
26
26
from " $resourceDir /manifest.yaml"
27
+ from " ../schemas/apiml-common-lib-schema.json"
27
28
}
28
29
29
30
into(' bin/' ) {
Original file line number Diff line number Diff line change @@ -11,8 +11,5 @@ license: EPL-2.0
11
11
repository :
12
12
type : git
13
13
url : https://github.com/zowe/api-layer.git
14
- build :
15
- branch : " {{build.branch}}"
16
- number : " {{build.number}}"
17
- commitHash : " {{build.commitHash}}"
18
- timestamp : " {{build.timestamp}}"
14
+ schemas :
15
+ configs : " apiml-common-lib-schema.json"
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ task packageSampleExtension(type: Zip) {
28
28
29
29
into(' /' ) {
30
30
from " $resourceDir /manifest.yaml"
31
+ from " ../schemas/apiml-sample-extension-schema.json"
31
32
}
32
33
33
34
into(' bin/' ) {
Original file line number Diff line number Diff line change @@ -11,13 +11,9 @@ license: EPL-2.0
11
11
repository :
12
12
type : git
13
13
url : https://github.com/zowe/api-layer.git
14
- build :
15
- branch : " {{build.branch}}"
16
- number : " {{build.number}}"
17
- commitHash : " {{build.commitHash}}"
18
- timestamp : " {{build.timestamp}}"
19
14
# The following block contains all the extensions directory path
20
15
# (or file path) that will be included in the API ML
21
16
gatewaySharedLibs :
22
17
- bin/apiml-sample-extension.jar
23
-
18
+ schemas :
19
+ configs : " apiml-sample-extension-schema.json"
Original file line number Diff line number Diff line change @@ -13,11 +13,6 @@ schemas:
13
13
repository :
14
14
type : git
15
15
url : https://github.com/zowe/api-layer.git
16
- build :
17
- branch : " {{build.branch}}"
18
- number : " {{build.number}}"
19
- commitHash : " {{build.commitHash}}"
20
- timestamp : " {{build.timestamp}}"
21
16
commands :
22
17
start : bin/start.sh
23
18
validate : bin/validate.sh
Original file line number Diff line number Diff line change @@ -13,11 +13,6 @@ schemas:
13
13
repository :
14
14
type : git
15
15
url : https://github.com/zowe/api-layer.git
16
- build :
17
- branch : " {{build.branch}}"
18
- number : " {{build.number}}"
19
- commitHash : " {{build.commitHash}}"
20
- timestamp : " {{build.timestamp}}"
21
16
commands :
22
17
start : bin/start.sh
23
18
validate : bin/validate.sh
Original file line number Diff line number Diff line change @@ -13,11 +13,6 @@ schemas:
13
13
repository :
14
14
type : git
15
15
url : https://github.com/zowe/api-layer.git
16
- build :
17
- branch : " {{build.branch}}"
18
- number : " {{build.number}}"
19
- commitHash : " {{build.commitHash}}"
20
- timestamp : " {{build.timestamp}}"
21
16
commands :
22
17
start : bin/start.sh
23
18
validate : bin/validate.sh
Original file line number Diff line number Diff line change @@ -13,11 +13,6 @@ schemas:
13
13
repository :
14
14
type : git
15
15
url : https://github.com/zowe/api-layer.git
16
- build :
17
- branch : " {{build.branch}}"
18
- number : " {{build.number}}"
19
- commitHash : " {{build.commitHash}}"
20
- timestamp : " {{build.timestamp}}"
21
16
commands :
22
17
start : bin/start.sh
23
18
validate : bin/validate.sh
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " https://json-schema.org/draft/2019-09/schema" ,
3
+ "$id" : " https://zowe.org/schemas/v2/apiml-common-lib" ,
4
+ "allOf" : [
5
+ { "$ref" : " https://zowe.org/schemas/v2/server-base" },
6
+ {
7
+ "type" : " object" ,
8
+ "properties" : {
9
+ "components" : {
10
+ "type" : " object" ,
11
+ "additionalProperties" : true ,
12
+ "properties" : {
13
+ "apiml-common-lib" : {
14
+ "$ref" : " https://zowe.org/schemas/v2/server-base#zoweComponent"
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
20
+ ]
21
+ }
22
+
You can’t perform that action at this time.
0 commit comments