Skip to content

Commit 6d4976f

Browse files
committed
fix(cli): fix test pattern to consistent use a single schema version
1 parent b263f3f commit 6d4976f

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

cli/test_fixtures/api-gateway/api-gateway.json

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"minItems": 4,
1010
"prefixItems": [
1111
{
12-
"$ref": "https://calm.finos.org/release/1.0-rc2/meta/core.json#/defs/node",
12+
"$ref": "https://calm.finos.org/release/1.2/meta/core.json#/defs/node",
1313
"properties": {
1414
"well-known-endpoint": {
1515
"type": "string"
@@ -47,7 +47,7 @@
4747
]
4848
},
4949
{
50-
"$ref": "https://calm.finos.org/release/1.0-rc2/meta/core.json#/defs/node",
50+
"$ref": "https://calm.finos.org/release/1.2/meta/core.json#/defs/node",
5151
"properties": {
5252
"description": {
5353
"const": "The API Consumer making an authenticated and authorized request"
@@ -64,7 +64,7 @@
6464
}
6565
},
6666
{
67-
"$ref": "https://calm.finos.org/release/1.0-rc2/meta/core.json#/defs/node",
67+
"$ref": "https://calm.finos.org/release/1.2/meta/core.json#/defs/node",
6868
"properties": {
6969
"description": {
7070
"const": "The API Producer serving content"
@@ -83,12 +83,22 @@
8383
"minItems": 1,
8484
"prefixItems": [
8585
{
86-
"$ref": "https://calm.finos.org/release/1.0-rc1/meta/interface.json#/defs/host-port-interface",
86+
"$ref": "https://calm.finos.org/release/1.2/meta/interface.json#/defs/interface-type",
8787
"properties": {
8888
"unique-id": {
8989
"const": "producer-ingress"
90+
},
91+
"host": {
92+
"type": "string"
93+
},
94+
"port": {
95+
"type": "integer"
9096
}
91-
}
97+
},
98+
"required": [
99+
"host",
100+
"port"
101+
]
92102
}
93103
]
94104
}
@@ -98,7 +108,7 @@
98108
]
99109
},
100110
{
101-
"$ref": "https://calm.finos.org/release/1.0-rc2/meta/core.json#/defs/node",
111+
"$ref": "https://calm.finos.org/release/1.2/meta/core.json#/defs/node",
102112
"properties": {
103113
"description": {
104114
"const": "The Identity Provider used to verify the bearer token"
@@ -121,7 +131,7 @@
121131
"minItems": 4,
122132
"prefixItems": [
123133
{
124-
"$ref": "https://calm.finos.org/release/1.0-rc2/meta/core.json#/defs/relationship",
134+
"$ref": "https://calm.finos.org/release/1.2/meta/core.json#/defs/relationship",
125135
"properties": {
126136
"unique-id": {
127137
"const": "api-consumer-api-gateway"
@@ -154,7 +164,7 @@
154164
}
155165
},
156166
{
157-
"$ref": "https://calm.finos.org/release/1.0-rc2/meta/core.json#/defs/relationship",
167+
"$ref": "https://calm.finos.org/release/1.2/meta/core.json#/defs/relationship",
158168
"properties": {
159169
"unique-id": {
160170
"const": "api-gateway-idp"
@@ -180,7 +190,7 @@
180190
}
181191
},
182192
{
183-
"$ref": "https://calm.finos.org/release/1.0-rc2/meta/core.json#/defs/relationship",
193+
"$ref": "https://calm.finos.org/release/1.2/meta/core.json#/defs/relationship",
184194
"properties": {
185195
"unique-id": {
186196
"const": "api-gateway-api-producer"
@@ -209,7 +219,7 @@
209219
}
210220
},
211221
{
212-
"$ref": "https://calm.finos.org/release/1.0-rc2/meta/core.json#/defs/relationship",
222+
"$ref": "https://calm.finos.org/release/1.2/meta/core.json#/defs/relationship",
213223
"properties": {
214224
"unique-id": {
215225
"const": "api-consumer-idp"

0 commit comments

Comments
 (0)