opengate-js 10.3.1 → 10.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (470) hide show
  1. package/bower.json +1 -1
  2. package/dist/{opengate-api-bower-10.3.1.js → opengate-api-bower-10.5.2.js} +1188 -395
  3. package/dist/opengate-api-bower-10.5.2.js.map +1 -0
  4. package/dist/{opengate-api-bower-10.3.1.min.js → opengate-api-bower-10.5.2.min.js} +31 -31
  5. package/dist/opengate-api-bower-10.5.2.min.js.map +1 -0
  6. package/dist/opengate-api-npm.js +1 -1
  7. package/dist/opengate-api-npm.js.map +1 -1
  8. package/dist/src/InternalOpenGateAPI.js +96 -1
  9. package/dist/src/InternalOpenGateAPI.js.map +1 -1
  10. package/dist/src/bulk/BulkExecutionFinder.js +133 -0
  11. package/dist/src/bulk/BulkExecutionFinder.js.map +1 -0
  12. package/dist/src/provision/bulk/BulkExecutionBuilder.js +171 -0
  13. package/dist/src/provision/bulk/BulkExecutionBuilder.js.map +1 -0
  14. package/dist/src/provisionProcessors/provisionProcessors.js +135 -0
  15. package/dist/src/provisionProcessors/provisionProcessors.js.map +1 -0
  16. package/dist/src/provisionProcessors/provisionProcessorsFinder.js +75 -0
  17. package/dist/src/provisionProcessors/provisionProcessorsFinder.js.map +1 -0
  18. package/dist/src/searching/AssetSearch.js +1 -1
  19. package/dist/src/searching/BaseSearch.js +1 -1
  20. package/dist/src/searching/BaseSearch.js.map +1 -1
  21. package/dist/src/searching/DeviceSearch.js +1 -1
  22. package/dist/src/searching/Search.js +1 -1
  23. package/dist/src/searching/Search.js.map +1 -1
  24. package/dist/src/searching/WPSearch.js +69 -0
  25. package/dist/src/searching/WPSearch.js.map +1 -0
  26. package/dist/src/searching/builder/BulkExecutionSearchBuilder.js +71 -0
  27. package/dist/src/searching/builder/BulkExecutionSearchBuilder.js.map +1 -0
  28. package/dist/src/util/NorthAmpliaREST.js +32 -28
  29. package/dist/src/util/NorthAmpliaREST.js.map +1 -1
  30. package/dist/src/util/formats/check_types.js +8 -3
  31. package/dist/src/util/formats/check_types.js.map +1 -1
  32. package/dist/src/util/searchingFields/FieldFinder.js +2 -1
  33. package/dist/src/util/searchingFields/FieldFinder.js.map +1 -1
  34. package/dist/src/util/searchingFields/IotFields.js +18 -2
  35. package/dist/src/util/searchingFields/IotFields.js.map +1 -1
  36. package/docs/ast/source/InternalOpenGateAPI.js.json +30062 -20928
  37. package/docs/ast/source/bulk/BulkExecutionFinder.js.json +14859 -0
  38. package/docs/ast/source/provision/bulk/BulkExecutionBuilder.js.json +21344 -0
  39. package/docs/ast/source/provisionProcessors/provisionProcessors.js.json +9915 -0
  40. package/docs/ast/source/provisionProcessors/provisionProcessorsFinder.js.json +3784 -0
  41. package/docs/ast/source/searching/AssetSearch.js.json +696 -696
  42. package/docs/ast/source/searching/BaseSearch.js.json +3497 -3587
  43. package/docs/ast/source/searching/DeviceSearch.js.json +1308 -1308
  44. package/docs/ast/source/searching/Search.js.json +326 -236
  45. package/docs/ast/source/searching/WPSearch.js.json +4459 -0
  46. package/docs/ast/source/searching/builder/BulkExecutionSearchBuilder.js.json +4744 -0
  47. package/docs/ast/source/util/NorthAmpliaREST.js.json +10146 -11039
  48. package/docs/ast/source/util/formats/check_types.js.json +3332 -2034
  49. package/docs/ast/source/util/searchingFields/FieldFinder.js.json +12159 -11995
  50. package/docs/ast/source/util/searchingFields/IotFields.js.json +7602 -5318
  51. package/docs/class/src/GenericFinder.js~GenericFinder.html +10 -2
  52. package/docs/class/src/InternalOpenGateAPI.js~InternalOpenGateAPI.html +565 -109
  53. package/docs/class/src/ProvisionGenericFinder.js~ProvisionGenericFinder.html +9 -1
  54. package/docs/class/src/alarms/AlarmActions.js~AlarmActions.html +9 -1
  55. package/docs/class/src/alarms/actions/Alarm.js~Operation.html +9 -1
  56. package/docs/class/src/alarms/actions/AlarmActionBuilder.js~AlarmActionBuilder.html +9 -1
  57. package/docs/class/src/alarms/actions/AlarmAttendBuilder.js~AlarmAttendBuilder.html +9 -1
  58. package/docs/class/src/alarms/actions/AlarmCloseBuilder.js~AlarmCloseBuilder.html +9 -1
  59. package/docs/class/src/areas/AreaFinder.js~AreaFinder.html +9 -1
  60. package/docs/class/src/areas/Areas.js~Areas.html +9 -1
  61. package/docs/class/src/bulk/BulkExecutionFinder.js~BulkExecutionFinder.html +529 -0
  62. package/docs/class/src/bulk/BulkFinder.js~BulkFinder.html +9 -1
  63. package/docs/class/src/bundles/BundleFinder.js~BundleFinder.html +9 -1
  64. package/docs/class/src/bundles/Bundles.js~Bundles.html +9 -1
  65. package/docs/class/src/bundles/deployment/DeploymentElement.js~DeploymentElement.html +9 -1
  66. package/docs/class/src/channels/ChannelFinder.js~ChannelFinder.html +9 -1
  67. package/docs/class/src/channels/Channels.js~Channels.html +9 -1
  68. package/docs/class/src/collection/devices/DeviceMessage.js~DeviceMessage.html +9 -1
  69. package/docs/class/src/collection/devices/collect/CommsModuleMessage.js~CommsModuleMessage.html +9 -1
  70. package/docs/class/src/collection/devices/collect/Datapoint.js~Datapoint.html +9 -1
  71. package/docs/class/src/collection/devices/collect/Datastreams.js~Datastream.html +9 -1
  72. package/docs/class/src/collection/devices/collect/Event.js~Event.html +9 -1
  73. package/docs/class/src/collection/devices/collect/Hardware.js~Hardware.html +9 -1
  74. package/docs/class/src/collection/devices/collect/Location.js~Location.html +9 -1
  75. package/docs/class/src/collection/devices/collect/Mobile.js~Mobile.html +9 -1
  76. package/docs/class/src/collection/devices/collect/PowerSupply.js~PowerSupply.html +9 -1
  77. package/docs/class/src/collection/devices/collect/Software.js~Software.html +9 -1
  78. package/docs/class/src/collection/devices/collect/Storage.js~Storage.html +9 -1
  79. package/docs/class/src/collection/devices/collect/Subscriber.js~Subscriber.html +9 -1
  80. package/docs/class/src/collection/devices/collect/Subscription.js~Subscription.html +9 -1
  81. package/docs/class/src/collection/devices/collect/Temperature.js~Temperature.html +9 -1
  82. package/docs/class/src/collection/devices/collect/Usage.js~Usage.html +9 -1
  83. package/docs/class/src/domains/Domains.js~Domains.html +9 -1
  84. package/docs/class/src/domains/DomainsFinder.js~DomainFinder.html +9 -1
  85. package/docs/class/src/entities/DeviceFinder.js~DeviceFinder.html +9 -1
  86. package/docs/class/src/entities/EntityFinder.js~EntityFinder.html +9 -1
  87. package/docs/class/src/entities/SubscribersFinder.js~SubscribersFinder.html +9 -1
  88. package/docs/class/src/entities/SubscriptionsFinder.js~SubscriptionsFinder.html +9 -1
  89. package/docs/class/src/entities/TicketFinder.js~TicketFinder.html +9 -1
  90. package/docs/class/src/iot/catalog/Category.js~Category.html +9 -1
  91. package/docs/class/src/iot/catalog/Datastream.js~Datastream.html +9 -1
  92. package/docs/class/src/iot/catalog/Qrating.js~Qrating.html +9 -1
  93. package/docs/class/src/iot/datamodels/Datamodels.js~Datamodels.html +9 -1
  94. package/docs/class/src/iot/datamodels/DatamodelsFinder.js~DatamodelsFinder.html +9 -1
  95. package/docs/class/src/iot/datamodels/DatamodelsHelper.js~DatamodelsHelper.html +9 -1
  96. package/docs/class/src/operations/OperationActions.js~OperationActions.html +9 -1
  97. package/docs/class/src/operations/OperationFinder.js~OperationFinder.html +9 -1
  98. package/docs/class/src/operations/Operations.js~Operations.html +9 -1
  99. package/docs/class/src/operations/PeriodicityActions.js~PeriodicityActions.html +9 -1
  100. package/docs/class/src/operations/catalog/AppendEntitiesBy.js~AppendEntitiesBy.html +9 -1
  101. package/docs/class/src/operations/catalog/BaseOperationBuilder.js~BaseOperationBuilder.html +9 -1
  102. package/docs/class/src/operations/catalog/Operation.js~Operation.html +9 -1
  103. package/docs/class/src/operations/catalog/parameters/BaseParameterBuilderWithParent.js~BaseParameterBuilderWithParent.html +9 -1
  104. package/docs/class/src/operations/catalog/parameters/ParameterBuilderFactory.js~ParameterBuilderFactory.html +9 -1
  105. package/docs/class/src/operations/catalog/period/ExecuteEachBuilder.js~ExecuteEachBuilder.html +9 -1
  106. package/docs/class/src/operations/catalog/period/ExecuteEveryBuilder.js~ExecuteEveryBuilder.html +9 -1
  107. package/docs/class/src/operations/catalog/period/PeriodicityUpdateBuilder.js~PeriodicityUpdateBuilder.html +9 -1
  108. package/docs/class/src/operations/catalog/period/pattern/ByGeneric.js~ByGeneric.html +9 -1
  109. package/docs/class/src/operations/catalog/period/pattern/ByMonth.js~ByMonth.html +9 -1
  110. package/docs/class/src/operations/catalog/period/pattern/ByWeek.js~ByWeek.html +9 -1
  111. package/docs/class/src/operations/catalog/period/pattern/ByYear.js~ByYear.html +9 -1
  112. package/docs/class/src/organizations/OrganizationFinder.js~OrganizationFinder.html +9 -1
  113. package/docs/class/src/organizations/Organizations.js~Organizations.html +9 -1
  114. package/docs/class/src/provision/BaseProvision.js~BaseProvision.html +10 -2
  115. package/docs/class/src/provision/bulk/BulkExecutionBuilder.js~BulkExecutionBuilder.html +766 -0
  116. package/docs/class/src/provision/entities/AssetBuilder.js~AssetBuilder.html +9 -1
  117. package/docs/class/src/provision/entities/BulkBuilder.js~BulkBuilder.html +9 -1
  118. package/docs/class/src/provision/entities/ComplexBuilder.js~ComplexBuilder.html +9 -1
  119. package/docs/class/src/provision/entities/CsvBulkBuilder.js~CsvBulkBuilder.html +9 -1
  120. package/docs/class/src/provision/entities/DeviceBuilder.js~DeviceBuilder.html +9 -1
  121. package/docs/class/src/provision/entities/EntityBuilder.js~EntityBuilder.html +9 -1
  122. package/docs/class/src/provision/entities/JsonBulkBuilder.js~JsonBulkBuilder.html +9 -1
  123. package/docs/class/src/provision/entities/JsonFlattenedBulkBuilder.js~JsonFlattenedBulkBuilder.html +9 -1
  124. package/docs/class/src/provision/entities/SimpleBuilder.js~SimpleBuilder.html +9 -1
  125. package/docs/class/src/provision/entities/SubscriberBuilder.js~SubscriberBuilder.html +9 -1
  126. package/docs/class/src/provision/entities/SubscriptionBuilder.js~SubscriptionBuilder.html +9 -1
  127. package/docs/class/src/provision/entities/TicketBuilder.js~TicketBuilder.html +9 -1
  128. package/docs/class/src/provisionProcessors/provisionProcessors.js~ProvisionProcessors.html +1012 -0
  129. package/docs/class/src/provisionProcessors/provisionProcessorsFinder.js~provisionProcessorsFinder.html +623 -0
  130. package/docs/class/src/rulesConfiguration/RuleConfigurations.js~RuleConfigurations.html +9 -1
  131. package/docs/class/src/rulesConfiguration/RuleConfigurationsActions.js~RuleConfigurationsActions.html +9 -1
  132. package/docs/class/src/rulesConfiguration/RuleConfigurationsCatalog.js~RuleConfigurationsCatalog.html +9 -1
  133. package/docs/class/src/rulesConfiguration/RuleConfigurationsFinder.js~RuleConfigurationsFinder.html +9 -1
  134. package/docs/class/src/searching/AssetSearch.js~AssetSearch.html +10 -2
  135. package/docs/class/src/searching/BaseSearch.js~BaseSearch.html +10 -2
  136. package/docs/class/src/searching/DeviceSearch.js~DeviceSearch.html +10 -2
  137. package/docs/class/src/searching/EntitySearch.js~EntitySearch.html +9 -1
  138. package/docs/class/src/searching/FilterBuilder.js~FilterBuilder.html +9 -1
  139. package/docs/class/src/searching/QuickSearch.js~QuickSearch.html +9 -1
  140. package/docs/class/src/searching/Search.js~Search.html +9 -1
  141. package/docs/class/src/searching/SelectBuilder.js~SelectBuilder.html +9 -1
  142. package/docs/class/src/searching/StaticSearch.js~StaticSearch.html +9 -1
  143. package/docs/class/src/searching/WPSearch.js~WPSearch.html +599 -0
  144. package/docs/class/src/searching/builder/AdministrativeStateSearchBuilder.js~AdministrativeStateSearchBuilder.html +9 -1
  145. package/docs/class/src/searching/builder/AlarmsSearchBuilder.js~AlarmsSearchBuilder.html +9 -1
  146. package/docs/class/src/searching/builder/AllowedResourceTypeSearchBuilder.js~AllowedResourceTypeSearchBuilder.html +9 -1
  147. package/docs/class/src/searching/builder/AreasSearchBuilder.js~AreasSearchBuilder.html +9 -1
  148. package/docs/class/src/searching/builder/AssetsSearchBuilder.js~AssetsSearchBuilder.html +9 -1
  149. package/docs/class/src/searching/builder/BasicTypesSearchBuilder.js~BasicTypesSearchBuilder.html +9 -1
  150. package/docs/class/src/searching/builder/BulkExecutionSearchBuilder.js~BulkExecutionSearchBuilder.html +865 -0
  151. package/docs/class/src/searching/builder/BulkSearchBuilder.js~BulkSearchBuilder.html +9 -1
  152. package/docs/class/src/searching/builder/BundlesSearchBuilder.js~BundlesSearchBuilder.html +9 -1
  153. package/docs/class/src/searching/builder/CertificatesSearchBuilder.js~CertificatesSearchBuilder.html +9 -1
  154. package/docs/class/src/searching/builder/ChannelsSearchBuilder.js~ChannelsSearchBuilder.html +9 -1
  155. package/docs/class/src/searching/builder/CommunicationsModuleTypeSearchBuilder.js~CommunicationsModuleTypeSearchBuilder.html +9 -1
  156. package/docs/class/src/searching/builder/CountryCodesSearchBuilder.js~CountryCodesSearchBuilder.html +9 -1
  157. package/docs/class/src/searching/builder/DatamodelsSearchBuilder.js~DatamodelsSearchBuilder.html +9 -1
  158. package/docs/class/src/searching/builder/DatapointsSearchBuilder.js~DatapointsSearchBuilder.html +9 -1
  159. package/docs/class/src/searching/builder/DatasetEntitiesSearchBuilder.js~DatasetEntitiesSearchBuilder.html +9 -1
  160. package/docs/class/src/searching/builder/DatasetsCatalogSearchBuilder.js~DatasetsCatalogSearchBuilder.html +9 -1
  161. package/docs/class/src/searching/builder/DatastreamsSearchBuilder.js~DatastreamsSearchBuilder.html +9 -1
  162. package/docs/class/src/searching/builder/DevicesSearchBuilder.js~DevicesSearchBuilder.html +9 -1
  163. package/docs/class/src/searching/builder/DomainsSearchBuilder.js~DomainsSearchBuilder.html +9 -1
  164. package/docs/class/src/searching/builder/EntitiesSearchBuilder.js~EntitiesSearchBuilder.html +9 -1
  165. package/docs/class/src/searching/builder/ExecutionsSearchBuilder.js~ExecutionsSearchBuilder.html +9 -1
  166. package/docs/class/src/searching/builder/FeedsSearchBuilder.js~FeedsSearchBuilder.html +9 -1
  167. package/docs/class/src/searching/builder/FieldsDefinitionSearchBuilder.js~FieldsDefinitionSearchBuilder.html +9 -1
  168. package/docs/class/src/searching/builder/FlattenedSearchBuilder.js~FlattenedSearchBuilder.html +9 -1
  169. package/docs/class/src/searching/builder/HardwaresSearchBuilder.js~HardwaresSearchBuilder.html +9 -1
  170. package/docs/class/src/searching/builder/IoTDatastreamAccessSearchBuilder.js~IoTDatastreamAccessSearchBuilder.html +9 -1
  171. package/docs/class/src/searching/builder/IoTDatastreamPeriodSearchBuilder.js~IoTDatastreamPeriodSearchBuilder.html +9 -1
  172. package/docs/class/src/searching/builder/IoTDatastreamStoragePeriodSearchBuilder.js~IoTDatastreamStoragePeriodSearchBuilder.html +9 -1
  173. package/docs/class/src/searching/builder/MobilePhoneProviderSearchBuilder.js~MobilePhoneProviderSearchBuilder.html +9 -1
  174. package/docs/class/src/searching/builder/OperationalStatusSearchBuilder.js~OperationalStatusSearchBuilder.html +9 -1
  175. package/docs/class/src/searching/builder/OperationsSearchBuilder.js~OperationsSearchBuilder.html +9 -1
  176. package/docs/class/src/searching/builder/OrganizationsSearchBuilder.js~OrganizationsSearchBuilder.html +9 -1
  177. package/docs/class/src/searching/builder/PlansSearchBuilder.js~PlansSearchBuilder.html +9 -1
  178. package/docs/class/src/searching/builder/PreFilteredSearchBuilder.js~PreFilteredSearchBuilder.html +9 -1
  179. package/docs/class/src/searching/builder/RawSearchBuilder.js~RawSearchBuilder.html +9 -1
  180. package/docs/class/src/searching/builder/ResourceTypeSearchBuilder.js~ResourceTypeSearchBuilder.html +9 -1
  181. package/docs/class/src/searching/builder/RuleConfigurationSeveritySearchBuilder.js~RuleConfigurationSeveritySearchBuilder.html +9 -1
  182. package/docs/class/src/searching/builder/RuleModeSearchBuilder.js~RuleModeSearchBuilder.html +9 -1
  183. package/docs/class/src/searching/builder/RuleTypeSearchBuilder.js~RuleTypeSearchBuilder.html +9 -1
  184. package/docs/class/src/searching/builder/RulesSearchBuilder.js~RulesSearchBuilder.html +9 -1
  185. package/docs/class/src/searching/builder/SearchBuilder.js~SearchBuilder.html +10 -2
  186. package/docs/class/src/searching/builder/SearchWithSummaryBuilder.js~SearchWithSummaryBuilder.html +9 -1
  187. package/docs/class/src/searching/builder/ServiceGroupSearchBuilder.js~ServiceGroupSearchBuilder.html +9 -1
  188. package/docs/class/src/searching/builder/SoftwaresSearchBuilder.js~SoftwaresSearchBuilder.html +9 -1
  189. package/docs/class/src/searching/builder/SubscribersSearchBuilder.js~SubscribersSearchBuilder.html +9 -1
  190. package/docs/class/src/searching/builder/SubscriptionsSearchBuilder.js~SubscriptionsSearchBuilder.html +9 -1
  191. package/docs/class/src/searching/builder/TasksSearchBuilder.js~TasksSearchBuilder.html +9 -1
  192. package/docs/class/src/searching/builder/TicketPrioritySearchBuilder.js~TicketPrioritySearchBuilder.html +9 -1
  193. package/docs/class/src/searching/builder/TicketSeveritySearchBuilder.js~TicketSeveritySearchBuilder.html +9 -1
  194. package/docs/class/src/searching/builder/TicketStatusSearchBuilder.js~TicketStatusSearchBuilder.html +9 -1
  195. package/docs/class/src/searching/builder/TicketsSearchBuilder.js~TicketsSearchBuilder.html +9 -1
  196. package/docs/class/src/searching/builder/TimezoneSearchBuilder.js~TimezoneSearchBuilder.html +9 -1
  197. package/docs/class/src/searching/builder/UserLanguagesSearchBuilder.js~UserLanguagesSearchBuilder.html +9 -1
  198. package/docs/class/src/searching/builder/UserProfilesSearchBuilder.js~UserProfilesSearchBuilder.html +9 -1
  199. package/docs/class/src/searching/builder/UsersSearchBuilder.js~UsersSearchBuilder.html +9 -1
  200. package/docs/class/src/searching/builder/WorkgroupsSearchBuilder.js~WorkgroupsSearchBuilder.html +9 -1
  201. package/docs/class/src/searching/error/SearchBuilderError.js~SearchBuilderError.html +9 -1
  202. package/docs/class/src/security/CertificateFinder.js~CertificateFinder.html +9 -1
  203. package/docs/class/src/security/Certificates.js~Certificates.html +9 -1
  204. package/docs/class/src/security/Security.js~Security.html +9 -1
  205. package/docs/class/src/users/UserFinder.js~UserFinder.html +9 -1
  206. package/docs/class/src/users/Users.js~User.html +9 -1
  207. package/docs/class/src/util/Expression.js~Expression.html +9 -1
  208. package/docs/class/src/util/NorthAmpliaREST.js~NorthAmpliaREST.html +23 -8
  209. package/docs/class/src/util/SelectElement.js~SelectElement.html +9 -1
  210. package/docs/class/src/util/SouthAmpliaREST.js~SouthAmpliaREST.html +10 -2
  211. package/docs/class/src/util/searchingFields/FieldFinder.js~FieldFinder.html +15 -7
  212. package/docs/class/src/workgroups/WorkgroupFinder.js~WorkgroupFinder.html +9 -1
  213. package/docs/class/src/workgroups/WorkgroupRelations.js~WorkgroupRelations.html +9 -1
  214. package/docs/class/src/workgroups/WorkgroupRelationsFinder.js~WorkgroupRelationsFinder.html +9 -1
  215. package/docs/class/src/workgroups/Workgroups.js~Workgroups.html +9 -1
  216. package/docs/coverage.json +51 -17
  217. package/docs/dump.json +6657 -4825
  218. package/docs/file/src/GenericFinder.js.html +9 -1
  219. package/docs/file/src/InternalOpenGateAPI.js.html +77 -3
  220. package/docs/file/src/ProvisionGenericFinder.js.html +9 -1
  221. package/docs/file/src/alarms/AlarmActions.js.html +9 -1
  222. package/docs/file/src/alarms/actions/Alarm.js.html +9 -1
  223. package/docs/file/src/alarms/actions/AlarmActionBuilder.js.html +9 -1
  224. package/docs/file/src/alarms/actions/AlarmAttendBuilder.js.html +9 -1
  225. package/docs/file/src/alarms/actions/AlarmCloseBuilder.js.html +9 -1
  226. package/docs/file/src/areas/AreaFinder.js.html +9 -1
  227. package/docs/file/src/areas/Areas.js.html +9 -1
  228. package/docs/file/src/areas/TYPE_ENUM.js.html +9 -1
  229. package/docs/file/src/bulk/BulkExecutionFinder.js.html +355 -0
  230. package/docs/file/src/bulk/BulkFinder.js.html +9 -1
  231. package/docs/file/src/bundles/ACTION_ENUM.js.html +9 -1
  232. package/docs/file/src/bundles/BundleFinder.js.html +9 -1
  233. package/docs/file/src/bundles/Bundles.js.html +9 -1
  234. package/docs/file/src/bundles/deployment/DeploymentElement.js.html +9 -1
  235. package/docs/file/src/bundles/deployment/MODE_VALIDATORS_ENUM.js.html +9 -1
  236. package/docs/file/src/bundles/deployment/OPERATION_ENUM.js.html +9 -1
  237. package/docs/file/src/bundles/deployment/OPTION_ENUM.js.html +9 -1
  238. package/docs/file/src/bundles/deployment/TYPE_ENUM.js.html +9 -1
  239. package/docs/file/src/bundles/deployment/TYPE_VALIDATORS_ENUM.js.html +9 -1
  240. package/docs/file/src/channels/ChannelFinder.js.html +9 -1
  241. package/docs/file/src/channels/Channels.js.html +9 -1
  242. package/docs/file/src/collection/devices/DeviceMessage.js.html +9 -1
  243. package/docs/file/src/collection/devices/collect/CommsModuleMessage.js.html +9 -1
  244. package/docs/file/src/collection/devices/collect/Datapoint.js.html +9 -1
  245. package/docs/file/src/collection/devices/collect/Datastreams.js.html +9 -1
  246. package/docs/file/src/collection/devices/collect/Event.js.html +9 -1
  247. package/docs/file/src/collection/devices/collect/Hardware.js.html +9 -1
  248. package/docs/file/src/collection/devices/collect/Location.js.html +9 -1
  249. package/docs/file/src/collection/devices/collect/Mobile.js.html +9 -1
  250. package/docs/file/src/collection/devices/collect/PowerSupply.js.html +9 -1
  251. package/docs/file/src/collection/devices/collect/Software.js.html +9 -1
  252. package/docs/file/src/collection/devices/collect/Storage.js.html +9 -1
  253. package/docs/file/src/collection/devices/collect/Subscriber.js.html +9 -1
  254. package/docs/file/src/collection/devices/collect/Subscription.js.html +9 -1
  255. package/docs/file/src/collection/devices/collect/Temperature.js.html +9 -1
  256. package/docs/file/src/collection/devices/collect/Usage.js.html +9 -1
  257. package/docs/file/src/collection/devices/collect/enum/ADDRESS_TYPE_ENUM.js.html +9 -1
  258. package/docs/file/src/collection/devices/collect/enum/ANTENNA_STATUS_ENUM.js.html +9 -1
  259. package/docs/file/src/collection/devices/collect/enum/BATTERY_CHARGE_LEVEL_STATUS_ENUM.js.html +9 -1
  260. package/docs/file/src/collection/devices/collect/enum/BATTERY_CHARGE_STATUS_ENUM.js.html +9 -1
  261. package/docs/file/src/collection/devices/collect/enum/LEVEL_TREND_ENUM.js.html +9 -1
  262. package/docs/file/src/collection/devices/collect/enum/POWER_SUPPLY_SOURCE_ENUM.js.html +9 -1
  263. package/docs/file/src/collection/devices/collect/enum/SOFTWARE_TYPE_ENUM.js.html +9 -1
  264. package/docs/file/src/collection/devices/collect/enum/TEMPERATURE_STATUS_ENUM.js.html +9 -1
  265. package/docs/file/src/domains/Domains.js.html +9 -1
  266. package/docs/file/src/domains/DomainsFinder.js.html +9 -1
  267. package/docs/file/src/entities/DeviceFinder.js.html +9 -1
  268. package/docs/file/src/entities/EntityFinder.js.html +9 -1
  269. package/docs/file/src/entities/SubscribersFinder.js.html +9 -1
  270. package/docs/file/src/entities/SubscriptionsFinder.js.html +9 -1
  271. package/docs/file/src/entities/TicketFinder.js.html +9 -1
  272. package/docs/file/src/iot/catalog/Category.js.html +9 -1
  273. package/docs/file/src/iot/catalog/Datastream.js.html +9 -1
  274. package/docs/file/src/iot/catalog/Qrating.js.html +9 -1
  275. package/docs/file/src/iot/datamodels/Datamodels.js.html +9 -1
  276. package/docs/file/src/iot/datamodels/DatamodelsFinder.js.html +9 -1
  277. package/docs/file/src/iot/datamodels/DatamodelsHelper.js.html +9 -1
  278. package/docs/file/src/operations/OperationActions.js.html +9 -1
  279. package/docs/file/src/operations/OperationFinder.js.html +9 -1
  280. package/docs/file/src/operations/Operations.js.html +9 -1
  281. package/docs/file/src/operations/PeriodicityActions.js.html +9 -1
  282. package/docs/file/src/operations/catalog/AppendEntitiesBy.js.html +9 -1
  283. package/docs/file/src/operations/catalog/BaseOperationBuilder.js.html +9 -1
  284. package/docs/file/src/operations/catalog/Operation.js.html +9 -1
  285. package/docs/file/src/operations/catalog/parameters/BaseParameterBuilderWithParent.js.html +9 -1
  286. package/docs/file/src/operations/catalog/parameters/ParameterBuilderFactory.js.html +9 -1
  287. package/docs/file/src/operations/catalog/period/DAYS_ENUM.js.html +9 -1
  288. package/docs/file/src/operations/catalog/period/ExecuteEachBuilder.js.html +9 -1
  289. package/docs/file/src/operations/catalog/period/ExecuteEveryBuilder.js.html +9 -1
  290. package/docs/file/src/operations/catalog/period/MONTHS_ENUM.js.html +9 -1
  291. package/docs/file/src/operations/catalog/period/PeriodicityUpdateBuilder.js.html +9 -1
  292. package/docs/file/src/operations/catalog/period/pattern/ByGeneric.js.html +9 -1
  293. package/docs/file/src/operations/catalog/period/pattern/ByMonth.js.html +9 -1
  294. package/docs/file/src/operations/catalog/period/pattern/ByWeek.js.html +9 -1
  295. package/docs/file/src/operations/catalog/period/pattern/ByYear.js.html +9 -1
  296. package/docs/file/src/organizations/OrganizationFinder.js.html +9 -1
  297. package/docs/file/src/organizations/Organizations.js.html +9 -1
  298. package/docs/file/src/provision/BaseProvision.js.html +9 -1
  299. package/docs/file/src/provision/bulk/BulkExecutionBuilder.js.html +393 -0
  300. package/docs/file/src/provision/entities/AssetBuilder.js.html +9 -1
  301. package/docs/file/src/provision/entities/BulkBuilder.js.html +9 -1
  302. package/docs/file/src/provision/entities/ComplexBuilder.js.html +9 -1
  303. package/docs/file/src/provision/entities/CsvBulkBuilder.js.html +9 -1
  304. package/docs/file/src/provision/entities/DeviceBuilder.js.html +9 -1
  305. package/docs/file/src/provision/entities/EntityBuilder.js.html +9 -1
  306. package/docs/file/src/provision/entities/JsonBulkBuilder.js.html +9 -1
  307. package/docs/file/src/provision/entities/JsonFlattenedBulkBuilder.js.html +9 -1
  308. package/docs/file/src/provision/entities/SimpleBuilder.js.html +9 -1
  309. package/docs/file/src/provision/entities/SubscriberBuilder.js.html +9 -1
  310. package/docs/file/src/provision/entities/SubscriptionBuilder.js.html +9 -1
  311. package/docs/file/src/provision/entities/TicketBuilder.js.html +9 -1
  312. package/docs/file/src/provisionProcessors/provisionProcessors.js.html +349 -0
  313. package/docs/file/src/provisionProcessors/provisionProcessorsFinder.js.html +302 -0
  314. package/docs/file/src/rulesConfiguration/RuleConfigurations.js.html +9 -1
  315. package/docs/file/src/rulesConfiguration/RuleConfigurationsActions.js.html +9 -1
  316. package/docs/file/src/rulesConfiguration/RuleConfigurationsCatalog.js.html +9 -1
  317. package/docs/file/src/rulesConfiguration/RuleConfigurationsFinder.js.html +9 -1
  318. package/docs/file/src/rulesConfiguration/_RuleCondition.js.html +9 -1
  319. package/docs/file/src/rulesConfiguration/_RuleNotification.js.html +9 -1
  320. package/docs/file/src/searching/AssetSearch.js.html +10 -2
  321. package/docs/file/src/searching/BaseSearch.js.html +10 -2
  322. package/docs/file/src/searching/DeviceSearch.js.html +10 -2
  323. package/docs/file/src/searching/EntitySearch.js.html +9 -1
  324. package/docs/file/src/searching/FilterBuilder.js.html +9 -1
  325. package/docs/file/src/searching/QuickSearch.js.html +9 -1
  326. package/docs/file/src/searching/Search.js.html +10 -2
  327. package/docs/file/src/searching/SelectBuilder.js.html +9 -1
  328. package/docs/file/src/searching/StaticSearch.js.html +9 -1
  329. package/docs/file/src/searching/WPSearch.js.html +294 -0
  330. package/docs/file/src/searching/builder/AdministrativeStateSearchBuilder.js.html +9 -1
  331. package/docs/file/src/searching/builder/AlarmsSearchBuilder.js.html +9 -1
  332. package/docs/file/src/searching/builder/AllowedResourceTypeSearchBuilder.js.html +9 -1
  333. package/docs/file/src/searching/builder/AreasSearchBuilder.js.html +9 -1
  334. package/docs/file/src/searching/builder/AssetsSearchBuilder.js.html +9 -1
  335. package/docs/file/src/searching/builder/BasicTypesSearchBuilder.js.html +9 -1
  336. package/docs/file/src/searching/builder/BulkExecutionSearchBuilder.js.html +300 -0
  337. package/docs/file/src/searching/builder/BulkSearchBuilder.js.html +9 -1
  338. package/docs/file/src/searching/builder/BundlesSearchBuilder.js.html +9 -1
  339. package/docs/file/src/searching/builder/CertificatesSearchBuilder.js.html +9 -1
  340. package/docs/file/src/searching/builder/ChannelsSearchBuilder.js.html +9 -1
  341. package/docs/file/src/searching/builder/CommunicationsModuleTypeSearchBuilder.js.html +9 -1
  342. package/docs/file/src/searching/builder/CountryCodesSearchBuilder.js.html +9 -1
  343. package/docs/file/src/searching/builder/DatamodelsSearchBuilder.js.html +9 -1
  344. package/docs/file/src/searching/builder/DatapointsSearchBuilder.js.html +9 -1
  345. package/docs/file/src/searching/builder/DatasetEntitiesSearchBuilder.js.html +9 -1
  346. package/docs/file/src/searching/builder/DatasetsCatalogSearchBuilder.js.html +9 -1
  347. package/docs/file/src/searching/builder/DatastreamsSearchBuilder.js.html +9 -1
  348. package/docs/file/src/searching/builder/DevicesSearchBuilder.js.html +9 -1
  349. package/docs/file/src/searching/builder/DomainsSearchBuilder.js.html +9 -1
  350. package/docs/file/src/searching/builder/EntitiesSearchBuilder.js.html +9 -1
  351. package/docs/file/src/searching/builder/ExecutionsSearchBuilder.js.html +9 -1
  352. package/docs/file/src/searching/builder/FeedsSearchBuilder.js.html +9 -1
  353. package/docs/file/src/searching/builder/FieldsDefinitionSearchBuilder.js.html +9 -1
  354. package/docs/file/src/searching/builder/FlattenedSearchBuilder.js.html +9 -1
  355. package/docs/file/src/searching/builder/HardwaresSearchBuilder.js.html +9 -1
  356. package/docs/file/src/searching/builder/IoTDatastreamAccessSearchBuilder.js.html +9 -1
  357. package/docs/file/src/searching/builder/IoTDatastreamPeriodSearchBuilder.js.html +9 -1
  358. package/docs/file/src/searching/builder/IoTDatastreamStoragePeriodSearchBuilder.js.html +9 -1
  359. package/docs/file/src/searching/builder/MobilePhoneProviderSearchBuilder.js.html +9 -1
  360. package/docs/file/src/searching/builder/OperationalStatusSearchBuilder.js.html +9 -1
  361. package/docs/file/src/searching/builder/OperationsSearchBuilder.js.html +9 -1
  362. package/docs/file/src/searching/builder/OrganizationsSearchBuilder.js.html +9 -1
  363. package/docs/file/src/searching/builder/PlansSearchBuilder.js.html +9 -1
  364. package/docs/file/src/searching/builder/PreFilteredSearchBuilder.js.html +9 -1
  365. package/docs/file/src/searching/builder/RawSearchBuilder.js.html +9 -1
  366. package/docs/file/src/searching/builder/ResourceTypeSearchBuilder.js.html +9 -1
  367. package/docs/file/src/searching/builder/RuleConfigurationSeveritySearchBuilder.js.html +9 -1
  368. package/docs/file/src/searching/builder/RuleModeSearchBuilder.js.html +9 -1
  369. package/docs/file/src/searching/builder/RuleTypeSearchBuilder.js.html +9 -1
  370. package/docs/file/src/searching/builder/RulesSearchBuilder.js.html +9 -1
  371. package/docs/file/src/searching/builder/SearchBuilder.js.html +9 -1
  372. package/docs/file/src/searching/builder/SearchWithSummaryBuilder.js.html +9 -1
  373. package/docs/file/src/searching/builder/ServiceGroupSearchBuilder.js.html +9 -1
  374. package/docs/file/src/searching/builder/SoftwaresSearchBuilder.js.html +9 -1
  375. package/docs/file/src/searching/builder/SubscribersSearchBuilder.js.html +9 -1
  376. package/docs/file/src/searching/builder/SubscriptionsSearchBuilder.js.html +9 -1
  377. package/docs/file/src/searching/builder/TasksSearchBuilder.js.html +9 -1
  378. package/docs/file/src/searching/builder/TicketPrioritySearchBuilder.js.html +9 -1
  379. package/docs/file/src/searching/builder/TicketSeveritySearchBuilder.js.html +9 -1
  380. package/docs/file/src/searching/builder/TicketStatusSearchBuilder.js.html +9 -1
  381. package/docs/file/src/searching/builder/TicketsSearchBuilder.js.html +9 -1
  382. package/docs/file/src/searching/builder/TimezoneSearchBuilder.js.html +9 -1
  383. package/docs/file/src/searching/builder/UserLanguagesSearchBuilder.js.html +9 -1
  384. package/docs/file/src/searching/builder/UserProfilesSearchBuilder.js.html +9 -1
  385. package/docs/file/src/searching/builder/UsersSearchBuilder.js.html +9 -1
  386. package/docs/file/src/searching/builder/WorkgroupsSearchBuilder.js.html +9 -1
  387. package/docs/file/src/searching/error/SearchBuilderError.js.html +9 -1
  388. package/docs/file/src/security/ADMINISTRATIVE_STATE_ENUM.js.html +9 -1
  389. package/docs/file/src/security/CertificateFinder.js.html +9 -1
  390. package/docs/file/src/security/Certificates.js.html +9 -1
  391. package/docs/file/src/security/MIME_TYPES_ENUM.js.html +9 -1
  392. package/docs/file/src/security/Security.js.html +9 -1
  393. package/docs/file/src/security/USAGES_ENUM.js.html +9 -1
  394. package/docs/file/src/users/UserFinder.js.html +9 -1
  395. package/docs/file/src/users/Users.js.html +9 -1
  396. package/docs/file/src/util/DATE_FORMAT.js.html +9 -1
  397. package/docs/file/src/util/Expression.js.html +9 -1
  398. package/docs/file/src/util/NorthAmpliaREST.js.html +44 -32
  399. package/docs/file/src/util/SelectElement.js.html +9 -1
  400. package/docs/file/src/util/SouthAmpliaREST.js.html +9 -1
  401. package/docs/file/src/util/formats/check_types.js.html +16 -3
  402. package/docs/file/src/util/searchingFields/FieldFinder.js.html +11 -2
  403. package/docs/file/src/util/searchingFields/IotFields.js.html +27 -3
  404. package/docs/file/src/util/searchingFields/source-precompiled/Fields.js.html +9 -1
  405. package/docs/file/src/workgroups/WorkgroupFinder.js.html +9 -1
  406. package/docs/file/src/workgroups/WorkgroupRelations.js.html +9 -1
  407. package/docs/file/src/workgroups/WorkgroupRelationsFinder.js.html +9 -1
  408. package/docs/file/src/workgroups/Workgroups.js.html +9 -1
  409. package/docs/identifiers.html +234 -4
  410. package/docs/index.html +9 -1
  411. package/docs/manual/index.html +225 -3
  412. package/docs/package.json +1 -1
  413. package/docs/script/search_index.js +216 -0
  414. package/docs/source.html +262 -204
  415. package/docs/test-file/client/autogeneratedFields/fields.spec.js.html +9 -1
  416. package/docs/test-file/client/bundles/bundles.spec.js.html +9 -1
  417. package/docs/test-file/client/collection/iot.spec.js.html +9 -1
  418. package/docs/test-file/client/device/device.spec.js.html +9 -1
  419. package/docs/test-file/client/provision/devices.provision.spec.js.html +9 -1
  420. package/docs/test-file/client/searching/FilterBuilder.spec.js.html +9 -1
  421. package/docs/test-file/client/searching/datapoints.search.spec.js.html +9 -1
  422. package/docs/test-file/client/searching/module.searching.spec.js.html +9 -1
  423. package/docs/test-file/client/searching/quicksearch.spec.js.html +9 -1
  424. package/docs/test-file/client/searching/rawsearch.spec.js.html +9 -1
  425. package/docs/test-file/client/searching/search.spec.js.html +9 -1
  426. package/docs/test-file/client/security/certificates.spec.js.html +9 -1
  427. package/docs/test-file/client/users/find.spec.js.html +9 -1
  428. package/docs/test-file/client/users/user.spec.js.html +9 -1
  429. package/docs/test.html +9 -1
  430. package/docs/variable/index.html +151 -3
  431. package/features/features/provision/bulk/execute_bulk.feature +60 -0
  432. package/features/features/provision/bulk/find_bulk_execution.feature +93 -0
  433. package/features/features/provision/processors/create_delete_processors.feature +49 -0
  434. package/features/features/provision/processors/find_provision_processors.feature +59 -0
  435. package/features/features/provision/processors/update_provision_processors.feature +32 -0
  436. package/features/features/searching/bulk/searching_bulk_executions.feature +68 -0
  437. package/features/step_definitions/file_test/bulk_execution_simple.xls +0 -0
  438. package/features/step_definitions/given_step_definitions.js +2 -2
  439. package/features/step_definitions/given_step_definitions_using_model.js +58 -12
  440. package/features/step_definitions/then_step_definitions.js +1 -0
  441. package/features/step_definitions/then_step_definitions_using_model.js +12 -0
  442. package/features/step_definitions/when_step_definitions.js +49 -5
  443. package/features/step_definitions/when_step_definitions_using_model.js +1 -0
  444. package/features/support/create_provision_model.js +7 -1
  445. package/features/support/delete_provision_model.js +3 -0
  446. package/features/support/find_model.js +10 -1
  447. package/features/support/utils_model.js +15 -0
  448. package/features/support/world.js +2 -2
  449. package/opengate-api-bower.js +2 -1
  450. package/opengate-api-npm.js +2 -1
  451. package/package.json +1 -1
  452. package/scripts/execute_tests.js +2 -2
  453. package/scripts/release_version.js +8 -8
  454. package/src/InternalOpenGateAPI.js +68 -2
  455. package/src/bulk/BulkExecutionFinder.js +95 -0
  456. package/src/provision/bulk/BulkExecutionBuilder.js +133 -0
  457. package/src/provisionProcessors/provisionProcessors.js +89 -0
  458. package/src/provisionProcessors/provisionProcessorsFinder.js +42 -0
  459. package/src/searching/AssetSearch.js +1 -1
  460. package/src/searching/BaseSearch.js +1 -1
  461. package/src/searching/DeviceSearch.js +1 -1
  462. package/src/searching/Search.js +1 -1
  463. package/src/searching/WPSearch.js +34 -0
  464. package/src/searching/builder/BulkExecutionSearchBuilder.js +40 -0
  465. package/src/util/NorthAmpliaREST.js +35 -31
  466. package/src/util/formats/check_types.js +7 -2
  467. package/src/util/searchingFields/FieldFinder.js +2 -1
  468. package/src/util/searchingFields/IotFields.js +18 -2
  469. package/dist/opengate-api-bower-10.3.1.js.map +0 -1
  470. package/dist/opengate-api-bower-10.3.1.min.js.map +0 -1
