All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.syndesis.connector.slack.json Maven / Gradle / Ivy

{
  "actions": [
    {
      "actionType": "connector",
      "description": "Send a message to specific Slack user.",
      "descriptor": {
        "configuredProperties": {},
        "connectorCustomizers": [
          "io.syndesis.connector.slack.SlackChannelCustomizer"
        ],
        "inputDataShape": {
          "kind": "java",
          "name": "Message",
          "type": "io.syndesis.connector.slack.SlackPlainMessage"
        },
        "outputDataShape": {
          "kind": "none"
        },
        "propertyDefinitionSteps": [
          {
            "description": "Send a message to a specific Slack user.",
            "name": "User Name",
            "properties": {
              "receiver": {
                "deprecated": false,
                "displayName": "Username",
                "group": "common",
                "javaType": "java.lang.String",
                "kind": "parameter",
                "labelHint": "The name of the Slack user to send the message to.",
                "required": true,
                "secret": false,
                "type": "string"
              }
            }
          }
        ]
      },
      "id": "io.syndesis:slack-username-connector",
      "name": "User Name",
      "pattern": "To"
    },
    {
      "actionType": "connector",
      "description": "Send a message to a specific Slack channel.",
      "descriptor": {
        "configuredProperties": {},
        "connectorCustomizers": [
          "io.syndesis.connector.slack.SlackChannelCustomizer"
        ],
        "inputDataShape": {
          "kind": "java",
          "name": "Message",
          "type": "io.syndesis.connector.slack.SlackPlainMessage"
        },
        "outputDataShape": {
          "kind": "none"
        },
        "propertyDefinitionSteps": [
          {
            "description": "Send a message to a specific Slack channel.",
            "name": "Channel",
            "properties": {
              "channel": {
                "deprecated": false,
                "displayName": "Channel",
                "group": "common",
                "javaType": "java.lang.String",
                "kind": "parameter",
                "labelHint": "The name of the Slack channel to send the message to.",
                "required": true,
                "secret": false,
                "type": "string"
              }
            }
          }
        ]
      },
      "id": "io.syndesis:slack-channel-connector",
      "name": "Channel",
      "pattern": "To",
      "tags": [
        "dynamic"
      ]
    },
    {
      "actionType": "connector",
      "description": "Read Messages from a specific channel",
      "descriptor": {
        "configuredProperties": {},
        "inputDataShape": {
          "kind": "none"
        },
        "outputDataShape": {
          "kind": "java",
          "name": "Message",
          "type": "org.apache.camel.component.slack.helper.SlackMessage"
        },
        "propertyDefinitionSteps": [
          {
            "description": "Consume messages from a specific channel",
            "name": "Channel",
            "properties": {
              "channel": {
                "deprecated": false,
                "displayName": "Channel",
                "group": "common",
                "javaType": "java.lang.String",
                "kind": "parameter",
                "labelHint": "The channel from where you want to consume",
                "order": "1",
                "required": true,
                "secret": false,
                "type": "string"
              },
              "delay": {
                "defaultValue": 500,
                "deprecated": false,
                "displayName": "Delay",
                "group": "scheduler",
                "javaType": "long",
                "kind": "parameter",
                "label": "consumer,scheduler",
                "labelHint": "Milliseconds before the next poll. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).",
                "optionalPrefix": "consumer.",
                "order": "2",
                "required": false,
                "secret": false,
                "type": "duration"
              },
              "maxResults": {
                "defaultValue": "10",
                "deprecated": false,
                "displayName": "Maximum Messages to Retrieve",
                "group": "consumer",
                "javaType": "java.lang.String",
                "kind": "parameter",
                "label": "consumer",
                "labelHint": "Gets the maximum number of messages as a limit to poll at each polling. Is default unlimited but use 0 or negative number to disable it as unlimited.",
                "order": "3",
                "required": false,
                "secret": false,
                "type": "string"
              }
            }
          }
        ]
      },
      "id": "io.syndesis:slack-channel-consumer-connector",
      "name": "Read Messages",
      "pattern": "From",
      "tags": [
        "dynamic"
      ]
    }
  ],
  "componentScheme": "slack",
  "configuredProperties": {},
  "dependencies": [
    {
      "id": "@project.groupId@:@project.artifactId@:@project.version@",
      "type": "MAVEN"
    }
  ],
  "description": "Obtain and send messages.",
  "icon": "assets:slack.svg",
  "id": "slack",
  "name": "Slack",
  "properties": {
    "iconEmoji": {
      "deprecated": false,
      "displayName": "Message Avatar Emoji",
      "group": "common",
      "javaType": "java.lang.String",
      "kind": "parameter",
      "labelHint": "The Slack emoji that will be used for the message avatar.",
      "order": "4",
      "required": false,
      "secret": false,
      "type": "string"
    },
    "iconUrl": {
      "deprecated": false,
      "displayName": "Message Avatar Icon URL",
      "group": "common",
      "javaType": "java.lang.String",
      "kind": "parameter",
      "labelHint": "The avatar that the connection will use when sending messages to a channel or user.",
      "order": "5",
      "required": false,
      "secret": false,
      "type": "string"
    },
    "token": {
      "deprecated": false,
      "displayName": "Token for Accessing Slack API",
      "group": "consumer",
      "javaType": "java.lang.String",
      "kind": "parameter",
      "labelHint": "The token to use for obtaining messages from a Slack channel.",
      "order": "2",
      "raw": true,
      "required": true,
      "secret": true,
      "type": "string"
    },
    "username": {
      "deprecated": false,
      "displayName": "Sending User Name for Messages",
      "group": "common",
      "javaType": "java.lang.String",
      "kind": "parameter",
      "labelHint": "The user name that the bot will have when sending messages to a channel or user.",
      "order": "3",
      "required": false,
      "secret": false,
      "type": "string"
    },
    "webhookUrl": {
      "deprecated": false,
      "displayName": "Slack Webhook URL",
      "group": "common",
      "javaType": "java.lang.String",
      "kind": "parameter",
      "labelHint": "The webhook URL to send messages to.",
      "order": "1",
      "raw": true,
      "required": true,
      "secret": true,
      "type": "string"
    }
  },
  "tags": [
    "verifier"
  ]
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy