generated from finos-labs/project-blueprint
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into renovate/lodash-4.x-lockfile
- Loading branch information
Showing
18 changed files
with
16,046 additions
and
180 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# The Architecture as Code Specification | ||
# Common Architecture Language Model | ||
|
||
The Architecture as Code Specification (AasC) is a specification for defining system architectures in a machine and human-readable format. | ||
The Common Architecture Language Model (CALM) is a specification for defining system architectures in a machine and human-readable format. | ||
|
||
The intention of the AasC Specification is to enable a common language for describing system architectures, and to enable tooling to support the creation, validation, and visualization of architectures. | ||
The intention of CALM is to enable a common language for describing system architectures, and to enable tooling to support the creation, validation, and visualization of architectures. | ||
|
||
The AasC specification is considered to be a work in progress, and is currently in the early stages of development. The specification is currently being developed by the [Architecture as Code Community](https://devops.finos.org/docs/working-groups/aasc/). | ||
CALM is considered to be a work in progress, and is currently in the early stages of development. The specification is currently being developed by the [Architecture as Code Community](https://devops.finos.org/docs/working-groups/aasc/). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 54 additions & 28 deletions
82
calm/samples/api-gateway-implementation.json → calm/samples/api-gateway-instantiation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,117 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/pattern/api-gateway.json", | ||
"nodes": [ | ||
{ | ||
"well-known-endpoint": "https://identity-provider.com/.well-known/openid-configuration", | ||
"unique-id": "api-gateway", | ||
"node-type": "system", | ||
"name": "API Gateway", | ||
"description": "The API Gateway used to verify authorization and access to downstream system", | ||
"node-type": "system", | ||
"unique-id": "api-gateway", | ||
"interfaces": [ | ||
{ | ||
"unique-id": "api-gateway-ingress", | ||
"host": "https://api-gateway-ingress.example.com", | ||
"port": 443 | ||
"host": "mygateway.com", | ||
"port": 6000 | ||
} | ||
] | ||
], | ||
"well-known-endpoint": "/api" | ||
}, | ||
{ | ||
"unique-id": "api-consumer", | ||
"node-type": "system", | ||
"name": "Python Based API Consumer", | ||
"description": "The API Consumer making an authenticated and authorized request" | ||
"name": "API Consumer", | ||
"description": "The API Consumer making an authenticated and authorized request", | ||
"interfaces": [] | ||
}, | ||
{ | ||
"unique-id": "api-producer", | ||
"node-type": "system", | ||
"name": "API Producer", | ||
"description": "The API Producer serving content", | ||
"interfaces": [ | ||
{ | ||
"unique-id": "producer-ingress", | ||
"host": "https://api-producer.example.com", | ||
"port": 443 | ||
"host": "producer.com", | ||
"port": 3000 | ||
} | ||
], | ||
"node-type": "system", | ||
"name": "Java Based API Producer", | ||
"description": "The API Producer serving content", | ||
"unique-id": "api-producer" | ||
] | ||
}, | ||
{ | ||
"unique-id": "idp", | ||
"node-type": "system", | ||
"name": "Identity Provider", | ||
"description": "The Identity Provider used to verify the bearer token" | ||
"description": "The Identity Provider used to verify the bearer token", | ||
"interfaces": [] | ||
} | ||
], | ||
"relationships": [ | ||
{ | ||
"unique-id": "api-consumer-api-gateway", | ||
"description": "Issue calculation request", | ||
"relationship-type": { | ||
"connects": { | ||
"source": { | ||
"node": "api-consumer" | ||
}, | ||
"destination": { | ||
"node": "api-gateway", | ||
"interfaces": [ | ||
"api-gateway-ingress" | ||
] | ||
}, | ||
"source": { | ||
"node": "api-consumer" | ||
} | ||
} | ||
} | ||
}, | ||
"protocol": "HTTPS", | ||
"authentication": "OAuth2" | ||
}, | ||
{ | ||
"unique-id": "api-gateway-idp", | ||
"description": "Validate bearer token", | ||
"relationship-type": { | ||
"connects": { | ||
"destination": { | ||
"node": "idp" | ||
}, | ||
"source": { | ||
"node": "api-gateway" | ||
}, | ||
"destination": { | ||
"node": "idp" | ||
} | ||
} | ||
} | ||
}, | ||
"protocol": "HTTPS", | ||
"authentication": "OAuth2" | ||
}, | ||
{ | ||
"unique-id": "api-gateway-api-producer", | ||
"description": "Forward request", | ||
"relationship-type": { | ||
"connects": { | ||
"source": { | ||
"node": "api-gateway" | ||
}, | ||
"destination": { | ||
"node": "api-producer", | ||
"interfaces": [ | ||
"producer-ingress" | ||
] | ||
}, | ||
} | ||
} | ||
}, | ||
"protocol": "HTTPS", | ||
"authentication": "OAuth2" | ||
}, | ||
{ | ||
"unique-id": "api-consumer-idp", | ||
"description": "Acquire a bearer token", | ||
"relationship-type": { | ||
"connects": { | ||
"source": { | ||
"node": "api-gateway" | ||
"node": "api-consumer" | ||
}, | ||
"destination": { | ||
"node": "idp" | ||
} | ||
} | ||
} | ||
}, | ||
"protocol": "HTTPS", | ||
"authentication": "OAuth2" | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.