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

ghga-de / state-management-service / 10044164296
91%

Build:
DEFAULT BRANCH: main
Ran 22 Jul 2024 03:53PM UTC
Jobs 1
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

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

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.88
src/sms/core/docs_handler.py
3
90.0
src/sms/config.py
3
89.29
src/sms/ports/inbound/docs_handler.py
3
75.0
src/sms/ports/outbound/docs_dao.py
6
0.0
src/sms/__main__.py
6
70.0
src/sms/adapters/inbound/fastapi_/configure.py
8
0.0
src/sms/main.py
Jobs
ID Job ID Ran Files Coverage
1 10044164296.1 22 Jul 2024 03:53PM UTC 22
90.86
GitHub Action Run
Source Files on build 10044164296
  • Tree
  • List 22
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4cc060d0 on github
  • Prev Build on main (#9941660339)
  • Next Build on main (#10061229119)
  • Delete
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