-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
111 additions
and
97 deletions.
There are no files selected for viewing
97 changes: 0 additions & 97 deletions
97
...a/machine-annotation-service/0.3.0/schema/machine-annotation-service-request-wrapper.json
This file was deleted.
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
36 changes: 36 additions & 0 deletions
36
...-type/machine-annotation-service/0.3.0/schema/machine-annotation-service-environment.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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"$id": "https://schemas.dissco.tech/schemas/developer-schema/machine-annotation-service/0.3.0/machine-annotation-service-environment.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$comment": "Machine Annotation Service Environment Version 0.3.0", | ||
"title": "MachineAnnotationServiceEnvironment", | ||
"type": "object", | ||
"description": "Environmental variables to supply to the MAS, non-sensitive", | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"description": "The name of a non-sensitive property or environmental variable", | ||
"examples": [ | ||
"server.port", | ||
"spring.profiles.active" | ||
] | ||
}, | ||
"value": { | ||
"type": [ | ||
"string", | ||
"integer", | ||
"boolean", | ||
"null" | ||
], | ||
"description": "Value to be stored in the \"name\" field. NOT for sensitive information.", | ||
"examples": [ | ||
8080, | ||
"web-profile" | ||
] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"name", | ||
"value" | ||
] | ||
} |
49 changes: 49 additions & 0 deletions
49
...l/fdo-type/machine-annotation-service/0.3.0/schema/machine-annotation-service-secret.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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"$id": "https://schemas.dissco.tech/schemas/developer-schema/machine-annotation-service/0.3.0/machine-annotation-service-secret.json", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$comment": "Machine Annotation Service Environment Version 0.3.0", | ||
"title": "MachineAnnotationServiceSecret", | ||
"type": "object", | ||
"description": "Remote secrets to supply to the MAS", | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"description": "The name of an environmental variable stored remotely", | ||
"examples": [ | ||
"database.password", | ||
"keycloak.secret" | ||
] | ||
}, | ||
"secretKeyRef": { | ||
"type": "object", | ||
"description": "Key-value pair of a remote secret.", | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"description": "Name of the secret store within DiSSCo", | ||
"examples": [ | ||
"aws-secrets", | ||
"db-secrets" | ||
] | ||
}, | ||
"key": { | ||
"type": "string", | ||
"description": "The name of the key stored in the above secret store. NOT the key's value.", | ||
"example": [ | ||
"db-password" | ||
] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"name", | ||
"key" | ||
] | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"name", | ||
"secretKeyRef" | ||
] | ||
} |
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