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 7 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,61 @@ | ||
{ | ||
"$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": "string", | ||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$" | ||
}, | ||
"display-name": { | ||
"type": "string" | ||
}, | ||
"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-]+)*))?$" | ||
}, | ||
"picture": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"name", | ||
"description", | ||
"version" | ||
] | ||
}, | ||
"spec": { | ||
"outputs": { | ||
"type": "array", | ||
"items": { | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"null", | ||
"boolean", | ||
"secret", | ||
"object", | ||
"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,27 @@ | ||
schemaVersion: v1 | ||
kind: connection-interface | ||
metadata: | ||
name: AWS ECS CONNECTION INTERFACE | ||
description: Connection Interface for AWS ECS | ||
display-name: aws-ecs-connection-interface | ||
version: 1.0.0 | ||
picture: connection.png | ||
spec: | ||
type: aws-ecs-conn | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. O Type seria um enum fixo? |
||
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,25 @@ | ||
schemaVersion: v1 | ||
kind: connection-interface | ||
metadata: | ||
name: AWS RDS CONNECTION INTERFACE | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Acho q o name e o display name estão invertidos. O name no caso tb acaba fazendo um papel de slug, caso seja necessário o usuário final referenciar escrevendo. |
||
description: Connection Interface for AWS RDS | ||
display-name: aws-rds-connection-interface | ||
version: 1.0.0 | ||
picture: connection.png | ||
spec: | ||
type: aws-rds-conn | ||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
o q seria um type do tipo null?