@@ -43,7 +43,9 @@
43
43
  <li data-ice="doc"><div data-ice="dirPath" class="nav-dir-path">areas</div><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/areas/AreaFinder.js~AreaFinder.html">AreaFinder</a></span></span></li>
44
44
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/areas/Areas.js~Areas.html">Areas</a></span></span></li>
45
45
  <li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-TYPE_ENUM">TYPE_ENUM</a></span></span></li>
46
- <li data-ice="doc"><div data-ice="dirPath" class="nav-dir-path">bulk</div><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/bulk/BulkFinder.js~BulkFinder.html">BulkFinder</a></span></span></li>
46
+ <li data-ice="doc"><div data-ice="dirPath" class="nav-dir-path">bulk</div><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/bulk/BulkExecutionFinder.js~BulkExecutionFinder.html">BulkExecutionFinder</a></span></span></li>
47
+ <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/bulk/BulkFinder.js~BulkFinder.html">BulkFinder</a></span></span></li>
48
+ <li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-MIME_TYPES_ENUM">MIME_TYPES_ENUM</a></span></span></li>
47
49
  <li data-ice="doc"><div data-ice="dirPath" class="nav-dir-path">bundles</div><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/bundles/BundleFinder.js~BundleFinder.html">BundleFinder</a></span></span></li>
48
50
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/bundles/Bundles.js~Bundles.html">Bundles</a></span></span></li>
49
51
  <li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-ACTION_ENUM">ACTION_ENUM</a></span></span></li>
@@ -117,6 +119,8 @@
117
119
  <li data-ice="doc"><div data-ice="dirPath" class="nav-dir-path">organizations</div><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/organizations/OrganizationFinder.js~OrganizationFinder.html">OrganizationFinder</a></span></span></li>
118
120
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/organizations/Organizations.js~Organizations.html">Organizations</a></span></span></li>
119
121
  <li data-ice="doc"><div data-ice="dirPath" class="nav-dir-path">provision</div><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/provision/BaseProvision.js~BaseProvision.html">BaseProvision</a></span></span></li>
122
+ <li data-ice="doc"><div data-ice="dirPath" class="nav-dir-path">provision/bulk</div><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/provision/bulk/BulkExecutionBuilder.js~BulkExecutionBuilder.html">BulkExecutionBuilder</a></span></span></li>
123
+ <li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-TYPES">TYPES</a></span></span></li>
120
124
  <li data-ice="doc"><div data-ice="dirPath" class="nav-dir-path">provision/entities</div><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/provision/entities/AssetBuilder.js~AssetBuilder.html">AssetBuilder</a></span></span></li>
