Commit Graph

40 Commits

Author SHA1 Message Date
Chagui-
e1baca1569 Implemented parent_group, recursive and name_prefix_filter for function list_thing_groups() 2020-05-05 18:08:28 -04:00
Chagui-
5e4451b0d5 Removed f string so python 2 can work correctly 2020-04-30 20:54:51 -04:00
Chagui-
95c459a86d Added exception for deleting a group which has childs.
Added better tests for delete_thing_group
2020-04-30 17:21:45 -04:00
Tomoya Iwata
b6789a2cc7 Added existence check of target thing to IoT ListThingPrincipals
fix #2910
2020-04-21 14:11:53 +09:00
Stephan Huber
20020c5170 Change whitespaces back to the way they were and fix typos 2020-01-23 15:46:50 +01:00
Stephan Huber
84210f6011 Merge remote-tracking branch 'upstream/master' 2020-01-23 15:37:40 +01:00
gruebel
d7ba355a65 Add missing regions to all services 2019-12-26 17:12:22 +01:00
Stephan Huber
ed8d5edb50 fix linting errors 2019-12-23 09:01:53 +01:00
Stephan Huber
a6aa0f6dbf Update models.py 2019-12-23 08:46:37 +01:00
Stephan Huber
0527e88d46 Merge remote-tracking branch 'upstream/master' 2019-12-23 08:38:53 +01:00
Chagui-
e6a12f5bd7 -Applied Black 2019-11-21 17:57:45 -03:00
Chagui-
f5ba01c867 -Fixed forever
-Added test_describe_thing_group_metadata_hierarchy to test new functionality
2019-11-21 17:16:34 -03:00
Chagui-
99781ff7e2 -Fixed problem with for loop 2019-11-21 12:39:17 -03:00
Chagui-
01a5933693 -Added group structure in metadata in FakeThingGroup, so that describe_group_thing can return the correct structure
-fixed typo inside metadata FakeThingType and FakeThingGroup: creationData -> creationDate
2019-11-21 12:32:55 -03:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
Emile Fugulin
2d5e2e9c2b Detach principal from thing when it is deleted 2019-10-24 13:59:30 -04:00
Stephan
3020ee408a Merged iot 2019-05-28 08:56:49 +02:00
Stephan
d0de38601d Merge remote-tracking branch 'upstream/master' 2019-05-28 08:55:50 +02:00
Adam Hodges
71f83d7e4f Add support for IoT register_certificate (#1827) 2019-05-25 18:30:23 +01:00
Stephan
8cd62728c6 🚨 2019-04-29 15:50:13 +02:00
Stephan
86c127142b 2019-04-29 15:44:10 +02:00
Stephan
d98e96ddd7 🚨 2019-04-29 13:32:42 +02:00
Stephan
498419462d updaated 2019-04-29 13:26:33 +02:00
Stephan
82f476bb46 adding more job mocks for IoT service 2019-01-09 16:18:22 +01:00
Stephan
cfd12b6d19 added IoT job_execution and job mocks 2019-01-07 14:22:12 +01:00
Steve Pulec
19bdf7de73
Merge pull request #1901 from cm-iwata/add_iot_attach_policy
Add support for IoT attach_policy
2018-12-28 20:17:31 -05:00
Stephan
3ea673b3d0 started with mocking job execution 2018-12-21 16:30:17 +01:00
Tomoya Iwata
e52158f811 Add support for IoT detach_policy 2018-11-06 17:15:30 +09:00
Tomoya Iwata
3d71a67794 Add some validations for IoT delete operations
fix #1908
2018-10-30 14:51:04 +09:00
Tomoya Iwata
80f860727f Add support for IoT attach_policy 2018-10-25 20:44:42 +09:00
Stephan Huber
bb7e1197bc adding AWS IoT policy version handling
[+] `list_policy_version`
[+] `get_policy_version`
[+] `create_policy_version`
[+] `delete_policy_version`
[+] `set_default_policy_version`
2018-10-25 12:13:56 +02:00
Stephan Huber
36d8f118e3 implement attach_policy, detach_policy and list_attached_policy 2018-10-24 14:53:08 +02:00
Stephan Huber
c49a8387bd implemented get_job_document for AWS IoT 2018-09-24 09:29:57 +02:00
Stephan Huber
a73dc49258 fix linting error 2018-06-28 13:10:09 +02:00
Stephan Huber
db3593575f list_thing_types and list_things now uses pagination 2018-06-28 10:32:51 +02:00
Stephan Huber
afa6ae288d return thing_arn when calling list_things 2018-06-04 15:58:27 +02:00
Stephan Huber
33e56461a1 Removed unused import 2018-05-09 09:26:34 +02:00
Stephan Huber
4b4ce5acde Added create_job and describe_job to aws iot mock 2018-05-09 09:22:12 +02:00
Toshiya Kawasaki
71af9317f2 Add group features to iot (#1402)
* Add thing group features

* thing thing-group relation

* clean up comments
2018-01-04 09:59:37 +00:00
Toshiya Kawasaki
0de2e55b13 Support iot and iot-data (#1303)
* append appropriate urls when scaffolding

* make dispatch for rest-api

* fix dispatch for rest-json

* fix moto/core/response to obtain path and body parameters

* small fixes

* remove unused import

* fix get_int_param

* Add features of things and thing-types

* fix scaffold

* basic crud of cert

* support basic CRUD of policy

* refactor

* fix formatting of scaffold

* support principal_pocicy

* support thing_principal

* update readme

* escape service to handle service w/ hyphen like iot-data

* escape service w/ hyphen

* fix regexp to extract region from url

* escape service

* Implement basic iota-data feature

* iot-data shadow delta

* update readme

* remove unused import

* remove comment

* fix syntax

* specify region when creating boto3 client for test

* use uuid for seed of generating cert id

* specify region_name to iotdata client in test

* specify region to boto3 client in moto response

* excude iot and iotdata tests on server mode

* fix handling of thingTypeName in describe-thing

* test if server is up for iot
2017-11-10 09:44:02 +00:00