Skip to content

Commit

Permalink
OIC-60323: Remove system ada sche (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
paullanoracle authored Aug 8, 2024
1 parent a5807b7 commit 0df06f1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 124 deletions.
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

0 comments on commit 0df06f1

Please sign in to comment.