update container and sample bundles for so bundle dynamic configuraion
[platform/upstream/iotivity.git] / service / resource-manipulation / src / resourceContainer / examples / ResourceContainerConfig.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <container>      
3     <bundle>
4         <id>oic.bundle.discomfortIndexSensor</id>
5         <path>libSoftSensorBundle.so</path>
6         <version>1.0.0</version>
7         <resources>
8             <resourceInfo>
9                 <name>DiscomfortIndexSensor1</name>
10                                 <resourceType>oic.softsensor</resourceType>
11                 <attributes>
12                   <attribute>   
13                     <name>version</name>        
14                     <type>string</type>
15                     <value>1.0</value>
16                   </attribute>
17                   <attribute>
18                     <name>lifetime</name>
19                     <type>int</type>
20                     <value>60</value>
21                   </attribute>
22                 </attributes>
23                 <outputs>
24                   <output>
25                     <name>timestamp</name>
26                     <type>string</type>
27                   </output>
28                   <output>
29                     <name>temperature</name>
30                     <type>string</type>
31                   </output>
32                   <output>
33                     <name>humidity</name>
34                     <type>string</type>
35                   </output>
36                   <output>
37                     <name>discomfortIndex</name>
38                     <type>int</type>
39                   </output>
40                 </outputs>
41                 <inputs>
42                   <input>Thing_TempHumSensor</input>
43                   <input>Thing_TempHumSensor1</input>
44                 </inputs>
45             </resourceInfo>       
46         </resources>
47     </bundle>
48     <bundle>
49         <id>oic.bundle.hueSample</id>
50         <path>libHueBundle.so</path>
51         <version>1.0.0</version>
52         <resources>
53             <resourceInfo>
54                 <name>light</name>
55                                 <resourceType>oic.light.control</resourceType>
56                 <address>http://192.168.0.2/api/newdeveloper/lights/1</address>
57             </resourceInfo>       
58         </resources>
59     </bundle>
60     <bundle>
61         <id>oic.bundle.hueJavaSample</id>
62         <path>../../../../../../../../service/resource-manipulation/src/resourceContainer/examples/HueJavaSampleBundle/hue/target/hue-0.1-jar-with-dependencies.jar</path>
63         <libraryPath>.</libraryPath>
64         <uri>/hueJava</uri>
65         <activator>org.iotivity.bundle.hue.HueBundleActivator</activator>
66         <version>1.0.0</version>
67         <resources>
68             <resourceInfo>
69                 <name>light</name>
70                 <uri>light/1</uri>
71                                 <resourceType>oic.light.control</resourceType>
72                 <address>http://192.168.0.2/api/newdeveloper/lights/1</address>
73             </resourceInfo>       
74         </resources>
75     </bundle>
76 </container>