Skip to content

Commit

Permalink
Merge pull request #1347 from ChinthakaJ98/inbuilt-inbound
Browse files Browse the repository at this point in the history
Updating UI schemas of the inbuilt inbound-endpoints
  • Loading branch information
ChinthakaJ98 authored Aug 6, 2024
2 parents 5173ce6 + 9f22553 commit 753bfaa
Show file tree
Hide file tree
Showing 25 changed files with 3,716 additions and 12 deletions.
Binary file modified SamplesForVSCode/InbuiltInboundEndpoints/cxf-ws-rm.zip
Binary file not shown.
Binary file modified SamplesForVSCode/InbuiltInboundEndpoints/feed.zip
Binary file not shown.
Binary file modified SamplesForVSCode/InbuiltInboundEndpoints/file.zip
Binary file not shown.
Binary file modified SamplesForVSCode/InbuiltInboundEndpoints/hl7.zip
Binary file not shown.
Binary file modified SamplesForVSCode/InbuiltInboundEndpoints/http.zip
Binary file not shown.
Binary file modified SamplesForVSCode/InbuiltInboundEndpoints/https.zip
Binary file not shown.
Binary file modified SamplesForVSCode/InbuiltInboundEndpoints/jms.zip
Binary file not shown.
Binary file modified SamplesForVSCode/InbuiltInboundEndpoints/mqtt.zip
Binary file not shown.
Binary file modified SamplesForVSCode/InbuiltInboundEndpoints/rabbitmq.zip
Binary file not shown.
144 changes: 144 additions & 0 deletions SamplesForVSCode/InbuiltInboundEndpoints/ui-schema/cxf-ws-rm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
{
"name": "CXF WS-RM",
"type": "inbuilt-inbound-endpoint",
"title": "CXF WS-RM Inbound Endpoint",
"id": "org.wso2.carbon.inbound.endpoint.ext.wsrm.InboundRMHttpListener",
"elements": [
{
"type": "attributeGroup",
"value": {
"groupName": "Generic",
"isCollapsed": false,
"elements": [
{
"type": "attribute",
"value": {
"name": "name",
"displayName": "Inbound Endpoint Name",
"inputType": "string",
"required": "true"
}
},
{
"type": "attribute",
"value": {
"name": "sequence",
"displayName": "Injecting Sequence Name",
"inputType": "string",
"required": "true"
}
},
{
"type": "attribute",
"value": {
"name": "onError",
"displayName": "Error Sequence Name",
"inputType": "string",
"required": "true"
}
},
{
"type": "attribute",
"value": {
"name": "suspend",
"displayName": "Suspend Inbound",
"inputType": "checkbox",
"defaultValue": false,
"hidden": "true",
"required": "false"
}
},
{
"type": "attribute",
"value": {
"name": "class",
"displayName": "Class",
"inputType": "string",
"defaultValue": "org.wso2.carbon.inbound.endpoint.ext.wsrm.InboundRMHttpListener",
"hidden": "true",
"required": "true"
}
}
]
}
},
{
"type": "attributeGroup",
"value": {
"groupName": "Basic",
"isCollapsed": false,
"elements": [
{
"type": "attribute",
"value": {
"name": "inbound.cxf.rm.host",
"displayName": "Host",
"inputType": "string",
"defaultValue": "",
"required": "false"
}
},
{
"type": "attribute",
"value": {
"name": "inbound.cxf.rm.port",
"displayName": "Port",
"inputType": "string",
"defaultValue": "",
"required": "false"
}
},
{
"type": "attribute",
"value": {
"name": "sequential",
"displayName": "Sequential",
"inputType": "checkbox",
"defaultValue": true,
"required": "false"
}
},
{
"type": "attribute",
"value": {
"name": "coordination",
"displayName": "Coordination",
"inputType": "checkbox",
"defaultValue": true,
"required": "false"
}
}
]
}
},
{
"type": "attributeGroup",
"value": {
"groupName": "Advanced",
"isCollapsed": true,
"elements": [
{
"type": "attribute",
"value": {
"name": "inbound.cxf.rm.config-file",
"displayName": "Config File",
"inputType": "string",
"defaultValue": "",
"required": "false"
}
},
{
"type": "attribute",
"value": {
"name": "enableSSL",
"displayName": "Enable SSL",
"inputType": "checkbox",
"defaultValue": false,
"required": "false"
}
}
]
}
}
]
}
129 changes: 129 additions & 0 deletions SamplesForVSCode/InbuiltInboundEndpoints/ui-schema/feed.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
{
"name": "Feed",
"type": "inbuilt-inbound-endpoint",
"title": "Feed Inbound Endpoint",
"id": "feed",
"elements": [
{
"type": "attributeGroup",
"value": {
"groupName": "Generic",
"isCollapsed": false,
"elements": [
{
"type": "attribute",
"value": {
"name": "name",
"displayName": "Inbound Endpoint Name",
"inputType": "string",
"required": "true"
}
},
{
"type": "attribute",
"value": {
"name": "sequence",
"displayName": "Injecting Sequence Name",
"inputType": "string",
"required": "true"
}
},
{
"type": "attribute",
"value": {
"name": "onError",
"displayName": "Error Sequence Name",
"inputType": "string",
"required": "true"
}
},
{
"type": "attribute",
"value": {
"name": "suspend",
"displayName": "Suspend Inbound",
"inputType": "checkbox",
"defaultValue": false,
"hidden": "true",
"required": "false"
}
},
{
"type": "attribute",
"value": {
"name": "protocol",
"displayName": "Protocol",
"inputType": "string",
"defaultValue": "feed",
"hidden": "true",
"required": "true"
}
}
]
}
},
{
"type": "attributeGroup",
"value": {
"groupName": "Basic",
"isCollapsed": false,
"elements": [
{
"type": "attribute",
"value": {
"name": "interval",
"displayName": "Interval",
"inputType": "string",
"defaultValue": "1000",
"required": "true"
}
},
{
"type": "attribute",
"value": {
"name": "feed.url",
"displayName": "URL",
"inputType": "string",
"defaultValue": "",
"required": "false"
}
},
{
"type": "attribute",
"value": {
"name": "feed.type",
"displayName": "Type",
"inputType": "combo",
"comboValues": [
"RSS",
"Atom"
],
"defaultValue": "",
"required": "false"
}
},
{
"type": "attribute",
"value": {
"name": "sequential",
"displayName": "Sequential",
"inputType": "checkbox",
"defaultValue": true,
"required": "false"
}
},
{
"type": "attribute",
"value": {
"name": "coordination",
"displayName": "Coordination",
"inputType": "checkbox",
"defaultValue": true,
"required": "false"
}
}
]
}
}
]
}
Loading

0 comments on commit 753bfaa

Please sign in to comment.