Non passing validations now cause HTTP 400 error
[integration/test.git] / csit / suites / iotdm / basic / 201_IoTDMInfraPluginLoaders.robot
1 *** Settings ***
2 Documentation     Test suite testing plugin loaders implemented in IoTDM.
3 ...               Test cases are testing the BundleLoader and KarafFeatureLoader RPCs.
4 ...               Suite uses valid and invalid testing plugins from IoTDM repository from iotdm/itcsitdist/iotdmitresources
5 ...               Invalid plugin means that there is some intentional issue in the implementation of the plugin which
6 ...               causes failure during plugin loading process and it should be catched by BundleLoader or KarafFeatureLoader
7 ...               and such plugin must not be loaded to system as well as nothing from its dependencies.
8
9 *** Test Cases ***
10 1.00 Bundle loader instance has no features loaded
11     [Documentation]    Check weather there are any BundleLoader instances.
12     [Tags]    not-implemented    exclude
13     TODO
14
15 1.01 Bundle loader loads new feature
16     [Documentation]    Load bundle using bundle loader and verify it is loaded.
17     [Tags]    not-implemented    exclude
18     TODO
19
20 1.02 Bundle loader fails to load same feature using new feature name
21     [Documentation]    Load same bundle using bundle loader using new feature name should fail with bundle already exist.
22     [Tags]    not-implemented    exclude
23     TODO
24
25 1.03 Bundle loader update feature should fail
26     [Documentation]    Load new bundle using bundle loader on same feature-name, and verify weather it failed.
27     [Tags]    not-implemented    exclude
28     TODO
29
30 1.04 Bundle loader loads second feature
31     [Documentation]    Load second bundle using bundle loader and verify it is loaded.
32     [Tags]    not-implemented    exclude
33     TODO
34
35 1.05 Bundle loader tries to update feature to already existing feature
36     [Documentation]    Updating feature to already loaded plugins should fail with bundle already exist.
37     [Tags]    not-implemented    exclude
38     TODO
39
40 2.00 Bundle loader reloads both features
41     [Documentation]    Reload all plugins, verify they are still there and check if ids of bundles are changed.
42     [Tags]    not-implemented    exclude
43     TODO
44
45 3.00 Bundle loader removes single feature
46     [Documentation]    Remove single feature and verify it is gone.
47     [Tags]    not-implemented    exclude
48     TODO
49
50 3.02 Bundle loader clears all features loaded using specific instance
51     [Documentation]    Load back removed feature verify and try to remove plugins on the specific instance and verify.
52     ...    they are all gone
53     [Tags]    not-implemented    exclude
54     TODO
55
56 4.00 Bundle loader tests multiple cases of missing configuration loading new feature
57     [Documentation]    Try to load plugin using data that are missing some of the configuration.
58     [Tags]    not-implemented    exclude
59     TODO
60
61 4.01 Bundle loader tests multiple cases of invalid values loading new feature
62     [Documentation]    Try to load plugin using data that not valid and therefore request shoud fail.
63     [Tags]    not-implemented    exclude
64     TODO
65
66 4.02 Bundle loader tests removing feature wit missing data
67     [Documentation]    Try to remove plugin using data that are missing some of the configuration.
68     [Tags]    not-implemented    exclude
69     TODO
70
71 4.03 Bundle loader tests removing feature using invalid value
72     [Documentation]    Try to remove plugin using data that not valid and therefore request shoud fail.
73     [Tags]    not-implemented    exclude
74     TODO
75
76 4.04 Bundle loader test removing all features without bundle loader instance name specified
77     [Documentation]    Try to remove all plugins using data that are missing some of the configuration.
78     [Tags]    not-implemented    exclude
79     TODO
80
81 4.05 Bundle loader test removing all features without bundle loader instance name specified
82     [Documentation]    Try to remove all plugins using data that not valid and therefore request shoud fail.
83     [Tags]    not-implemented    exclude
84     TODO
85
86 4.06 Bundle loader tests reloading feature with missing data
87     [Documentation]    Try to reload plugin using data that are missing some of the configuration.
88     [Tags]    not-implemented    exclude
89     TODO
90
91 4.07 Bundle loader tests reloading feature using invalid value
92     [Documentation]    Try to reload plugin using data that not valid and therefore request shoud fail.
93     [Tags]    not-implemented    exclude
94     TODO
95
96 4.08 Bundle loader tests loading a feature with missing function
97     [Documentation]    Tries to load feature with missing function from Onem2mPluginManager class. It is expecting to
98     ...    have doSomething function.
99     [Tags]    not-implemented    exclude
100     TODO
101
102 5.00 Bundle loader loads feature, and verify weather it is registered using registerPluginHttp
103     [Documentation]    Load second bundle using bundle loader and verify it is loaded. Also is should third. Verify plugin
104     ...    manager registration and communications channels.
105     [Tags]    not-implemented    exclude
106     TODO
107
108 6.00 Bundle loader instance has no features loaded
109     [Documentation]    Check weather there are any BundleLoader instance.
110     [Tags]    not-implemented    exclude
111     TODO
112
113 7.00 Karaf loader instance has no features loaded
114     [Documentation]    Check weather there are any KarafLoader instances.
115     [Tags]    not-implemented    exclude
116     TODO
117
118 7.01 Karaf loader loads new feature
119     [Documentation]    Load feature using karaf loader and verify it is loaded.
120     [Tags]    not-implemented    exclude
121     TODO
122
123 7.02 Karaf loader fails to load same feature using new feature name
124     [Documentation]    Load same feature using karaf loader using new feature name should fail with bundle already exist.
125     [Tags]    not-implemented    exclude
126     TODO
127
128 7.03 Karaf loader fails to update feature with different feature
129     [Documentation]    Load new feature using karaf loader on same feature-name, and fail.
130     [Tags]    not-implemented    exclude
131     TODO
132
133 7.04 Bundle loader loads second feature
134     [Documentation]    Load second feature using karaf loader and verify it is loaded.
135     [Tags]    not-implemented    exclude
136     TODO
137
138 8.00 Karaf loader reloads both features
139     [Documentation]    Reload all features, verify they are still there and check if ids of features are changed.
140     [Tags]    not-implemented    exclude
141     TODO
142
143 9.00 Karaf loader removes single feature
144     [Documentation]    Remove single feature and verify it is gone.
145     [Tags]    not-implemented    exclude
146     TODO
147
148 9.01 Karaf loader clears all features loaded using specific instance
149     [Documentation]    Load back removed feature verify and try to remove features on the specific instance and verify.
150     ...    they are all gone
151     [Tags]    not-implemented    exclude
152     TODO
153
154 10.00 Karaf loader tests multiple cases of missing configuration loading new feature
155     [Documentation]    Try to load plugin using data that are missing some of the configuration.
156     [Tags]    not-implemented    exclude
157     TODO
158
159 10.01 Karaf loader tests multiple cases of invalid values loading new feature
160     [Documentation]    Try to load plugin using data that are not valid and therefore request shoud fail.
161     [Tags]    not-implemented    exclude
162     TODO
163
164 10.02 Karaf loader tests removing feature wit missing data
165     [Documentation]    Try to remove plugin using data that are missing some of the configuration.
166     [Tags]    not-implemented    exclude
167     TODO
168
169 10.03 Karaf loader tests removing feature using invalid value
170     [Documentation]    Try to remove plugin using data that not valid and therefore request shoud fail.
171     [Tags]    not-implemented    exclude
172     TODO
173
174 10.04 Karaf loader test removing all features without karaf feature loader name specified
175     [Documentation]    Try to remove all plugins using data that are missing some of the configuration.
176     [Tags]    not-implemented    exclude
177     TODO
178
179 10.05 Karaf loader test removing all features without karaf feature loader name specified
180     [Documentation]    Try to remove all plugins using data that not valid and therefore request shoud fail.
181     [Tags]    not-implemented    exclude
182     TODO
183
184 10.06 Karaf loader tests reloading feature with missing data
185     [Documentation]    Try to reload plugin using data that are missing some of the configuration.
186     [Tags]    not-implemented    exclude
187     TODO
188
189 10.07 Karaf loader tests reloading feature using invalid value
190     [Documentation]    Try to reload plugin using data that not valid and therefore request shoud fail.
191     [Tags]    not-implemented    exclude
192     TODO
193
194 10.08 Bundle loader tests loading a feature with missing function
195     [Documentation]    Tries to load feature with missing function from Onem2mPluginManager class. It is expecting to
196     ...    have doSomething function.
197     [Tags]    not-implemented    exclude
198     TODO
199
200 11.00 Karaf loader instance has no features loaded
201     [Documentation]    Check weather there are any KarafLoader instances.
202     [Tags]    not-implemented    exclude
203     TODO
204
205 *** Keywords ***
206 TODO
207     Fail    Not implemented