121
125
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/provision/entities/BulkBuilder.js~BulkBuilder.html">BulkBuilder</a></span></span></li>
122
126
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/provision/entities/ComplexBuilder.js~ComplexBuilder.html">ComplexBuilder</a></span></span></li>
@@ -133,6 +137,8 @@
133
137
  <li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-SubscriberID">SubscriberID</a></span></span></li>
134
138
  <li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-SubscriptionID">SubscriptionID</a></span></span></li>
135
139
  <li data-ice="doc"><span data-ice="kind" class="kind-variable">V</span><span data-ice="name"><span><a href="variable/index.html#static-variable-TicketID">TicketID</a></span></span></li>
140
+ <li data-ice="doc"><div data-ice="dirPath" class="nav-dir-path">provisionProcessors</div><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/provisionProcessors/provisionProcessors.js~ProvisionProcessors.html">ProvisionProcessors</a></span></span></li>
141
+ <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/provisionProcessors/provisionProcessorsFinder.js~provisionProcessorsFinder.html">provisionProcessorsFinder</a></span></span></li>
136
142
  <li data-ice="doc"><div data-ice="dirPath" class="nav-dir-path">rulesConfiguration</div><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/rulesConfiguration/RuleConfigurations.js~RuleConfigurations.html">RuleConfigurations</a></span></span></li>
137
143
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/rulesConfiguration/RuleConfigurationsActions.js~RuleConfigurationsActions.html">RuleConfigurationsActions</a></span></span></li>
138
144
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/rulesConfiguration/RuleConfigurationsCatalog.js~RuleConfigurationsCatalog.html">RuleConfigurationsCatalog</a></span></span></li>
@@ -146,12 +152,14 @@
146
152
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/Search.js~Search.html">Search</a></span></span></li>
147
153
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/SelectBuilder.js~SelectBuilder.html">SelectBuilder</a></span></span></li>
148
154
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/StaticSearch.js~StaticSearch.html">StaticSearch</a></span></span></li>
155
+ <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/WPSearch.js~WPSearch.html">WPSearch</a></span></span></li>
149
156
  <li data-ice="doc"><div data-ice="dirPath" class="nav-dir-path">searching/builder</div><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/builder/AdministrativeStateSearchBuilder.js~AdministrativeStateSearchBuilder.html">AdministrativeStateSearchBuilder</a></span></span></li>
150
157
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/builder/AlarmsSearchBuilder.js~AlarmsSearchBuilder.html">AlarmsSearchBuilder</a></span></span></li>
151
158
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/builder/AllowedResourceTypeSearchBuilder.js~AllowedResourceTypeSearchBuilder.html">AllowedResourceTypeSearchBuilder</a></span></span></li>
152
159
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/builder/AreasSearchBuilder.js~AreasSearchBuilder.html">AreasSearchBuilder</a></span></span></li>
153
160
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/builder/AssetsSearchBuilder.js~AssetsSearchBuilder.html">AssetsSearchBuilder</a></span></span></li>
154
161
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/builder/BasicTypesSearchBuilder.js~BasicTypesSearchBuilder.html">BasicTypesSearchBuilder</a></span></span></li>
162
+ <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/builder/BulkExecutionSearchBuilder.js~BulkExecutionSearchBuilder.html">BulkExecutionSearchBuilder</a></span></span></li>
155
163
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/builder/BulkSearchBuilder.js~BulkSearchBuilder.html">BulkSearchBuilder</a></span></span></li>
156
164
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/builder/BundlesSearchBuilder.js~BundlesSearchBuilder.html">BundlesSearchBuilder</a></span></span></li>
157
165
  <li data-ice="doc"><span data-ice="kind" class="kind-class">C</span><span data-ice="name"><span><a href="class/src/searching/builder/CertificatesSearchBuilder.js~CertificatesSearchBuilder.html">CertificatesSearchBuilder</a></span></span></li>
