Skip to content

Instantly share code, notes, and snippets.

@lukasriegel
Created July 31, 2018 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukasriegel/219075ae68fc001231c9a28b06ae9aca to your computer and use it in GitHub Desktop.
Save lukasriegel/219075ae68fc001231c9a28b06ae9aca to your computer and use it in GitHub Desktop.

Password: PCo_IoT_MQTT

<pco:configuration xmlns:pco="uri:sap-pco-config">
<pco:checksum>e69dc8830c5526a071264ecdd524e66c</pco:checksum>
<pco:version>15.2V</pco:version>
<pco:exportDate>2018-07-31T10:23:25</pco:exportDate>
<pco:build>15.2.1.3491</pco:build>
<pco:protection>
<pco:property>
<pco:name>protection</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>true</pco:isSecure>
<pco:value>BtcgtNr4OcCYxAhUkoSpG/yZz1LHijE+jL/hMWfcxwOaF3co6CSgr0o4rXQWlQSSubf1qfWELYg=</pco:value>
</pco:property>
</pco:protection>
<pco:modules>
<pco:module>
<pco:name>SAP_CP_IoT_MQTT</pco:name>
<pco:id>183fe60f-962d-4216-b7bd-acaa02eecee4</pco:id>
<pco:description></pco:description>
<pco:assemblyName>MqttAgent</pco:assemblyName>
<pco:aspects>
<pco:aspect>
<pco:name>mqttClient</pco:name>
<pco:properties>
<pco:property>
<pco:name>clientId</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>CLIENT_ID</pco:value>
</pco:property>
<pco:property>
<pco:name>serverUri</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>mqtts://HOST.eu10.cp.iot.sap</pco:value>
</pco:property>
<pco:property>
<pco:name>willTopic</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
</pco:property>
<pco:property>
<pco:name>willMessage</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
</pco:property>
<pco:property>
<pco:name>willQoS</pco:name>
<pco:type>System.Int32</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>0</pco:value>
</pco:property>
<pco:property>
<pco:name>willRetain</pco:name>
<pco:type>System.Boolean</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>false</pco:value>
</pco:property>
<pco:property>
<pco:name>responseTimeout</pco:name>
<pco:type>System.Int32</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>10000</pco:value>
</pco:property>
<pco:property>
<pco:name>keepAliveInterval</pco:name>
<pco:type>System.Int32</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>0</pco:value>
</pco:property>
<pco:property>
<pco:name>cleanSession</pco:name>
<pco:type>System.Boolean</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>true</pco:value>
</pco:property>
<pco:property>
<pco:name>userName</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
</pco:property>
<pco:property>
<pco:name>password</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>true</pco:isSecure>
<pco:value></pco:value>
</pco:property>
</pco:properties>
<pco:aspects>
<pco:aspect>
<pco:name>security</pco:name>
<pco:properties>
<pco:property>
<pco:name>storeType</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>FileSystem</pco:value>
</pco:property>
<pco:property>
<pco:name>trustedLocation</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>C:/ProgramData/SAP/PCo/CertificateStores/MQTT Applications</pco:value>
</pco:property>
<pco:property>
<pco:name>issuersLocation</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>C:/ProgramData/SAP/PCo/CertificateStores/TrustedIssuers</pco:value>
</pco:property>
<pco:property>
<pco:name>rejectedLocation</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>C:/ProgramData/SAP/PCo/CertificateStores/RejectedCertificates</pco:value>
</pco:property>
<pco:property>
<pco:name>certificateLocation</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>LocalMachine/My</pco:value>
</pco:property>
<pco:property>
<pco:name>certificateId</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>63055B6D028D015309B8A1F0A179BA48914647D9</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
</pco:aspects>
</pco:aspect>
</pco:aspects>
</pco:module>
</pco:modules>
<pco:destinationChannels>
<pco:destinationChannel>
<pco:name>SAP_CP_IoT_MQTT</pco:name>
<pco:id>adfd62b2-b5fe-4041-8a15-3b139521bf3f</pco:id>
<pco:description></pco:description>
<pco:assemblyName>MqttDestination</pco:assemblyName>
<pco:isMonitored>false</pco:isMonitored>
<pco:modules>
<pco:module>SAP_CP_IoT_MQTT</pco:module>
</pco:modules>
<pco:aspects>
<pco:aspect>
<pco:name>mqttConfiguration</pco:name>
<pco:properties>
<pco:property>
<pco:name>topicName</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>measures/CLIENT_ID</pco:value>
</pco:property>
<pco:property>
<pco:name>topicQoS</pco:name>
<pco:type>System.Int32</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>0</pco:value>
</pco:property>
<pco:property>
<pco:name>template</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
</pco:property>
<pco:property>
<pco:name>payloadType</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>Json</pco:value>
</pco:property>
</pco:properties>
<pco:aspects>
<pco:aspect>
<pco:name>mappings</pco:name>
<pco:aspects>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>path</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>capabilityAlternateId</pco:value>
</pco:property>
<pco:property>
<pco:name>type</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>string</pco:value>
</pco:property>
<pco:property>
<pco:name>value</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>capabilityAlternateId</pco:value>
</pco:property>
<pco:property>
<pco:name>isVariable</pco:name>
<pco:type>System.Boolean</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>true</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>path</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>sensorAlternateId</pco:value>
</pco:property>
<pco:property>
<pco:name>type</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>string</pco:value>
</pco:property>
<pco:property>
<pco:name>value</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>sensorAlternateId</pco:value>
</pco:property>
<pco:property>
<pco:name>isVariable</pco:name>
<pco:type>System.Boolean</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>true</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>path</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>measures[0].Temperature</pco:value>
</pco:property>
<pco:property>
<pco:name>type</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>string</pco:value>
</pco:property>
<pco:property>
<pco:name>value</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>temperature</pco:value>
</pco:property>
<pco:property>
<pco:name>isVariable</pco:name>
<pco:type>System.Boolean</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>true</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>path</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>measures[0].Light</pco:value>
</pco:property>
<pco:property>
<pco:name>type</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>string</pco:value>
</pco:property>
<pco:property>
<pco:name>value</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>light</pco:value>
</pco:property>
<pco:property>
<pco:name>isVariable</pco:name>
<pco:type>System.Boolean</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>true</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>path</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>measures[0].Humidity</pco:value>
</pco:property>
<pco:property>
<pco:name>type</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>string</pco:value>
</pco:property>
<pco:property>
<pco:name>value</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>humidity</pco:value>
</pco:property>
<pco:property>
<pco:name>isVariable</pco:name>
<pco:type>System.Boolean</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>true</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
</pco:aspects>
</pco:aspect>
</pco:aspects>
</pco:aspect>
</pco:aspects>
</pco:destinationChannel>
<pco:destinationChannel>
<pco:name>SAP_CP_IoT_MQTT_Testing</pco:name>
<pco:id>f898d07f-bd51-4455-905c-824e195b2483</pco:id>
<pco:description></pco:description>
<pco:assemblyName>MultipleCallDestination</pco:assemblyName>
<pco:isMonitored>false</pco:isMonitored>
<pco:aspects>
<pco:aspect>
<pco:name>configuration</pco:name>
<pco:aspects>
<pco:aspect>
<pco:name>variables</pco:name>
<pco:aspects>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>name</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>capabilityAlternateId</pco:value>
</pco:property>
<pco:property>
<pco:name>type</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>Temporary</pco:value>
</pco:property>
<pco:property>
<pco:name>dataType</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>System.String</pco:value>
</pco:property>
<pco:property>
<pco:name>calculation</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>"CAPABILITY_ALTERNATE_ID"</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>name</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>sensorAlternateId</pco:value>
</pco:property>
<pco:property>
<pco:name>type</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>Temporary</pco:value>
</pco:property>
<pco:property>
<pco:name>dataType</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>System.String</pco:value>
</pco:property>
<pco:property>
<pco:name>calculation</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>"SENSOR_ALTERNATE_ID"</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>name</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>temperature</pco:value>
</pco:property>
<pco:property>
<pco:name>type</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>Temporary</pco:value>
</pco:property>
<pco:property>
<pco:name>dataType</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>System.String</pco:value>
</pco:property>
<pco:property>
<pco:name>calculation</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>"3"</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>name</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>light</pco:value>
</pco:property>
<pco:property>
<pco:name>type</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>Temporary</pco:value>
</pco:property>
<pco:property>
<pco:name>dataType</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>System.String</pco:value>
</pco:property>
<pco:property>
<pco:name>calculation</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>"2"</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>name</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>humidity</pco:value>
</pco:property>
<pco:property>
<pco:name>type</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>Temporary</pco:value>
</pco:property>
<pco:property>
<pco:name>dataType</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>System.String</pco:value>
</pco:property>
<pco:property>
<pco:name>calculation</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>"1"</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
</pco:aspects>
</pco:aspect>
<pco:aspect>
<pco:name>destinationCalls</pco:name>
<pco:aspects>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>sequence</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>10</pco:value>
</pco:property>
<pco:property>
<pco:name>destinationSystemId</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>adfd62b2-b5fe-4041-8a15-3b139521bf3f</pco:value>
</pco:property>
<pco:property>
<pco:name>id</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>c31b38dc-1804-45b6-b51e-583d74462de9</pco:value>
</pco:property>
<pco:property>
<pco:name>description</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value></pco:value>
</pco:property>
<pco:property>
<pco:name>jumpTarget</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value></pco:value>
</pco:property>
<pco:property>
<pco:name>suspendAndResume</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>False</pco:value>
</pco:property>
<pco:property>
<pco:name>branchingCondition</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value></pco:value>
</pco:property>
<pco:property>
<pco:name>branchingConditionAfterResume</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value></pco:value>
</pco:property>
<pco:property>
<pco:name>exceptionHandlingEnabled</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>False</pco:value>
</pco:property>
<pco:property>
<pco:name>exceptionHandlingConfiguration</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value></pco:value>
</pco:property>
</pco:properties>
<pco:aspects>
<pco:aspect>
<pco:name>variableAssignments</pco:name>
<pco:aspects>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>destinationSystemVariableName</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>capabilityAlternateId</pco:value>
</pco:property>
<pco:property>
<pco:name>name</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>capabilityAlternateId</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>destinationSystemVariableName</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>sensorAlternateId</pco:value>
</pco:property>
<pco:property>
<pco:name>name</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>sensorAlternateId</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>destinationSystemVariableName</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>temperature</pco:value>
</pco:property>
<pco:property>
<pco:name>name</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>temperature</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>destinationSystemVariableName</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>light</pco:value>
</pco:property>
<pco:property>
<pco:name>name</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>light</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
<pco:aspect>
<pco:name></pco:name>
<pco:properties>
<pco:property>
<pco:name>destinationSystemVariableName</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>humidity</pco:value>
</pco:property>
<pco:property>
<pco:name>name</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>humidity</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
</pco:aspects>
</pco:aspect>
<pco:aspect>
<pco:name>resumeVariables</pco:name>
</pco:aspect>
</pco:aspects>
</pco:aspect>
</pco:aspects>
</pco:aspect>
<pco:aspect>
<pco:name>generalSettings</pco:name>
<pco:properties>
<pco:property>
<pco:name>logLevel</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>Verbose</pco:value>
</pco:property>
<pco:property>
<pco:name>resumeHandlePersistent</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>False</pco:value>
</pco:property>
<pco:property>
<pco:name>multiThreadAccess</pco:name>
<pco:type>System.String</pco:type>
<pco:isSecure>false</pco:isSecure>
<pco:value>False</pco:value>
</pco:property>
</pco:properties>
</pco:aspect>
</pco:aspects>
</pco:aspect>
</pco:aspects>
</pco:destinationChannel>
</pco:destinationChannels>
<pco:sourceChannels>
<pco:sourceChannel>
<pco:name>SAP_CP_IoT_MQTT</pco:name>
<pco:id>06740e55-4a57-4b48-9ab5-9600eda9f61f</pco:id>
<pco:description></pco:description>
<pco:assemblyName>MqttAgent</pco:assemblyName>
<pco:modules>
<pco:module>SAP_CP_IoT_MQTT</pco:module>
</pco:modules>
<pco:maxRetryThreadCount>0</pco:maxRetryThreadCount>
<pco:maxThreadCount>0</pco:maxThreadCount>
<pco:reliability>
<pco:maxRetryAttempts>3</pco:maxRetryAttempts>
<pco:retryInterval>30</pco:retryInterval>
</pco:reliability>
<pco:aspects>
<pco:aspect>
<pco:name>subscriptions</pco:name>
</pco:aspect>
</pco:aspects>
</pco:sourceChannel>
</pco:sourceChannels>
</pco:configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment