This repository was archived by the owner on Jun 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Add connection interface schema + types #6
Open
GuillaumeFalourd
wants to merge
10
commits into
main
Choose a base branch
from
schema/connection-interface
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
c98af03
add connection interface schema
GuillaumeFalourd 90fcfb2
Update aws-ecs-conn.yaml
GuillaumeFalourd 72f2850
Update aws-rds-conn.yaml
GuillaumeFalourd ec76efc
Update aws-rds-conn.yaml
GuillaumeFalourd ffd92a5
Update aws-rds-conn.yaml
GuillaumeFalourd bb083d2
Update connection-interface-schema.json
GuillaumeFalourd 24a2b85
Update connection-interface-schema.json
GuillaumeFalourd 2f29045
update schema
GuillaumeFalourd b3f8350
resolve conflicts
GuillaumeFalourd 763b9ee
update schema
GuillaumeFalourd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,62 @@ | ||
| { | ||
| "$schema": "http://json-schema.org/draft-04/schema#", | ||
| "type": "object", | ||
| "properties": { | ||
| "schema-version": { | ||
| "type": "string" | ||
| }, | ||
| "kind": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "connection-interface" | ||
| ] | ||
| }, | ||
| "metadata": { | ||
| "type": "object", | ||
| "properties": { | ||
| "name": { | ||
| "type": "object", | ||
| "properties": { | ||
| "type": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "aws-ecs-conn", | ||
| "aws-rds-conn" | ||
| ] | ||
| } | ||
| } | ||
| }, | ||
| "description": { | ||
| "type": "string" | ||
| }, | ||
| "version": { | ||
| "type": "string", | ||
| "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$" | ||
| } | ||
| }, | ||
| "required": [ | ||
| "name", | ||
| "description", | ||
| "version" | ||
| ] | ||
| }, | ||
| "spec": { | ||
| "outputs": { | ||
| "type": "array", | ||
| "items": { | ||
| "type": { | ||
| "type": "string", | ||
| "enum": [ | ||
| "boolean", | ||
| "secret", | ||
| "objecy", | ||
| "array", | ||
| "number", | ||
| "string" | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or 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,24 @@ | ||
| schemaVersion: v1 | ||
| kind: connection-interface | ||
| metadata: | ||
| name: aws-ecs-conn | ||
| description: Connection Interface for AWS ECS | ||
| version: 1.0.0 | ||
| spec: | ||
| outputs: | ||
| autoscaling_capacity_providers: | ||
| type: array | ||
| items: | ||
| autoscaling_capacity_provider: | ||
| type: string | ||
| cluster_arn: | ||
| type: secret | ||
| cluster_capacity_providers: | ||
| type: array | ||
| items: | ||
| cluster_capacity_provider: | ||
| type: string | ||
| cluster_id: | ||
| type: secret | ||
| cluster_name: | ||
| type: string |
This file contains hidden or 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,22 @@ | ||
| schemaVersion: v1 | ||
| kind: connection-interface | ||
| metadata: | ||
| name: aws-rds-conn | ||
| description: Connection Interface for AWS RDS | ||
| version: 1.0.0 | ||
| spec: | ||
| outputs: | ||
| type: | ||
| type: string | ||
| name: | ||
| type: string | ||
| host: | ||
| type: string | ||
| port: | ||
| type: string | ||
| user: | ||
| type: string | ||
| pass: | ||
| type: secret | ||
| policy: | ||
| type: secret |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.