@@ -583,7 +591,7 @@
583
591
  <p>
584
592
 
585
593
 
586
- <span data-ice="name"><span><a href="variable/index.html#static-variable-IOT_FIELDS">IOT_FIELDS</a></span></span><span data-ice="signature">: {&quot;DATAPOINTS&quot;: <span>*</span>, &quot;DATAMODELS&quot;: <span>*</span>, &quot;DATASTREAMS&quot;: <span>*</span>, &quot;DEVICE_PART_DEVICE&quot;: <span>*</span>, &quot;USER&quot;: <span>*</span>, &quot;DOMAIN&quot;: <span>*</span>, &quot;AREAS&quot;: <span>*</span>, &quot;TASKS&quot;: <span>*</span>, &quot;BULK&quot;: <span>*</span>, &quot;RULE&quot;: <span>*</span>, &quot;ENTITY_ALARM&quot;: <span>*</span>, &quot;GENERAL&quot;: <span>*</span>, &quot;EMPTY&quot;: <span>*</span>, &quot;OPERATORS&quot;: <span>*</span>}</span>
594
+ <span data-ice="name"><span><a href="variable/index.html#static-variable-IOT_FIELDS">IOT_FIELDS</a></span></span><span data-ice="signature">: {&quot;DATAPOINTS&quot;: <span>*</span>, &quot;DATAMODELS&quot;: <span>*</span>, &quot;DATASTREAMS&quot;: <span>*</span>, &quot;DEVICE_PART_DEVICE&quot;: <span>*</span>, &quot;USER&quot;: <span>*</span>, &quot;DOMAIN&quot;: <span>*</span>, &quot;AREAS&quot;: <span>*</span>, &quot;TASKS&quot;: <span>*</span>, &quot;LEGACY_BULK&quot;: <span>*</span>, &quot;BULK&quot;: <span>*</span>, &quot;RULE&quot;: <span>*</span>, &quot;ENTITY_ALARM&quot;: <span>*</span>, &quot;GENERAL&quot;: <span>*</span>, &quot;EMPTY&quot;: <span>*</span>, &quot;OPERATORS&quot;: <span>*</span>}</span>
587
595
  </p>
588
596
  </div>
589
597
  <div>
@@ -631,6 +639,33 @@
631
639
 
632
640
 
633
641
 
642
+ <span class="override" data-ice="override"></span>
643
+ </td>
644
+ <td>
645
+ <div>
646
+ <p>
647
+
648
+
649
+ <span data-ice="name"><span><a href="variable/index.html#static-variable-MIME_TYPES_ENUM">MIME_TYPES_ENUM</a></span></span><span data-ice="signature">: <span><span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></span><span>[]</span></span></span>
650
+ </p>
651
+ </div>
652
+ <div>
653
+
654
+
655
+
656
+ </div>
657
+ </td>
658
+ <td>
659
+
660
+
661
+ </td>
662
+ </tr>
663
+ <tr data-ice="target">
664
+ <td>
665
+ <span class="access" data-ice="access">public</span>
666
+
667
+
668
+
634
669
  <span class="override" data-ice="override"></span>
635
670
  </td>
636
671
  <td>
@@ -1154,6 +1189,33 @@
1154
1189
 
1155
1190
 
1156
1191
 
1192
+ <span class="override" data-ice="override"></span>
1193
+ </td>
1194
+ <td>
1195
+ <div>
1196
+ <p>
1197
+
1198
+
1199
+ <span data-ice="name"><span><a href="variable/index.html#static-variable-TYPES">TYPES</a></span></span><span data-ice="signature">: {&quot;xls&quot;: <span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></span>, &quot;xlsx&quot;: <span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></span>}</span>
1200
+ </p>
1201
+ </div>
1202
+ <div>
1203
+
1204
+
1205
+
1206
+ </div>
1207
+ </td>
1208
+ <td>
1209
+
1210
+
1211
+ </td>
1212
+ </tr>
1213
+ <tr data-ice="target">
1214
+ <td>
1215
+ <span class="access" data-ice="access">public</span>
1216
+
1217
+
1218
+
1157
1219
  <span class="override" data-ice="override"></span>
1158
1220
  </td>
1159
1221
  <td>
@@ -1824,7 +1886,7 @@
1824
1886
 
1825
1887
 
1826
1888
 
1827
- <span data-ice="name">IOT_FIELDS</span><span data-ice="signature">: {&quot;DATAPOINTS&quot;: <span>*</span>, &quot;DATAMODELS&quot;: <span>*</span>, &quot;DATASTREAMS&quot;: <span>*</span>, &quot;DEVICE_PART_DEVICE&quot;: <span>*</span>, &quot;USER&quot;: <span>*</span>, &quot;DOMAIN&quot;: <span>*</span>, &quot;AREAS&quot;: <span>*</span>, &quot;TASKS&quot;: <span>*</span>, &quot;BULK&quot;: <span>*</span>, &quot;RULE&quot;: <span>*</span>, &quot;ENTITY_ALARM&quot;: <span>*</span>, &quot;GENERAL&quot;: <span>*</span>, &quot;EMPTY&quot;: <span>*</span>, &quot;OPERATORS&quot;: <span>*</span>}</span>
1889
+ <span data-ice="name">IOT_FIELDS</span><span data-ice="signature">: {&quot;DATAPOINTS&quot;: <span>*</span>, &quot;DATAMODELS&quot;: <span>*</span>, &quot;DATASTREAMS&quot;: <span>*</span>, &quot;DEVICE_PART_DEVICE&quot;: <span>*</span>, &quot;USER&quot;: <span>*</span>, &quot;DOMAIN&quot;: <span>*</span>, &quot;AREAS&quot;: <span>*</span>, &quot;TASKS&quot;: <span>*</span>, &quot;LEGACY_BULK&quot;: <span>*</span>, &quot;BULK&quot;: <span>*</span>, &quot;RULE&quot;: <span>*</span>, &quot;ENTITY_ALARM&quot;: <span>*</span>, &quot;GENERAL&quot;: <span>*</span>, &quot;EMPTY&quot;: <span>*</span>, &quot;OPERATORS&quot;: <span>*</span>}</span>
1828
1890
  <span class="right-info">
1829
1891
 
1830
1892
 
@@ -1902,6 +1964,49 @@
1902
1964
 
1903
1965
 
1904
1966
 
1967
+ </div>
1968
+ <div class="detail" data-ice="detail">
1969
+ <h3 data-ice="anchor" id="static-variable-MIME_TYPES_ENUM">
1970
+ <span class="access" data-ice="access">public</span>
1971
+
1972
+
1973
+
1974
+
1975
+
1976
+ <span data-ice="name">MIME_TYPES_ENUM</span><span data-ice="signature">: <span><span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></span><span>[]</span></span></span>
1977
+ <span class="right-info">
1978
+
1979
+
1980
+ <span data-ice="source"><span><a href="file/src/bulk/BulkExecutionFinder.js.html#lineNumber7">source</a></span></span>
1981
+ </span>
1982
+ </h3>
1983
+
1984
+ <div data-ice="importPath" class="import-path"><pre class="prettyprint"><code data-ice="importPathCode">import {MIME_TYPES_ENUM} from &apos;<span><a href="file/src/bulk/BulkExecutionFinder.js.html#lineNumber7">opengate-js/src/bulk/BulkExecutionFinder.js</a></span>&apos;</code></pre></div>
1985
+
1986
+
1987
+
1988
+
1989
+
1990
+
1991
+ <div data-ice="properties">
1992
+ </div>
1993
+
1994
+
1995
+
1996
+
1997
+
1998
+
1999
+
2000
+
2001
+
2002
+
2003
+
2004
+
2005
+
2006
+
2007
+
2008
+
2009
+
1905
2010
  </div>
1906
2011
  <div class="detail" data-ice="detail">
1907
2012
  <h3 data-ice="anchor" id="static-variable-MIME_TYPES_ENUM">
@@ -2729,6 +2834,49 @@
2729
2834
 
2730
2835
 
2731
2836
 
2837
+ </div>
2838
+ <div class="detail" data-ice="detail">
2839
+ <h3 data-ice="anchor" id="static-variable-TYPES">
2840
+ <span class="access" data-ice="access">public</span>
2841
+
2842
+
2843
+
2844
+
2845
+
2846
+ <span data-ice="name">TYPES</span><span data-ice="signature">: {&quot;xls&quot;: <span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></span>, &quot;xlsx&quot;: <span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a></span>}</span>
2847
+ <span class="right-info">
2848
+
2849
+
2850
+ <span data-ice="source"><span><a href="file/src/provision/bulk/BulkExecutionBuilder.js.html#lineNumber5">source</a></span></span>
2851
+ </span>
2852
+ </h3>
2853
+
2854
+ <div data-ice="importPath" class="import-path"><pre class="prettyprint"><code data-ice="importPathCode">import {TYPES} from &apos;<span><a href="file/src/provision/bulk/BulkExecutionBuilder.js.html#lineNumber5">opengate-js/src/provision/bulk/BulkExecutionBuilder.js</a></span>&apos;</code></pre></div>
2855
+
2856
+
2857
+
2858
+
2859
+
2860
+
2861
+ <div data-ice="properties">
2862
+ </div>
2863
+
2864
+
2865
+
2866
+
2867
+
2868
+
2869
+
2870
+
2871
+
2872
+
2873
+
2874
+
2875
+
2876
+
2877
+
2878
+
2879
+
2732
2880
  </div>
