template element
| Type: | templateDTO |
| Namespace: | (default namespace) |
| XML Schema: | ns0.xsd |
Defines a template.
Example XML
<?xml version="1.0" encoding="UTF-8"?>
<template>
<id>...</id>
<uri>...</uri>
<name>...</name>
<description>...</description>
<timestamp>...</timestamp>
<snippet>
<connections>
<id>...</id>
<parentGroupId>...</parentGroupId>
<uri>...</uri>
<position>
<x>...</x>
<y>...</y>
</position>
<source>
<id>...</id>
<type>...</type>
<groupId>...</groupId>
<name>...</name>
<exists>...</exists>
<transmitting>...</transmitting>
<comments>...</comments>
</source>
<destination>
<id>...</id>
<type>...</type>
<groupId>...</groupId>
<name>...</name>
<exists>...</exists>
<transmitting>...</transmitting>
<comments>...</comments>
</destination>
<name>...</name>
<bends>
<x>...</x>
<y>...</y>
</bends>
<bends>
<!--...-->
</bends>
<!--...more "bends" elements...-->
<labelIndex>...</labelIndex>
<zIndex>...</zIndex>
<selectedRelationships>...</selectedRelationships>
<selectedRelationships>...</selectedRelationships>
<!--...more "selectedRelationships" elements...-->
<availableRelationships>...</availableRelationships>
<availableRelationships>...</availableRelationships>
<!--...more "availableRelationships" elements...-->
<backPressureObjectThreshold>...</backPressureObjectThreshold>
<backPressureDataSizeThreshold>...</backPressureDataSizeThreshold>
<flowFileExpiration>...</flowFileExpiration>
<prioritizers>...</prioritizers>
<prioritizers>...</prioritizers>
<!--...more "prioritizers" elements...-->
</connections>
<connections>
<!--...-->
</connections>
<!--...more "connections" elements...-->
<inputPorts>
<id>...</id>
<parentGroupId>...</parentGroupId>
<uri>...</uri>
<position>
<x>...</x>
<y>...</y>
</position>
<name>...</name>
<state>...</state>
<type>...</type>
<concurrentlySchedulableTaskCount>...</concurrentlySchedulableTaskCount>
<comments>...</comments>
<groupAccessControl>...</groupAccessControl>
<groupAccessControl>...</groupAccessControl>
<!--...more "groupAccessControl" elements...-->
<userAccessControl>...</userAccessControl>
<userAccessControl>...</userAccessControl>
<!--...more "userAccessControl" elements...-->
<validationErrors>...</validationErrors>
<validationErrors>...</validationErrors>
<!--...more "validationErrors" elements...-->
</inputPorts>
<inputPorts>
<!--...-->
</inputPorts>
<!--...more "inputPorts" elements...-->
<labels>
<id>...</id>
<parentGroupId>...</parentGroupId>
<uri>...</uri>
<position>
<x>...</x>
<y>...</y>
</position>
<label>...</label>
<style>
<entry>
<key>...</key>
<value>...</value>
</entry>
<entry>
<key>
<!--(another 'string' type)-->
</key>
<value>
<!--(another 'string' type)-->
</value>
</entry>
<!--...more entries...-->
</style>
<height>...</height>
<width>...</width>
</labels>
<labels>
<!--...-->
</labels>
<!--...more "labels" elements...-->
<funnels>
<id>...</id>
<parentGroupId>...</parentGroupId>
<uri>...</uri>
<position>
<x>...</x>
<y>...</y>
</position>
</funnels>
<funnels>
<!--...-->
</funnels>
<!--...more "funnels" elements...-->
<outputPorts>
<id>...</id>
<parentGroupId>...</parentGroupId>
<uri>...</uri>
<position>
<x>...</x>
<y>...</y>
</position>
<name>...</name>
<state>...</state>
<type>...</type>
<concurrentlySchedulableTaskCount>...</concurrentlySchedulableTaskCount>
<comments>...</comments>
<groupAccessControl>...</groupAccessControl>
<groupAccessControl>...</groupAccessControl>
<!--...more "groupAccessControl" elements...-->
<userAccessControl>...</userAccessControl>
<userAccessControl>...</userAccessControl>
<!--...more "userAccessControl" elements...-->
<validationErrors>...</validationErrors>
<validationErrors>...</validationErrors>
<!--...more "validationErrors" elements...-->
</outputPorts>
<outputPorts>
<!--...-->
</outputPorts>
<!--...more "outputPorts" elements...-->
<processGroups>
<id>...</id>
<parentGroupId>...</parentGroupId>
<uri>...</uri>
<position>
<x>...</x>
<y>...</y>
</position>
<name>...</name>
<parent>
<!--...-->
</parent>
<comments>...</comments>
<contents>
<!--...-->
</contents>
<inputPortCount>...</inputPortCount>
<invalidCount>...</invalidCount>
<outputPortCount>...</outputPortCount>
<runningCount>...</runningCount>
<stoppedCount>...</stoppedCount>
<disabledCount>...</disabledCount>
<activeRemotePortCount>...</activeRemotePortCount>
<inactiveRemotePortCount>...</inactiveRemotePortCount>
</processGroups>
<processGroups>
<!--...-->
</processGroups>
<!--...more "processGroups" elements...-->
<processors>
<id>...</id>
<parentGroupId>...</parentGroupId>
<uri>...</uri>
<position>
<x>...</x>
<y>...</y>
</position>
<name>...</name>
<type>...</type>
<state>...</state>
<style>
<entry>
<key>...</key>
<value>...</value>
</entry>
<entry>
<key>
<!--(another 'string' type)-->
</key>
<value>
<!--(another 'string' type)-->
</value>
</entry>
<!--...more entries...-->
</style>
<supportsParallelProcessing>...</supportsParallelProcessing>
<supportsEventDriven>...</supportsEventDriven>
<relationships>
<name>...</name>
<description>...</description>
</relationships>
<relationships>
<!--...-->
</relationships>
<!--...more "relationships" elements...-->
<config>
<schedulingPeriod>...</schedulingPeriod>
<schedulingStrategy>...</schedulingStrategy>
<penaltyDuration>...</penaltyDuration>
<yieldDuration>...</yieldDuration>
<bulletinLevel>...</bulletinLevel>
<concurrentlySchedulableTaskCount>...</concurrentlySchedulableTaskCount>
<comments>...</comments>
<properties>
<entry>
<key>...</key>
<value>...</value>
</entry>
<entry>
<key>
<!--(another 'string' type)-->
</key>
<value>
<!--(another 'string' type)-->
</value>
</entry>
<!--...more entries...-->
</properties>
<descriptors>
<entry>
<key>...</key>
<value>
<allowableValues>
<displayName>...</displayName>
<value>...</value>
<description>...</description>
</allowableValues>
<allowableValues>
<!--...-->
</allowableValues>
<!--...more "allowableValues" elements...-->
<defaultValue>...</defaultValue>
<description>...</description>
<name>...</name>
<displayName>...</displayName>
<required>...</required>
<sensitive>...</sensitive>
<dynamic>...</dynamic>
<supportsEl>...</supportsEl>
</value>
</entry>
<entry>
<key>
<!--(another 'string' type)-->
</key>
<value>
<!--(another 'propertyDescriptor' type)-->
</value>
</entry>
<!--...more entries...-->
</descriptors>
<annotationData>...</annotationData>
<customUiUrl>...</customUiUrl>
<autoTerminatedRelationships>...</autoTerminatedRelationships>
<autoTerminatedRelationships>...</autoTerminatedRelationships>
<!--...more "autoTerminatedRelationships" elements...-->
<defaultConcurrentTasks>
<entry>
<key>...</key>
<value>...</value>
</entry>
<entry>
<key>
<!--(another 'string' type)-->
</key>
<value>
<!--(another 'string' type)-->
</value>
</entry>
<!--...more entries...-->
</defaultConcurrentTasks>
<runDurationMillis>...</runDurationMillis>
<defaultSchedulingPeriod>
<entry>
<key>...</key>
<value>...</value>
</entry>
<entry>
<key>
<!--(another 'string' type)-->
</key>
<value>
<!--(another 'string' type)-->
</value>
</entry>
<!--...more entries...-->
</defaultSchedulingPeriod>
</config>
<validationErrors>...</validationErrors>
<validationErrors>...</validationErrors>
<!--...more "validationErrors" elements...-->
<description>...</description>
</processors>
<processors>
<!--...-->
</processors>
<!--...more "processors" elements...-->
<remoteProcessGroups>
<id>...</id>
<parentGroupId>...</parentGroupId>
<uri>...</uri>
<position>
<x>...</x>
<y>...</y>
</position>
<targetUri>...</targetUri>
<name>...</name>
<comments>...</comments>
<authorizationIssues>...</authorizationIssues>
<authorizationIssues>...</authorizationIssues>
<!--...more "authorizationIssues" elements...-->
<communicationsTimeout>...</communicationsTimeout>
<yieldDuration>...</yieldDuration>
<activeRemoteInputPortCount>...</activeRemoteInputPortCount>
<inactiveRemoteInputPortCount>...</inactiveRemoteInputPortCount>
<activeRemoteOutputPortCount>...</activeRemoteOutputPortCount>
<inactiveRemoteOutputPortCount>...</inactiveRemoteOutputPortCount>
<inputPortCount>...</inputPortCount>
<outputPortCount>...</outputPortCount>
<contents>
<inputPorts>
<comments>...</comments>
<concurrentlySchedulableTaskCount>...</concurrentlySchedulableTaskCount>
<id>...</id>
<groupId>...</groupId>
<name>...</name>
<useCompression>...</useCompression>
<exists>...</exists>
</inputPorts>
<inputPorts>
<!--...-->
</inputPorts>
<!--...more "inputPorts" elements...-->
<outputPorts>
<comments>...</comments>
<concurrentlySchedulableTaskCount>...</concurrentlySchedulableTaskCount>
<id>...</id>
<groupId>...</groupId>
<name>...</name>
<useCompression>...</useCompression>
<exists>...</exists>
</outputPorts>
<outputPorts>
<!--...-->
</outputPorts>
<!--...more "outputPorts" elements...-->
</contents>
<flowRefreshed>...</flowRefreshed>
</remoteProcessGroups>
<remoteProcessGroups>
<!--...-->
</remoteProcessGroups>
<!--...more "remoteProcessGroups" elements...-->
</snippet>
</template>
Example JSON
{
"id" : "...",
"uri" : "...",
"name" : "...",
"description" : "...",
"timestamp" : "...",
"snippet" : {
"connections" : [ {
"source" : {
"id" : "...",
"type" : "...",
"groupId" : "...",
"name" : "...",
"exists" : false,
"transmitting" : false,
"comments" : "..."
},
"destination" : {
"id" : "...",
"type" : "...",
"groupId" : "...",
"name" : "...",
"exists" : false,
"transmitting" : false,
"comments" : "..."
},
"name" : "...",
"bends" : [ {
"x" : ...,
"y" : ...
}, ... ],
"labelIndex" : ...,
"zIndex" : ...,
"selectedRelationships" : [ "...", ... ],
"availableRelationships" : [ "...", ... ],
"backPressureObjectThreshold" : ...,
"backPressureDataSizeThreshold" : "...",
"flowFileExpiration" : "...",
"prioritizers" : [ "...", ... ],
"id" : "...",
"parentGroupId" : "...",
"uri" : "...",
"position" : {
"x" : ...,
"y" : ...
}
}, ... ],
"inputPorts" : [ {
"name" : "...",
"state" : "...",
"type" : "...",
"concurrentlySchedulableTaskCount" : ...,
"comments" : "...",
"groupAccessControl" : [ "...", ... ],
"userAccessControl" : [ "...", ... ],
"validationErrors" : [ "...", ... ],
"id" : "...",
"parentGroupId" : "...",
"uri" : "...",
"position" : {
"x" : ...,
"y" : ...
}
}, ... ],
"labels" : [ {
"label" : "...",
"style" : {
"..." : "...",
"---" : ...
},
"height" : ...,
"width" : ...,
"id" : "...",
"parentGroupId" : "...",
"uri" : "...",
"position" : {
"x" : ...,
"y" : ...
}
}, ... ],
"funnels" : [ {
"id" : "...",
"parentGroupId" : "...",
"uri" : "...",
"position" : {
"x" : ...,
"y" : ...
}
}, ... ],
"outputPorts" : [ {
"name" : "...",
"state" : "...",
"type" : "...",
"concurrentlySchedulableTaskCount" : ...,
"comments" : "...",
"groupAccessControl" : [ "...", ... ],
"userAccessControl" : [ "...", ... ],
"validationErrors" : [ "...", ... ],
"id" : "...",
"parentGroupId" : "...",
"uri" : "...",
"position" : {
"x" : ...,
"y" : ...
}
}, ... ],
"processGroups" : [ {
"name" : "...",
"parent" : {
"..." : ...,
"id" : "...",
"parentGroupId" : "...",
"uri" : "...",
"position" : {
"x" : ...,
"y" : ...
}
},
"comments" : "...",
"contents" : {
"..." : ...
},
"inputPortCount" : ...,
"invalidCount" : ...,
"outputPortCount" : ...,
"runningCount" : ...,
"stoppedCount" : ...,
"disabledCount" : ...,
"activeRemotePortCount" : ...,
"inactiveRemotePortCount" : ...,
"id" : "...",
"parentGroupId" : "...",
"uri" : "...",
"position" : {
"x" : ...,
"y" : ...
}
}, ... ],
"processors" : [ {
"name" : "...",
"type" : "...",
"state" : "...",
"style" : {
"..." : "...",
"---" : ...
},
"supportsParallelProcessing" : false,
"supportsEventDriven" : false,
"relationships" : [ {
"name" : "...",
"description" : "..."
}, ... ],
"config" : {
"schedulingPeriod" : "...",
"schedulingStrategy" : "...",
"penaltyDuration" : "...",
"yieldDuration" : "...",
"bulletinLevel" : "...",
"concurrentlySchedulableTaskCount" : ...,
"comments" : "...",
"properties" : {
"..." : "...",
"---" : ...
},
"descriptors" : {
"..." : {
"allowableValues" : [ {
"displayName" : "...",
"value" : "...",
"description" : "..."
}, ... ],
"defaultValue" : "...",
"description" : "...",
"name" : "...",
"displayName" : "...",
"required" : false,
"sensitive" : false,
"dynamic" : false,
"supportsEl" : false
},
"---" : ...
},
"annotationData" : "...",
"customUiUrl" : "...",
"autoTerminatedRelationships" : [ "...", ... ],
"defaultConcurrentTasks" : {
"..." : "...",
"---" : ...
},
"runDurationMillis" : ...,
"defaultSchedulingPeriod" : {
"..." : "...",
"---" : ...
}
},
"validationErrors" : [ "...", ... ],
"description" : "...",
"id" : "...",
"parentGroupId" : "...",
"uri" : "...",
"position" : {
"x" : ...,
"y" : ...
}
}, ... ],
"remoteProcessGroups" : [ {
"targetUri" : "...",
"name" : "...",
"comments" : "...",
"authorizationIssues" : [ "...", ... ],
"communicationsTimeout" : "...",
"yieldDuration" : "...",
"activeRemoteInputPortCount" : ...,
"inactiveRemoteInputPortCount" : ...,
"activeRemoteOutputPortCount" : ...,
"inactiveRemoteOutputPortCount" : ...,
"inputPortCount" : ...,
"outputPortCount" : ...,
"contents" : {
"inputPorts" : [ {
"comments" : "...",
"concurrentlySchedulableTaskCount" : ...,
"id" : "...",
"groupId" : "...",
"name" : "...",
"useCompression" : false,
"exists" : false
}, ... ],
"outputPorts" : [ {
"comments" : "...",
"concurrentlySchedulableTaskCount" : ...,
"id" : "...",
"groupId" : "...",
"name" : "...",
"useCompression" : false,
"exists" : false
}, ... ]
},
"flowRefreshed" : "...",
"id" : "...",
"parentGroupId" : "...",
"uri" : "...",
"position" : {
"x" : ...,
"y" : ...
}
}, ... ]
}
}