Commit 729d29a
authored
Develop (#6)
* Refactoring base classes; new parser and parser tests.
* Refactoring base classes; New base classes for resources and objects.
* Base class refactoring #3.
* Proper session handling; added unit test cases.
* Fixed handling of empty results for get/post/put.
* Improved header preparation/handling.
* Added general integration testing fixture; Added .env file support.
* Base class refactoring; new structure for SimpleObject and ComplexObject and their respective parsers; Added base classes unit tests.
* Model base class improvements; Updated Measurement object model and tests.
* Model base class improvements.
* Module structure improvements; Model base class improvements - generic CRUD functions support additional resource spec; Fixed parser: False boolean fields were skipped always; User/Users implementation cleanup + base class adjustments; Adding integration tests for User/Users; Adding unit tests for User class; Added common test utils.
* Updated measurements API; Fixed select by series; Added integration/unit tests; Fixed on-creation definition of fragments for Devices/ManagedObjects.
* Default accept header can now be removed; Base API improvements + documentation.
* Added application key header tests.
* Base model/parsing improvements; Consolidation of ManagedObject, Device, Measurements.
* Doc fixes.
* Fixed device registry logging/initialization and added integration test cases.
* Parsing improvements to prevent not updatable fields from being part of the full json.
* Improved base class typing and handling of paths in derived classes; Cleansed GlobalRole model implementation; Adoption or User to new principles; Fixed factories for integration tests.
* Added generic object factory for broader use in integration tests.
* Added functionality to add/remove users and permissions from a global role.
* Updated/improved Events API.
* Fixed apply_to functionality.
* Long due refactoring of json parse/format; updated documentation strings.
* Updated/improved alarms API.
* Added apply_by and count functions to Alarms API.
* Documentation and cleanup.
* Moved Identity API to separate file; Added test cases.
* Fixed Binaries API; added tests.
* Documentation update.
* Added body/params to delete.
* Fixed imports; Added devicegroups API.
* Removed last_updated properties as it is already covered with update_time.
* Added safe_executor.
* Fixed handling of revert parameter.
* Fixed devicegroups; added integration tests.
* Fixed protected access, more consistent update handling.
* Added documentation.
* Moved ManagedObject classes to separate file.
* Improved documentation.
* Introducing Invoke; improved tag-based versioning.
* Removed obsolete utils.py.
* Fixed logging; fixed circular import from Identiy API.
* Removed outdated samples.
* Fixed applications.
* Added encoding to file open statements.
* Added argument hints.
* Fixed documentation.
* Fixed documentation.
* Fixed inventory roles implementation.
* Small documentation fixes; Added update_password functionality; Fixed inventory assignments.
* Linting fixes.
* Removed samples folder from linting; ignoring import errors.
* Prepare release.1 parent 594bea0 commit 729d29a
File tree
82 files changed
+7866
-3574
lines changed- .github/workflows
- c8y_api
- app
- model
- integration_tests
- sample
- tests
- model
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
82 files changed
+7866
-3574
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
30 | 39 | | |
31 | 40 | | |
32 | 41 | | |
33 | | - | |
34 | | - | |
| 42 | + | |
| 43 | + | |
35 | 44 | | |
36 | 45 | | |
37 | 46 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | | - | |
| 50 | + | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
| 54 | + | |
| 55 | + | |
46 | 56 | | |
47 | 57 | | |
48 | 58 | | |
49 | | - | |
| 59 | + | |
50 | 60 | | |
51 | 61 | | |
52 | 62 | | |
| |||
0 commit comments