2733
2881
  <div class="detail" data-ice="detail">
2734
2882
  <h3 data-ice="anchor" id="static-variable-TYPE_ENUM">
@@ -0,0 +1,60 @@
1
+ # features/provision/entities/create_delete_device_bulk_csv.feature
2
+ @provision
3
+ @bulk
4
+ @provision_processors
5
+ #@wip
6
+ Feature: Execute bulk
7
+ As a device of JsApi
8
+ I want to execute bulk
9
+ So, I can create a device
10
+
11
+ Background:
12
+ Given an apikey user by "require-real-apikey"
13
+
14
+ Scenario: Creating an organization to use in bulk
15
+ Given an ogapi "organizations builder" util
16
+ Then I want to create an "organization"
17
+ And the "name" "bulk_execution"
18
+ And the "description" "device organization"
19
+ And the "country code" "ES"
20
+ And the "lang code" "es"
21
+ And the "time zone" "Europe/Andorra"
22
+ And the "zoom" 10
23
+ And the "location" with 1 and 1
24
+ Then I delete it
25
+ And I create it
26
+ And response code should be: 201
27
+
28
+ Scenario: I want to create a device with bulk
29
+ Given an ogapi "provision processors builder" util
30
+ And I want to create a "provisionProcessors"
31
+ And the "organization" "bulk_execution"
32
+ And the "identifier" "provision_Processor_id_1"
33
+ And the "name" "mockProvisionProcessors"
34
+ And the "configurationParams" with...
35
+ | param |
36
+ | {"spreadsheet": {"sheetName": "Hoja1", "headerRow": 1,"resultColumnName": "ODM_Result" }} |
37
+ And the "scriptProcessor" with...
38
+ | param |
39
+ | { "script": "function normalizeRawObject(rawObject) { try { var normalizedObject = { 'provision.device.identifier': { '_value': { '_current': { 'value': 'hola' } } }, 'provision.administration.organization': { '_value': { '_current': { 'value': 'organization_mc' } } }, 'provision.administration.channel': { '_value': { '_current': { 'value': 'default_channel' } } }, 'provision.administration.serviceGroup': { '_value': { '_current': { 'value': 'emptyServiceGroup' } } } }; return normalizedObject; } catch (e) { printLog('>> normalizeRawObject(): exception: ' + e); throw e; } } function actionsPlanning(normalizedObject) { try { var actions = []; actions.push(CREATE_DEVICE_ACTION(normalizedObject)); return actions; } catch (e) { printLog('>> actionsPlanning(): exception: ' + e); throw e; } }" } |
40
+ Then I create it
41
+ And response code should be: 201
42
+
43
+ Then an ogapi "bulk execution builder" util with "bulk_execution" and responseId
44
+ And I read the file from "/file_test/bulk_execution_simple.xls"
45
+ And I "plan" it with bulk execution
46
+ And the content of json response must be:
47
+ """
48
+ {"rows":[{"row":2,"planningResult":"OK","plan":[{"action":"POST","entityType":"device","json":{"provision.device.identifier":{"_value":{"_current":{"value":"hola"}}},"provision.administration.organization":{"_value":{"_current":{"value":"organization_mc"}}},"provision.administration.channel":{"_value":{"_current":{"value":"default_channel"}}},"provision.administration.serviceGroup":{"_value":{"_current":{"value":"emptyServiceGroup"}}}}}]}]}
49
+ """
50
+ And I read the file from "/file_test/bulk_execution_simple.xls"
51
+ And I "bulk" it with bulk execution
52
+ Then does not throws an error
53
+
54
+
55
+ Scenario: Delete the organization
56
+ Given an ogapi "organizations builder" util
57
+ Then I want to create an "organization"
58
+ And the "name" "bulk_execution"
59
+ Then I delete it
60
+ And response code should be: 200
@@ -0,0 +1,93 @@
1
+ # features/provision/entities/create_delete_device_bulk_csv.feature
2
+ @finder
3
+ @bulk
4
+ @provision_processors
5
+ @wip
6
+ Feature: Find bulk executions
7
+ As a device of JsApi
8
+ I want to find bulk
9
+ So, I can find a device
10
+
11
+
12
+
13
+ Background:
14
+ Given an apikey user by "require-real-apikey"
15
+
16
+ Scenario: Creating an organization to use in bulk
17
+ Given an ogapi "organizations builder" util
18
+ Then I want to create an "organization"
19
+ And the "name" "bulk_execution"
20
+ And the "description" "device organization"
21
+ And the "country code" "ES"
22
+ And the "lang code" "es"
23
+ And the "time zone" "Europe/Andorra"
24
+ And the "zoom" 10
25
+ And the "location" with 1 and 1
26
+ Then I delete it
27
+ And I create it
28
+ And response code should be: 201
29
+
30
+ Scenario: I want to create a device with bulk and get resume
31
+ Given an ogapi "provision processors builder" util
32
+ And I want to create a "provisionProcessors"
33
+ And the "organization" "bulk_execution"
34
+ And the "identifier" "provision_Processor_id_1"
35
+ And the "name" "mockProvisionProcessors1"
36
+ And the "configurationParams" with...
37
+ | param |
38
+ | {"spreadsheet": {"sheetName": "Hoja1", "headerRow": 1,"resultColumnName": "ODM_Result" }} |
39
+ And the "scriptProcessor" with...
40
+ | param |
41
+ | { "script": "function normalizeRawObject(rawObject) { try { var normalizedObject = { 'provision.device.identifier': { '_value': { '_current': { 'value': 'hola' } } }, 'provision.administration.organization': { '_value': { '_current': { 'value': 'organization_mc' } } }, 'provision.administration.channel': { '_value': { '_current': { 'value': 'default_channel' } } }, 'provision.administration.serviceGroup': { '_value': { '_current': { 'value': 'emptyServiceGroup' } } } }; return normalizedObject; } catch (e) { printLog('>> normalizeRawObject(): exception: ' + e); throw e; } } function actionsPlanning(normalizedObject) { try { var actions = []; actions.push(CREATE_DEVICE_ACTION(normalizedObject)); return actions; } catch (e) { printLog('>> actionsPlanning(): exception: ' + e); throw e; } }" } |
42
+ Then I create it
43
+ And response code should be: 201
44
+
45
+ Then an ogapi "bulk execution builder" util with "bulk_execution" and responseId
46
+ And I read the file from "/file_test/bulk_execution_simple.xls"
47
+ And I "bulk" it with bulk execution
48
+ Then does not throws an error
49
+ Given an ogapi "bulk execution finder" util
50
+ And I want to read a "bulk execution"
51
+ When I try to find by...
52
+ | field | content |
53
+ | organization | bulk_execution |
54
+ | id | from_location_previous_response |
55
+ And response code should be: 200
56
+
57
+ Scenario: I want to create a device with bulk and get file
58
+ Given an ogapi "provision processors builder" util
59
+ And I want to create a "provisionProcessors"
60
+ And the "organization" "bulk_execution"
61
+ And the "identifier" "provision_Processor_id_2"
62
+ And the "name" "mockProvisionProcessors2"
63
+ And the "configurationParams" with...
64
+ | param |
65
+ | {"spreadsheet": {"sheetName": "Hoja1", "headerRow": 1,"resultColumnName": "ODM_Result" }} |
66
+ And the "scriptProcessor" with...
67
+ | param |
68
+ | { "script": "function normalizeRawObject(rawObject) { try { var normalizedObject = { 'provision.device.identifier': { '_value': { '_current': { 'value': 'hola' } } }, 'provision.administration.organization': { '_value': { '_current': { 'value': 'organization_mc' } } }, 'provision.administration.channel': { '_value': { '_current': { 'value': 'default_channel' } } }, 'provision.administration.serviceGroup': { '_value': { '_current': { 'value': 'emptyServiceGroup' } } } }; return normalizedObject; } catch (e) { printLog('>> normalizeRawObject(): exception: ' + e); throw e; } } function actionsPlanning(normalizedObject) { try { var actions = []; actions.push(CREATE_DEVICE_ACTION(normalizedObject)); return actions; } catch (e) { printLog('>> actionsPlanning(): exception: ' + e); throw e; } }" } |
69
+ Then I create it
70
+ And response code should be: 201
71
+
72
+ Then an ogapi "bulk execution builder" util with "bulk_execution" and responseId
73
+ And I read the file from "/file_test/bulk_execution_simple.xls"
74
+ And I "bulk" it with bulk execution
75
+ Then does not throws an error
76
+ Then I wait 5 seconds
77
+ Given an ogapi "bulk execution finder" util
78
+ And I want to read a "bulk execution"
79
+ When I try to find by...
80
+ | field | content |
81
+ | organization | bulk_execution |
82
+ | id | from_location_previous_response |
83
+ | accept | application/vnd.ms-excel |
84
+ And response code should be: 200
85
+ And I download and read the file from "/result.xls"
86
+
87
+
88
+ Scenario: Delete the organization
89
+ Given an ogapi "organizations builder" util
90
+ Then I want to create an "organization"
91
+ And the "name" "bulk_execution"
92
+ Then I delete it
93
+ And response code should be: 200
@@ -0,0 +1,49 @@
1
+ # features/provision/datasets/create_delete_processors.feature
2
+ @provision
3
+ @processors
4
+ @create_processors
5
+
6
+
7
+ Feature: Delete and Create a processors
8
+ As a user of JsApi
9
+ I want to create a processors
10
+ So, I can create a new processors with the parametres that I have been defined
11
+
12
+ Background:
13
+ Given an apikey user by "2829be88-a7d7-4f51-aefc-3cc2385b6506"
14
+
15
+ Scenario: Creating an organization to use in processors tests
16
+ Given an ogapi "organizations builder" util
17
+ Then I want to create an "organization"
18
+ And the "name" "provisionProcessors"
19
+ And the "description" "provisionProcessors organization"
20
+ And the "country code" "ES"
21
+ And the "lang code" "es"
22
+ And the "time zone" "Europe/Andorra"
23
+ And the "zoom" 10
24
+ And the "location" with 1 and 1
25
+ Then I delete it
26
+ Then I create it
27
+ And response code should be: 201
28
+
29
+ Scenario: Create and delete a processors that does not exist
30
+ And an ogapi "provision processors builder" util
31
+ And I want to create a "provisionProcessors"
32
+ And the "organization" "provisionProcessors"
33
+ And the "identifier" "provision_Processor_id_1"
34
+ And the "name" "mockProvisionProcessors"
35
+ And the "configurationParams" with...
36
+ | param |
37
+ | {"spreadsheet": {"sheetName": "PARA", "headerRow": 2,"resultColumnName": "ODM_Result" }} |
38
+ And the "scriptProcessor" with...
39
+ | param |
40
+ | {"script": "function normalizeRawObject(rawObject) { try { var normalizedObject = {}; return normalizedObject; } catch (e) { printLog('>> normalizeRawObject(): exception: ' + e); throw e; } } function actionsPlanning(normalizedObject) { try { var actions = []; return actions; } catch (e) { printLog('>> actionsPlanning(): exception: ' + e); throw e; } }"} |
41
+ Then I create it
42
+ And response code should be: 201
43
+
44
+ Scenario: Deleting an organization
45
+ Given an ogapi "organizations builder" util
46
+ Then I want to delete an "organization"
47
+ And the "name" "provisionProcessors"
48
+ Then I delete it
49
+ And response code should be: 200
@@ -0,0 +1,59 @@
1
+ # features/provision/areas/find_provision_processors.feature
2
+ @provision
3
+ @finder
4
+ @find_provision
5
+
6
+ Feature: Find an area
7
+ As a user of JsApi
8
+ I want to find an provisionProcessors
9
+ So I can check if a provisionProcessors exists and get their information
10
+
11
+ Background:
12
+ Given an apikey user by "2829be88-a7d7-4f51-aefc-3cc2385b6506"
13
+
14
+ Scenario: Creating an organization to use in processors tests
15
+ Given an ogapi "organizations builder" util
16
+ Then I want to create an "organization"
17
+ And the "name" "provisionProcessors"
18
+ And the "description" "provisionProcessor organization"
19
+ And the "country code" "ES"
20
+ And the "lang code" "es"
21
+ And the "time zone" "Europe/Andorra"
22
+ And the "zoom" 10
23
+ And the "location" with 1 and 1
24
+ Then I delete it
25
+ Then I create it
26
+ And response code should be: 201
27
+
28
+ Scenario: Create and delete a processors that does not exist
29
+ And an ogapi "provision processors builder" util
30
+ And I want to create a "provisionProcessors"
31
+ And the "organization" "provisionProcessors"
32
+ And the "name" "mockProvisionProcessors"
33
+ And the "configurationParams" with...
34
+ | param |
35
+ | {"spreadsheet": {"sheetName": "PARA", "headerRow": 2,"resultColumnName": "ODM_Result" }} |
36
+ And the "scriptProcessor" with...
37
+ | param |
38
+ | {"script": "function normalizeRawObject(rawObject) { try { var normalizedObject = {}; return normalizedObject; } catch (e) { printLog('>> normalizeRawObject(): exception: ' + e); throw e; } } function actionsPlanning(normalizedObject) { try { var actions = []; return actions; } catch (e) { printLog('>> actionsPlanning(): exception: ' + e); throw e; } }"} |
39
+ Then I create it
40
+ And response code should be: 201
41
+
42
+ Scenario: Find a provision processors that exists
43
+ And an ogapi "provision processors finder" util
44
+ And I want to read an "provisionProcessors"
45
+ When I try to find by...
46
+ | field | content |
47
+ | organizationId | provisionProcessors |
48
+ Then response code should be: 200
49
+
50
+ Scenario: Deleting an organization
51
+ Given an ogapi "organizations builder" util
52
+ Then I want to delete an "organization"
53
+ And the "name" "provisionProcessors"
54
+ Then I delete it
55
+ And response code should be: 200
56
+
57
+
58
+
59
+
@@ -0,0 +1,32 @@
1
+ # features/provision/datasets/update_provision_processors.feature
2
+ @provision
3
+ @processors
4
+ @update_processors
5
+ @prueba23
6
+
7
+
8
+ Feature: Delete and Create a processors
9
+ As a user of JsApi
10
+ I want to create a processors
11
+ So, I can create a new processors with the parametres that I have been defined
12
+
13
+ Background:
14
+ Given an apikey user by "2829be88-a7d7-4f51-aefc-3cc2385b6506"
15
+
16
+ Scenario: Update processors
17
+ And an ogapi "provision processors builder" util
18
+ And I want to update a "provisionProcessors"
19
+ And the "organization" "provisionProcessors"
20
+ And the "name" "mockProvisionProcessors"
21
+ And the "identifier" "91010e20-1a55-4319-990d-c3752b501065"
22
+ And the "configurationParams" with...
23
+ | param |
24
+ | {"spreadsheet": {"sheetName": "PARA", "headerRow": 2,"resultColumnName": "ODM_Result" }} |
25
+ And the "scriptProcessor" with...
26
+ | param |
27
+ | {"script": "function normalizeRawObject(rawObject) { try { var normalizedObject = {}; return normalizedObject; } catch (e) { printLog('>> normalizeRawObject(): exception: ' + e); throw e; } } function actionsPlanning(normalizedObject) { try { var actions = []; return actions; } catch (e) { printLog('>> actionsPlanning(): exception: ' + e); throw e; } }"} |
28
+ Then I update it
29
+ And response code should be: 200
30
+ Then the "mockProvisionProcessors" "mockProvisionProcessors2"
31
+ And I update it
32
+ Then response code should be: 200
@@ -0,0 +1,68 @@
1
+ # features/searching/bulk/searching_bulks.feature
2
+ @searching
3
+ @searching_bulks
4
+ @bulk
5
+ @provision_processors
6
+ #@wip
7
+ Feature: Searching bulks
8
+ As a user of JsApi
9
+ I want to search into bulks collection
10
+ So I can add limit to search any user
11
+
12
+ Background:
13
+ Given an apikey user by "require-real-apikey"
14
+
15
+ Scenario: Creating an organization to use in create device
16
+ Given an ogapi "organizations builder" util
17
+ Then I want to create an "organization"
18
+ And the "name" "bulk_execution"
19
+ And the "description" "bulk processors searching"
20
+ And the "country code" "ES"
21
+ And the "lang code" "es"
22
+ And the "time zone" "Europe/Andorra"
23
+ And the "zoom" 10
24
+ And the "location" with 1 and 1
25
+ Then I delete it
26
+ Then I create it
27
+ And response code should be: 201
28
+
29
+ Scenario: I want to create a device with bulk for search
30
+ Given an ogapi "provision processors builder" util
31
+ And I want to create a "provisionProcessors"
32
+ And the "organization" "bulk_execution"
33
+ And the "identifier" "provision_Processor_id_1"
34
+ And the "name" "mockProvisionProcessors"
35
+ And the "configurationParams" with...
36
+ | param |
37
+ | {"spreadsheet": {"sheetName": "Hoja1", "headerRow": 1,"resultColumnName": "ODM_Result" }} |
38
+ And the "scriptProcessor" with...
39
+ | param |
40
+ | { "script": "function normalizeRawObject(rawObject) { try { var normalizedObject = { 'provision.device.identifier': { '_value': { '_current': { 'value': 'hola' } } }, 'provision.administration.organization': { '_value': { '_current': { 'value': 'organization_mc' } } }, 'provision.administration.channel': { '_value': { '_current': { 'value': 'default_channel' } } }, 'provision.administration.serviceGroup': { '_value': { '_current': { 'value': 'emptyServiceGroup' } } } }; return normalizedObject; } catch (e) { printLog('>> normalizeRawObject(): exception: ' + e); throw e; } } function actionsPlanning(normalizedObject) { try { var actions = []; actions.push(CREATE_DEVICE_ACTION(normalizedObject)); return actions; } catch (e) { printLog('>> actionsPlanning(): exception: ' + e); throw e; } }" } |
41
+ Then I create it
42
+ And response code should be: 201
43
+
44
+ Then an ogapi "bulk execution builder" util with "bulk_execution" and responseId
45
+ And I read the file from "/file_test/bulk_execution_simple.xls"
46
+ And I "bulk" it with bulk execution
47
+ Then does not throws an error
48
+ Then I wait 5 seconds
49
+
50
+ Scenario: Execute searching with a invalid start limit
51
+ Given an ogapi "bulk executions search" util
52
+ And the start limit by "null" and size limit by "5"
53
+ When I build it
54
+ And I execute it
55
+ And response code should be: 200
56
+
57
+ Scenario: Execute searching
58
+ Given an ogapi "bulk executions search" util
59
+ And I build it
60
+ And I execute it
61
+ And response code should be: 200
62
+
63
+ Scenario: Deleting an organization
64
+ Given an ogapi "organizations builder" util
65
+ Then I want to delete an "organization"
66
+ And the "name" "bulk_execution"
67
+ Then I delete it
68
+ And response code should be: 200
@@ -666,11 +666,11 @@ Given(/^execute each (\d+) "([^"]*)" with stop date (\d+) "([^"]*)" later than t
666
666
  callback();
667
667
  });
668
668
 
669
- Given(/^I wait (\d+) seconds$/, function (seconds, callback) {
669
+ Given(/^I wait (\d+) seconds$/, {timeout: 60*1000}, function (seconds, callback) {
670
670
  setTimeout(callback, seconds * 1000);
671
671
  });
672
672
 
673
- Given(/^I wait for DONE every (\d+) seconds, maximum (\d+) seconds$/, function (every_seconds, seconds, callback) {
673
+ Given(/^I wait for DONE every (\d+) seconds, maximum (\d+) seconds$/, {timeout: 60*1000}, function (every_seconds, seconds, callback) {
674
674
  var _this = this;
675
675
  assert.isAbove(seconds * 1000, every_seconds * 1000, 'Maximum seconds must be strictly greater than every second');
676
676
  var everyTimeout;