-
Notifications
You must be signed in to change notification settings - Fork 26
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
✨ Directorv2: adds current product_name in ScheduledData [part 2 of #3565] #3843
✨ Directorv2: adds current product_name in ScheduledData [part 2 of #3565] #3843
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3843 +/- ##
========================================
+ Coverage 82.9% 83.7% +0.7%
========================================
Files 929 815 -114
Lines 39836 36424 -3412
Branches 837 485 -352
========================================
- Hits 33043 30496 -2547
+ Misses 6572 5800 -772
+ Partials 221 128 -93
Flags with carried forward coverage won't be shown. Click here to find out more.
|
57fd233
to
044b961
Compare
bd61392
to
3883088
Compare
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.
👍
Could you make sure that if from_service_inspect
does not receive the product_name
field encoded in the label, this still works. Just double check this.
@GitHK Can you please guide me on how to test this? |
bcf13ec
to
45c9e66
Compare
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.
Lgtm
5e9b964
to
e1df908
Compare
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.
all good. you have a missing @testit marker.
services/director-v2/tests/integration/02/test_dynamic_sidecar_nodeports_integration.py
Outdated
Show resolved
Hide resolved
a9359d2
to
9c0442b
Compare
9c0442b
to
1eee98a
Compare
Code Climate has analyzed commit b415f9a and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
What do these changes do?
Follows from PR #3803. This PR simply gets information about the current product (i.e.
product_name
) into thedirectorv2
ScheduledData
so it can be used to determine the context forOSPARC_ENVIRONMENT_
-identifiers substitution.Due to the large amount of changes, the next PR will introduce the mechanism that resolves
OSPARC_ENVIRONMENT_
-identifiers depending on the context (i.e.user_id
,project_uid
,product_name
, etc)Changes highlights:
directorv2
API 2.1.0 → 2.2.0product_name
required in API (breaks backwards compatibility)product_name
inScheduledData
test_utils_string_substitution.py
Related issue/s
How to test
Checklist
make version-*
make openapi.json