Skip to content
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

OIC-60323: Remove system ada sche #53

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 0 additions & 73 deletions schemas/connection_v01.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
],
"minLength": 6,
"maxLength": 256
},
"connectionInstance": {
"$ref": "#/definitions/ConnectionInstance"
}
},
"required": [
Expand Down Expand Up @@ -2907,76 +2904,6 @@
"additionalProperties": false
},
"additionalItems": false
},
"ConnectionInstance": {
"title": "Connection Instance",
"description": "Pre-defined connection instance for system adapter.",
"type": "object",
"required": [
"id",
"policy"
],
"properties": {
"id": {
"title": "Adapter ID",
"description": "The 'id' field identifies the adapter universally. The 'id' MUST have a namespace prefix separated from an identifier with a colon. The format is '<publisher_namespace>:<adapter_id>'.",
"type": "string",
"pattern": "^[A-Z][A-Z0-9_]{10,32}$"
},
"policy": {
"description": "policy points to the name of the pre-defined managed security policy being used. policy should not be used in case of nonManaged security policies.",
"type": "string",
"enum": [
"OCI_SERVICE_INVOCATION",
"OCI_SIGNATURE_VERSION1",
"NONE",
"OAUTH2.0_CLIENT_CREDENTIALS",
"OAUTH_CLIENT_CREDENTIALS"
]
},
"instanceProperties": {
"type": "object",
"patternProperties": {
"^[a-zA-Z][a-zA-Z0-9\\-_]{0,100}$": {
"type": "string",
"maxLength": 1000
}
}
},
"attachments": {
"type": "array",
"minItems": 0,
"maxItems": 10,
"uniqueItems": true,
"items": {
"type": "object",
"required": [
"attachmentName",
"propertyName",
"content"
],
"properties": {
"attachmentName": {
"type": "string",
"description":"attachment name.",
"maxLength": 100
},
"propertyName": {
"type": "string",
"description":"property name.",
"maxLength": 100
},
"content": {
"type": "string",
"description":"attachment content.",
"maxLength": 10000
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
}
}
5 changes: 0 additions & 5 deletions schemas/info_v01.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@
"1.0"
]
},
"systemAdapter": {
"type": "boolean",
"title": "System Adapter",
"description": "This setting allows the adapter runs as a system adapter."
},
"categories": {
"title": "Categories",
"description": "The categories that applies to the adapter's capabilities, typically associated with the third party system for which the adapter provides integration functionality.",
Expand Down
46 changes: 0 additions & 46 deletions schemas/mainADD_v01.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,52 +75,6 @@
}
}
}
},
{
"$comment": "connection instance is required for system connection.",
"if": {
"required": [ "info" ],
"properties": {
"info": {
"required": [ "systemAdapter" ],
"properties": {
"systemAdapter": {
"const": true
}
}
}
}
},
"then": {
"properties": {
"connection": {
"required": [ "connectionInstance" ]
}
}
}
},
{
"$comment": "connection instance should not present for non system connection.",
"if": {
"properties": {
"info": {
"properties": {
"systemAdapter": {
"const": false
}
}
}
}
},
"then": {
"not": {
"properties": {
"connection": {
"required": [ "connectionInstance" ]
}
}
}
}
}
],
"definitions": {
Expand Down
Loading