-
Notifications
You must be signed in to change notification settings - Fork 11
[FEATURE] Add specVersion 3.1 and builder resource excludes for modules #639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
d47f869
cdde9cd
9e1e665
20b6781
5711ce7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,13 +6,13 @@ | |
| "required": ["specVersion", "type", "metadata"], | ||
| "if": { | ||
| "properties": { | ||
| "specVersion": { "enum": ["3.0"] } | ||
| "specVersion": { "enum": ["3.1"] } | ||
| } | ||
| }, | ||
| "then": { | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "specVersion": { "enum": ["3.0"] }, | ||
| "specVersion": { "enum": ["3.1"] }, | ||
| "kind": { | ||
| "enum": ["project", null] | ||
| }, | ||
|
|
@@ -26,7 +26,7 @@ | |
| "$ref": "#/definitions/resources" | ||
| }, | ||
| "builder": { | ||
| "$ref": "#/definitions/builder-specVersion-2.5" | ||
| "$ref": "#/definitions/builder-specVersion-3.1" | ||
| }, | ||
| "server": { | ||
| "$ref": "../project.json#/definitions/server" | ||
|
|
@@ -40,21 +40,21 @@ | |
| "else": { | ||
| "if": { | ||
| "properties": { | ||
| "specVersion": { "enum": ["2.5", "2.6"] } | ||
| "specVersion": { "enum": ["3.0"] } | ||
| } | ||
| }, | ||
| "then": { | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "specVersion": { "enum": ["2.5", "2.6"] }, | ||
| "specVersion": { "enum": ["3.0"] }, | ||
| "kind": { | ||
| "enum": ["project", null] | ||
| }, | ||
| "type": { | ||
| "enum": ["module"] | ||
| }, | ||
| "metadata": { | ||
| "$ref": "../project.json#/definitions/metadata" | ||
| "$ref": "../project.json#/definitions/metadata-3.0" | ||
| }, | ||
| "resources": { | ||
| "$ref": "#/definitions/resources" | ||
|
|
@@ -74,13 +74,13 @@ | |
| "else": { | ||
| "if": { | ||
| "properties": { | ||
| "specVersion": { "enum": ["2.1", "2.2", "2.3", "2.4"] } | ||
| "specVersion": { "enum": ["2.5", "2.6"] } | ||
| } | ||
| }, | ||
| "then": { | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "specVersion": { "enum": ["2.1", "2.2", "2.3", "2.4"] }, | ||
| "specVersion": { "enum": ["2.5", "2.6"] }, | ||
| "kind": { | ||
| "enum": ["project", null] | ||
| }, | ||
|
|
@@ -93,27 +93,62 @@ | |
| "resources": { | ||
| "$ref": "#/definitions/resources" | ||
| }, | ||
| "builder": { | ||
| "$ref": "#/definitions/builder-specVersion-2.5" | ||
| }, | ||
| "server": { | ||
| "$ref": "../project.json#/definitions/server" | ||
| }, | ||
| "customConfiguration": { | ||
| "type": "object", | ||
| "additionalProperties": true | ||
| } | ||
| } | ||
| }, | ||
| "else": { | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "specVersion": { "enum": ["2.0"] }, | ||
| "kind": { | ||
| "enum": ["project", null] | ||
| }, | ||
| "type": { | ||
| "enum": ["module"] | ||
| }, | ||
| "metadata": { | ||
| "$ref": "../project.json#/definitions/metadata" | ||
| }, | ||
| "resources": { | ||
| "$ref": "#/definitions/resources" | ||
| "if": { | ||
| "properties": { | ||
| "specVersion": { "enum": ["2.1", "2.2", "2.3", "2.4"] } | ||
| } | ||
| }, | ||
| "then": { | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "specVersion": { "enum": ["2.1", "2.2", "2.3", "2.4"] }, | ||
| "kind": { | ||
| "enum": ["project", null] | ||
| }, | ||
| "type": { | ||
| "enum": ["module"] | ||
| }, | ||
| "metadata": { | ||
| "$ref": "../project.json#/definitions/metadata" | ||
| }, | ||
| "resources": { | ||
| "$ref": "#/definitions/resources" | ||
| }, | ||
| "customConfiguration": { | ||
| "type": "object", | ||
| "additionalProperties": true | ||
| } | ||
| } | ||
| }, | ||
| "else": { | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "specVersion": { "enum": ["2.0"] }, | ||
| "kind": { | ||
| "enum": ["project", null] | ||
| }, | ||
| "type": { | ||
| "enum": ["module"] | ||
| }, | ||
| "metadata": { | ||
| "$ref": "../project.json#/definitions/metadata" | ||
| }, | ||
| "resources": { | ||
| "$ref": "#/definitions/resources" | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
@@ -149,6 +184,18 @@ | |
| "$ref": "../project.json#/definitions/builder-settings" | ||
| } | ||
| } | ||
| }, | ||
| "builder-specVersion-3.1": { | ||
| "type": "object", | ||
| "additionalProperties": false, | ||
| "properties": { | ||
| "resources": { | ||
| "$ref": "../project.json#/definitions/builder-resources" | ||
| }, | ||
| "settings": { | ||
| "$ref": "../project.json#/definitions/builder-settings" | ||
| } | ||
|
Comment on lines
+195
to
+197
Member
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. I think this also makes sense to add, but we never talked about it, right?
Member
Author
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.
Member
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. Thanks. I missed that. |
||
| } | ||
| } | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.