Skip to content

Commit 39f1dbe

Browse files
Merge pull request #1086 from LeighFinegold/qcon
Ensure SchemaDirectory works with latest CALM draft
2 parents b88a9fb + fd445f2 commit 39f1dbe

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

calm/pattern/api-gateway.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://calm.finos.org/draft/2024-10/meta/calm.json",
2+
"$schema": "https://calm.finos.org/draft/2025-03/meta/calm.json",
33
"$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/pattern/api-gateway",
44
"title": "API Gateway Pattern",
55
"type": "object",
@@ -9,7 +9,7 @@
99
"minItems": 4,
1010
"prefixItems": [
1111
{
12-
"$ref": "https://calm.finos.org/draft/2024-10/meta/core.json#/defs/node",
12+
"$ref": "https://calm.finos.org/draft/2025-03/meta/core.json#/defs/node",
1313
"properties": {
1414
"well-known-endpoint": {
1515
"type": "string"
@@ -31,7 +31,7 @@
3131
"minItems": 1,
3232
"prefixItems": [
3333
{
34-
"$ref": "https://calm.finos.org/draft/2024-10/meta/interface.json#/defs/host-port-interface",
34+
"$ref": "https://calm.finos.org/draft/2025-03/meta/interface.json#/defs/host-port-interface",
3535
"properties": {
3636
"unique-id": {
3737
"const": "api-gateway-ingress"
@@ -47,7 +47,7 @@
4747
]
4848
},
4949
{
50-
"$ref": "https://calm.finos.org/draft/2024-10/meta/core.json#/defs/node",
50+
"$ref": "https://calm.finos.org/draft/2025-03/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/draft/2024-10/meta/core.json#/defs/node",
67+
"$ref": "https://calm.finos.org/draft/2025-03/meta/core.json#/defs/node",
6868
"properties": {
6969
"description": {
7070
"const": "The API Producer serving content"
@@ -83,7 +83,7 @@
8383
"minItems": 1,
8484
"prefixItems": [
8585
{
86-
"$ref": "https://calm.finos.org/draft/2024-10/meta/interface.json#/defs/host-port-interface",
86+
"$ref": "https://calm.finos.org/draft/2025-03/meta/interface.json#/defs/host-port-interface",
8787
"properties": {
8888
"unique-id": {
8989
"const": "producer-ingress"
@@ -98,7 +98,7 @@
9898
]
9999
},
100100
{
101-
"$ref": "https://calm.finos.org/draft/2024-10/meta/core.json#/defs/node",
101+
"$ref": "https://calm.finos.org/draft/2025-03/meta/core.json#/defs/node",
102102
"properties": {
103103
"description": {
104104
"const": "The Identity Provider used to verify the bearer token"
@@ -121,7 +121,7 @@
121121
"minItems": 4,
122122
"prefixItems": [
123123
{
124-
"$ref": "https://calm.finos.org/draft/2024-10/meta/core.json#/defs/relationship",
124+
"$ref": "https://calm.finos.org/draft/2025-03/meta/core.json#/defs/relationship",
125125
"properties": {
126126
"unique-id": {
127127
"const": "api-consumer-api-gateway"
@@ -154,7 +154,7 @@
154154
}
155155
},
156156
{
157-
"$ref": "https://calm.finos.org/draft/2024-10/meta/core.json#/defs/relationship",
157+
"$ref": "https://calm.finos.org/draft/2025-03/meta/core.json#/defs/relationship",
158158
"properties": {
159159
"unique-id": {
160160
"const": "api-gateway-idp"
@@ -180,7 +180,7 @@
180180
}
181181
},
182182
{
183-
"$ref": "https://calm.finos.org/draft/2024-10/meta/core.json#/defs/relationship",
183+
"$ref": "https://calm.finos.org/draft/2025-03/meta/core.json#/defs/relationship",
184184
"properties": {
185185
"unique-id": {
186186
"const": "api-gateway-api-producer"
@@ -209,7 +209,7 @@
209209
}
210210
},
211211
{
212-
"$ref": "https://calm.finos.org/draft/2024-10/meta/core.json#/defs/relationship",
212+
"$ref": "https://calm.finos.org/draft/2025-03/meta/core.json#/defs/relationship",
213213
"properties": {
214214
"unique-id": {
215215
"const": "api-consumer-idp"

cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scripts": {
1313
"build": "tsup && npm run copy-calm-schema && npm run copy-docify-templates",
1414
"watch": "node watch.mjs",
15-
"copy-calm-schema": "copyfiles \"../calm/draft/2024-10/meta/*\" dist/calm/",
15+
"copy-calm-schema": "copyfiles \"../calm/draft/2025-03/meta/*\" dist/calm/",
1616
"copy-docify-templates": "copyfiles \"../shared/dist/template-bundles/**/*\" dist --up 3",
1717
"test": "vitest run",
1818
"lint": "eslint src",

0 commit comments

Comments
 (0)