-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a service for definitions endpoints #842
Conversation
52f5434
to
eb24e28
Compare
K8s Regression Test Coverage
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The different classes needs to be consolidated. Some can just be raw methods. Some make sense to move to their own modules. Some other methods can be moved to utils.
We don't use the class pattern a lot so far, but I think it is better, and generally good practice to have related methods together in a relevant class, as opposed to one giant service module with all the methods we need. Logger / controller can just be used directly
d181e8e
to
d729d02
Compare
K8s Test Coverage
|
K8s Regression Test Coverage
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good - just a variety of little change requests
K8s Test Coverage
|
K8s Regression Test Coverage
|
K8s Test Coverage
|
K8s Regression Test Coverage
|
K8s Test Coverage
|
K8s Regression Test Coverage
|
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I included some minor 🎨, mainly splitting services.definitions.definitions.py
into schemas.py
and credential_definitions.py
, and then importing as schemas_service
and cred_def_service
in the routes module
K8s Test Coverage
|
K8s Regression Test Coverage
|
Moved bulk of
app/routes/definitions.py
toapp/services/definitions.py