aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/example/dao/image-template.xml
blob: fe0af067155565b88709b7818f7a57ed93564ae1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
tosca_definitions_version: tosca_simple_yaml_1_0_0
topology_template:
  policies:
  - testPolicy:
      type: onap.policies.controlloop.Operational
      version: 1.0.0
      metadata:
        policy-id: testPolicy
      properties:
        controlLoop:
          controlLoopName: control loop
          version: 2.0.0
          trigger_policy: new1
          timeout: '30'
          abatement: 'true'
        policies:
        - id: new1
          recipe: Rebuild
          retry: '10'
          timeout: '20'
          actor: SO
          payload:
            requestParameters: '{"usePreload":true,"userParams":[]}'
            configurationParameters: '[{"ip-addr":"$.vf-module-topology.vf-module-parameters.param[10].value","oam-ip-addr":"$.vf-module-topology.vf-module-parameters.param[15].value","enabled":"$.vf-module-topology.vf-module-parameters.param[22].value"}]'
          success: new2
          failure: new2
          failure_timeout: new2
          failure_retries: new2
          failure_exception: 
<?xml version="1.0" encoding="utf-8"?><!-- created with bpmn-js / http://bpmn.io --><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
	width="1229" height="104" viewBox="44 134 1229 104" version="1.1">
	<defs>
		<marker viewBox="0 0 20 20" markerWidth="10" markerHeight="10"
			orient="auto" refX="11" refY="10" id="markerSj7j5bqgxx">
			<path d="M 1 5 L 11 10 L 1 15 Z"
				style="stroke-width: 1; stroke-linecap: round; stroke-dasharray: 10000, 1;"
				fill="#000000" />
		</marker>
		<marker viewBox="0 0 20 20" markerWidth="20" markerHeight="20"
			orient="auto" refX="6" refY="6" id="markerSj7j5bqgxz">
			<circle cx="6" cy="6" r="3.5"
				style="stroke-width: 1; stroke-linecap: round; stroke-dasharray: 10000, 1;"
				fill="#ffffff" stroke="#000000" />
		</marker>
		<marker viewBox="0 0 20 20" markerWidth="20" markerHeight="20"
			orient="auto" refX="8.5" refY="5" id="markerSj7j5bqgx11">
			<path d="m 1 5 l 0 -3 l 7 3 l -7 3 z"
				style="stroke-width: 1; stroke-linecap: butt; stroke-dasharray: 10000, 1;"
				fill="#ffffff" stroke="#000000" />
		</marker>
		<marker viewBox="0 0 20 20" markerWidth="10" markerHeight="10"
			orient="auto" refX="11" refY="10" id="markerSj7j5bqgx13">
			<path d="M 1 5 L 11 10 L 1 15"
				style="stroke-width: 1; stroke-linecap: round; stroke-dasharray: 10000, 1;"
				fill="#ffffff" stroke="#000000" />
		</marker>
		<marker viewBox="0 0 20 20" markerWidth="10" markerHeight="10"
			orient="auto" refX="-1" refY="10" id="markerSj7j5bqgx15">
			<path d="M 0 10 L 8 6 L 16 10 L 8 14 Z"
				style="stroke-width: 1; stroke-linecap: round; stroke-dasharray: 10000, 1;"
				fill="#ffffff" stroke="#000000" />
		</marker>
		<marker viewBox="0 0 20 20" markerWidth="10" markerHeight="10"
			orient="auto" refX="-5" refY="10" id="markerSj7j5bqgx17">
			<path d="M 1 4 L 5 16"
				style="stroke-width: 1; stroke-linecap: round; stroke-dasharray: 10000, 1;"
				fill="#000000" stroke="#000000" />
		</marker>
	</defs>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="StartEvent_1"
			transform="matrix(1,0,0,1,50,162)" style="display: block;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="48"
				height="48"></rect>
			<g class="djs-visual">
				<circle cx="18" cy="18" r="18" style="stroke-width: 2;"
					stroke="#000000" fill="#ffffff"></circle>
			</g>
			<rect x="0" y="0" width="36" height="36"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="StartEvent_1_label"
			transform="matrix(1,0,0,1,23,198)" style="display: none;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="102"
				height="32"></rect>
			<g class="djs-visual">
				<text style="font-family: Arial,sans-serif; font-size: 11px;"
					class=" djs-label">
					<tspan x="45" y="0"></tspan>
				</text>
			</g>
			<rect x="0" y="0" width="90" height="20"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="VesCollector_1s3sgbh"
			transform="matrix(1,0,0,1,552,140)" style="display: block;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="132"
				height="92"></rect>
			<g class="djs-visual">
				<rect x="0" y="0" width="120" height="80" rx="0" ry="0"
					style="stroke-width: 2;" stroke="#000000" fill="#ffffff"></rect>
				<polyline points="120,80 120,20 " style="stroke-width: 2;"
					fill="none" stroke="#000000"></polyline>
				<polyline points="20,0 20,80 " style="stroke-width: 2;"
					fill="none" stroke="#000000"></polyline>
				<text style="font-family: Arial,sans-serif; font-size: 12px;">
					<tspan x="5" y="14">V</tspan>
				</text>
				<text style="font-family: Arial,sans-serif; font-size: 12px;">
					<tspan x="5" y="26">E</tspan>
				</text>
				<text style="font-family: Arial,sans-serif; font-size: 12px;">
					<tspan x="5" y="38">S</tspan>
				</text>
				<text style="font-family: Arial,sans-serif; font-size: 12px;"
					class=" djs-label">
					<tspan x="25.5" y="43.5">VesCollector</tspan>
				</text>
			</g>
			<rect x="0" y="0" width="120" height="80"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="Holmes_1m8n1s9"
			transform="matrix(1,0,0,1,702,140)" style="display: block;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="132"
				height="92"></rect>
			<g class="djs-visual">
				<rect x="0" y="0" width="120" height="80" rx="0" ry="0"
					style="stroke-width: 2;" stroke="#000000" fill="#ffffff"></rect>
				<circle cx="15" cy="15" r="10" style="stroke-width: 1;"
					stroke="#000000" fill="#ffffff"></circle>
				<text style="font-family: Arial,sans-serif; font-size: 12px;">
					<tspan x="11" y="20">H</tspan>
				</text>
				<text style="font-family: Arial,sans-serif; font-size: 12px;"
					class=" djs-label">
					<tspan x="39" y="43.5">Holmes</tspan>
				</text>
			</g>
			<rect x="0" y="0" width="120" height="80"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="TCA_11n5nl9"
			transform="matrix(1,0,0,1,878,140)" style="display: block;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="132"
				height="92"></rect>
			<g class="djs-visual">
				<rect x="0" y="0" width="120" height="80" rx="0" ry="0"
					style="stroke-width: 2;" stroke="#000000" fill="#ffffff"></rect>
				<polyline points="0,60 120,60 " style="stroke-width: 2;"
					fill="none" stroke="#000000"></polyline>
				<text style="font-family: Arial,sans-serif; font-size: 12px;"
					class=" djs-label">
					<tspan x="48" y="43.5">TCA</tspan>
				</text>
			</g>
			<rect x="0" y="0" width="120" height="80"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="Policy_19c1hms"
			transform="matrix(1,0,0,1,1031,140)" style="display: block;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="132"
				height="92"></rect>
			<g class="djs-visual">
				<rect x="0" y="0" width="120" height="80" rx="0" ry="0"
					style="stroke-width: 2;" stroke="#000000" fill="#ffffff"></rect>
				<polyline points="0,40 60,0 " style="stroke-width: 2;"
					fill="none" stroke="#000000"></polyline>
				<text style="font-family: Arial,sans-serif; font-size: 12px;"
					class=" djs-label">
					<tspan x="43.5" y="43.5">Policy</tspan>
				</text>
			</g>
			<rect x="0" y="0" width="120" height="80"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="EndEvent_0z8t6ek"
			transform="matrix(1,0,0,1,1231,162)" style="display: block;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="48"
				height="48"></rect>
			<g class="djs-visual">
				<circle cx="18" cy="18" r="18" style="stroke-width: 4;"
					stroke="#000000" fill="#ffffff"></circle>
			</g>
			<rect x="0" y="0" width="36" height="36"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="EndEvent_0z8t6ek_label"
			transform="matrix(1,0,0,1,1204,198)" style="display: none;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="102"
				height="32"></rect>
			<g class="djs-visual">
				<text style="font-family: Arial,sans-serif; font-size: 11px;"
					class=" djs-label">
					<tspan x="45" y="0"></tspan>
				</text>
			</g>
			<rect x="0" y="0" width="90" height="20"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-connection" data-element-id="SequenceFlow_0mshiwd"
			style="display: block;">
			<rect fill="none" class="djs-outline" x="80" y="174" width="142"
				height="24"></rect>
			<g class="djs-visual">
				<path d="m  86,180L151,180 L151,192 L216,192 "
					style="stroke-width: 2; stroke-linejoin: round; marker-end: url(&quot;#markerSj7j5bqgxx&quot;);"
					fill="none" stroke="#000000"></path>
			</g>
			<polyline points="86,180 151,180 151,192 216,192 " style="stroke-opacity: 0; stroke-width: 15;"
				fill="none" stroke="#ffffff" class="djs-hit"></polyline>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="SequenceFlow_0mshiwd_label"
			transform="matrix(1,0,0,1,106,176)" style="display: none;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="102"
				height="32"></rect>
			<g class="djs-visual">
				<text style="font-family: Arial,sans-serif; font-size: 11px;"
					class=" djs-label">
					<tspan x="45" y="0"></tspan>
				</text>
			</g>
			<rect x="0" y="0" width="90" height="20"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-connection" data-element-id="SequenceFlow_0z37chw"
			style="display: block;">
			<rect fill="none" class="djs-outline" x="330" y="174" width="54"
				height="24"></rect>
			<g class="djs-visual">
				<path d="m  336,192L357,192 L357,180 L378,180 "
					style="stroke-width: 2; stroke-linejoin: round; marker-end: url(&quot;#markerSj7j5bqgxx&quot;);"
					fill="none" stroke="#000000"></path>
			</g>
			<polyline points="336,192 357,192 357,180 378,180 " style="stroke-opacity: 0; stroke-width: 15;"
				fill="none" stroke="#ffffff" class="djs-hit"></polyline>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="SequenceFlow_0z37chw_label"
			transform="matrix(1,0,0,1,312,176)" style="display: none;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="102"
				height="32"></rect>
			<g class="djs-visual">
				<text style="font-family: Arial,sans-serif; font-size: 11px;"
					class=" djs-label">
					<tspan x="45" y="0"></tspan>
				</text>
			</g>
			<rect x="0" y="0" width="90" height="20"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-connection" data-element-id="SequenceFlow_1io8zzg"
			style="display: block;">
			<rect fill="none" class="djs-outline" x="492" y="174" width="66"
				height="12"></rect>
			<g class="djs-visual">
				<path d="m  498,180L552,180 "
					style="stroke-width: 2; stroke-linejoin: round; marker-end: url(&quot;#markerSj7j5bqgxx&quot;);"
					fill="none" stroke="#000000"></path>
			</g>
			<polyline points="498,180 552,180 " style="stroke-opacity: 0; stroke-width: 15;"
				fill="none" stroke="#ffffff" class="djs-hit"></polyline>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="SequenceFlow_1io8zzg_label"
			transform="matrix(1,0,0,1,480,170)" style="display: none;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="102"
				height="32"></rect>
			<g class="djs-visual">
				<text style="font-family: Arial,sans-serif; font-size: 11px;"
					class=" djs-label">
					<tspan x="45" y="0"></tspan>
				</text>
			</g>
			<rect x="0" y="0" width="90" height="20"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-connection" data-element-id="SequenceFlow_0yenh9m"
			style="display: block;">
			<rect fill="none" class="djs-outline" x="666" y="174" width="42"
				height="12"></rect>
			<g class="djs-visual">
				<path d="m  672,180L702,180 "
					style="stroke-width: 2; stroke-linejoin: round; marker-end: url(&quot;#markerSj7j5bqgxx&quot;);"
					fill="none" stroke="#000000"></path>
			</g>
			<polyline points="672,180 702,180 " style="stroke-opacity: 0; stroke-width: 15;"
				fill="none" stroke="#ffffff" class="djs-hit"></polyline>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="SequenceFlow_0yenh9m_label"
			transform="matrix(1,0,0,1,642,170)" style="display: none;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="102"
				height="32"></rect>
			<g class="djs-visual">
				<text style="font-family: Arial,sans-serif; font-size: 11px;"
					class=" djs-label">
					<tspan x="45" y="0"></tspan>
				</text>
			</g>
			<rect x="0" y="0" width="90" height="20"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-connection" data-element-id="SequenceFlow_1gq21be"
			style="display: block;">
			<rect fill="none" class="djs-outline" x="816" y="174" width="68"
				height="12"></rect>
			<g class="djs-visual">
				<path d="m  822,180L878,180 "
					style="stroke-width: 2; stroke-linejoin: round; marker-end: url(&quot;#markerSj7j5bqgxx&quot;);"
					fill="none" stroke="#000000"></path>
			</g>
			<polyline points="822,180 878,180 " style="stroke-opacity: 0; stroke-width: 15;"
				fill="none" stroke="#ffffff" class="djs-hit"></polyline>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="SequenceFlow_1gq21be_label"
			transform="matrix(1,0,0,1,805,170)" style="display: none;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="102"
				height="32"></rect>
			<g class="djs-visual">
				<text style="font-family: Arial,sans-serif; font-size: 11px;"
					class=" djs-label">
					<tspan x="45" y="0"></tspan>
				</text>
			</g>
			<rect x="0" y="0" width="90" height="20"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-connection" data-element-id="SequenceFlow_14phr7v"
			style="display: block;">
			<rect fill="none" class="djs-outline" x="992" y="174" width="45"
				height="12"></rect>
			<g class="djs-visual">
				<path d="m  998,180L1031,180 "
					style="stroke-width: 2; stroke-linejoin: round; marker-end: url(&quot;#markerSj7j5bqgxx&quot;);"
					fill="none" stroke="#000000"></path>
			</g>
			<polyline points="998,180 1031,180 " style="stroke-opacity: 0; stroke-width: 15;"
				fill="none" stroke="#ffffff" class="djs-hit"></polyline>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="SequenceFlow_14phr7v_label"
			transform="matrix(1,0,0,1,969.5,170)" style="display: none;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="102"
				height="32"></rect>
			<g class="djs-visual">
				<text style="font-family: Arial,sans-serif; font-size: 11px;"
					class=" djs-label">
					<tspan x="45" y="0"></tspan>
				</text>
			</g>
			<rect x="0" y="0" width="90" height="20"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-connection" data-element-id="SequenceFlow_1q2yngv"
			style="display: block;">
			<rect fill="none" class="djs-outline" x="1145" y="174" width="92"
				height="12"></rect>
			<g class="djs-visual">
				<path d="m  1151,180L1231,180 "
					style="stroke-width: 2; stroke-linejoin: round; marker-end: url(&quot;#markerSj7j5bqgxx&quot;);"
					fill="none" stroke="#000000"></path>
			</g>
			<polyline points="1151,180 1231,180 " style="stroke-opacity: 0; stroke-width: 15;"
				fill="none" stroke="#ffffff" class="djs-hit"></polyline>
		</g>
	</g>
	<g class="djs-group" xmlns="http://www.w3.org/2000/svg">
		<g class="djs-element djs-shape" data-element-id="SequenceFlow_1q2yngv_label"
			transform="matrix(1,0,0,1,1146,170)" style="display: none;">
			<rect fill="none" class="djs-outline" x="-6" y="-6" width="102"
				height="32"></rect>
			<g class="djs-visual">
				<text style="font-family: Arial,sans-serif; font-size: 11px;"
					class=" djs-label">
					<tspan x="45" y="0"></tspan>
				</text>
			</g>
			<rect x="0" y="0" width="90" height="20"
				style="stroke-opacity: 0; stroke-width: 15;" fill="none" stroke="#ffffff"
				class="djs-hit"></rect>
		</g>
	</g>
</svg>