• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ghga-de / state-management-service / 10044164296

22 Jul 2024 03:52PM UTC coverage: 90.855% (+49.6%) from 41.27%
10044164296

push

github

web-flow
Implement SMS(GSI-901) (#1)

* Adapt placeholders to SMS

* Update config

* Add the initial mongodb state management API

* Add in tests and supporting modules - only includes API test in this commit

* Update openapi docs

* Update config and template files

* Update config again to change CRUD* to RW*

Update lock files and readme

Update test get_config to only add config keys that belong

* Add docs handler between api and dao and update tests

* Add more tests

* Update openapi doc

* Set version number to 1.0.0 and update docstrings

* Support query comparison ops

Improve query parameter validation

Add integration tests

* Update readme wording and fix underscore in prefix concat

* Throw an error for query args specified more than once

* Fix type hints for query_params

* Set db_permissions default to list

* Add mongo-express to docker-compose

Fix mongodb conn url

Move DocsDao client setup to aenter

* Unpack * into 'rw' in Permissions class

* Use db.coll:permissions format

* Change /docs/ to /documents/

* Use namespace path param instead of db/collection

* Simplify regex and add a couple test cases to test regex better

* Split OperationError into three distinct errors

* Apply updated regex

Co-authored-by: Christoph Zwerschke <cito@online.de>

* Fix path var regex

* Add operation_ids to endpoints

---------

Co-authored-by: Christoph Zwerschke <cito@online.de>

306 of 336 new or added lines in 13 files covered. (91.07%)

308 of 339 relevant lines covered (90.86%)

0.91 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/src/sms/ports/outbound/docs_dao.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc