Skip to content

Commit dbac71d

Browse files
Merge branch 'main' into logo
2 parents 014bb21 + 87f5b64 commit dbac71d

48 files changed

Lines changed: 910 additions & 1421 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

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/jest.config.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

cli/package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@finos/calm-cli",
3-
"version": "0.6.0",
3+
"version": "0.6.2",
44
"description": "A set of tools for interacting with the Common Architecture Language Model (CALM)",
55
"main": "dist/index.js",
66
"files": [
@@ -12,9 +12,9 @@
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/",
16-
"copy-docify-templates": "copyfiles \"../shared/src/docify/template-bundles/**/*\" dist --up 4",
17-
"test": "jest",
15+
"copy-calm-schema": "copyfiles \"../calm/draft/2025-03/meta/*\" dist/calm/",
16+
"copy-docify-templates": "copyfiles \"../shared/dist/template-bundles/**/*\" dist --up 3",
17+
"test": "vitest run",
1818
"lint": "eslint src",
1919
"lint-fix": "eslint src --fix",
2020
"dependency-check": "dependency-check --project 'calm-cli' --scan . --out ./dependency-check-report --format ALL --suppression ../.github/node-cve-ignore-list.xml"
@@ -32,7 +32,9 @@
3232
"commander": "^13.0.0",
3333
"copyfiles": "^2.4.1",
3434
"mkdirp": "^3.0.1",
35-
"express-rate-limit": "^7.5.0"
35+
"express-rate-limit": "^7.5.0",
36+
"@apidevtools/json-schema-ref-parser": "^11.9.3",
37+
"ts-node": "10.9.2"
3638
},
3739
"devDependencies": {
3840
"@types/supertest": "^6.0.2",
@@ -54,10 +56,10 @@
5456
"supertest": "^7.0.0",
5557
"link": "^2.1.1",
5658
"ts-jest": "^29.2.5",
57-
"ts-node": "10.9.2",
5859
"tsup": "^8.0.0",
5960
"typescript": "^5.4.3",
6061
"xml2js": "^0.6.2"
62+
6163
},
6264
"overrides": {
6365
"esbuild": "^0.25.0"

0 commit comments

Comments
 (0)