Skip to content
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

Database interaction commands #4

Merged
merged 8 commits into from
Mar 25, 2021
Merged

Database interaction commands #4

merged 8 commits into from
Mar 25, 2021

Conversation

pboers1988
Copy link
Member

This PR exposes cli commands to wrap alembic commands and add it to the core cli commands.

@codecov-io
Copy link

codecov-io commented Mar 22, 2021

Codecov Report

Merging #4 (3bdda36) into main (a75b75f) will decrease coverage by 0.47%.
The diff coverage is 50.68%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
- Coverage   82.03%   81.56%   -0.48%     
==========================================
  Files          80       81       +1     
  Lines        4437     4496      +59     
  Branches      534      540       +6     
==========================================
+ Hits         3640     3667      +27     
- Misses        660      687      +27     
- Partials      137      142       +5     
Impacted Files Coverage Δ
orchestrator/db/__init__.py 91.30% <ø> (ø)
orchestrator/services/subscriptions.py 53.64% <ø> (ø)
orchestrator/workflows/__init__.py 79.54% <ø> (-0.46%) ⬇️
orchestrator/cli/database.py 33.33% <33.33%> (ø)
orchestrator/domain/base.py 71.95% <50.00%> (-0.65%) ⬇️
orchestrator/app.py 77.61% <69.23%> (-2.39%) ⬇️
orchestrator/__init__.py 100.00% <100.00%> (ø)
orchestrator/cli/main.py 71.42% <100.00%> (+46.42%) ⬆️
orchestrator/config/__init__.py 100.00% <100.00%> (ø)
orchestrator/domain/__init__.py 100.00% <100.00%> (ø)
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a75b75f...3bdda36. Read the comment docs.

@pboers1988 pboers1988 force-pushed the database branch 2 times, most recently from 3f365ef to 3bdda36 Compare March 24, 2021 08:09
orchestrator/app.py Outdated Show resolved Hide resolved
orchestrator/app.py Outdated Show resolved Hide resolved
orchestrator/cli/database.py Outdated Show resolved Hide resolved
orchestrator/cli/database.py Show resolved Hide resolved
@pboers1988 pboers1988 force-pushed the database branch 2 times, most recently from dd01c86 to 5a6ea0b Compare March 24, 2021 17:34
@pboers1988 pboers1988 merged commit 767fba9 into main Mar 25, 2021
@pboers1988 pboers1988 deleted the database branch March 25, 2021 14:39
@@ -13,7 +13,7 @@

"""This is the orchestrator workflow engine."""

__version__ = "0.0.2rc2"
__version__ = "0.0.2rc11"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we might start using a scheme here ;)

@@ -37,5 +37,6 @@
NODE_SUBSCRIPTION_ID = "node_subscription_id"
PORT_MODE = "port_mode"
INTERNETPINNEN_PREFIX_SUBSCRIPTION_ID = "internetpinnen_prefix_subscription_id"
PEER_GROUP_SUBSCRIPTION_ID = "peer_group_subscription_id"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need these constants in a Generic release?

@@ -29,6 +29,7 @@
IP_PREFIX_SUBSCRIPTION_ID,
NODE_SUBSCRIPTION_ID,
PARENT_IP_PREFIX_SUBSCRIPTION_ID,
PEER_GROUP_SUBSCRIPTION_ID,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We seem to leak some SURF specific constants. Maybe good to add least add a todo (in the code) to split/clean it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants