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

Bug 572650 - [Passage] upgrade licenses domain model #786

Merged
merged 10 commits into from
May 23, 2021
Merged

Conversation

eparovyshnaya
Copy link
Contributor

Merge migration facilities to 'users' domain redesign branch

eparovyshnaya and others added 10 commits May 21, 2021 16:07
LicensePlan.licensePlanFeature -> LicensePlan.features
LicensePlan.licensePlanFeature cardinality [0, -1] -> [1, -1]
LicensePlanFeature.licensePlan ->  LicensePlanFeature.plan
FeatureRef.version -> FeatureRef.version.version
FeatureRef.matchingRule ->FeatureRef.version.rule
FeatureGrant.feature ->  FeatureGrant.feature.identifier
FeatureGrant.version ->  FeatureGrant.feature.version

Signed-off-by: eparovyshnaya <[email protected]>
Changes to descriptors

LicensePlan.licensePlanFeature -> LicensePlan.features
LicensePlan.licensePlanFeature cardinality [0, -1] -> [1, -1]
LicensePlanFeature.licensePlan ->  LicensePlanFeature.plan
FeatureRef.version -> FeatureRef.version.version
FeatureRef.matchingRule ->FeatureRef.version.rule
FeatureGrant.feature ->  FeatureGrant.feature.identifier
FeatureGrant.version ->  FeatureGrant.feature.version

Signed-off-by: eparovyshnaya <[email protected]>
- generate model/edit code
- fix usages

Signed-off-by: eparovyshnaya <[email protected]>
LicenseGrant.licensePack -> LicenseGrant.pack
FeatureRef.version -> FeatureRef.versionMatch.version
FeatureRef.matchingRule ->FeatureRef.versionMatch.rule

LicensePlan.licensePlanFeature -> LicensePlan.features
LicensePlan.licensePlanFeature cardinality [0, -1] -> [1, -1]
LicensePlanFeature.licensePlan ->  LicensePlanFeature.plan

FeatureGrant.feature ->  FeatureGrant.feature.identifier
FeatureGrant.version ->  FeatureGrant.feature.version


Signed-off-by: eparovyshnaya <[email protected]>
Reimplement migration facilities

Signed-off-by: Alexander Fedorov <[email protected]>
Remove EnsureStructure

Signed-off-by: Alexander Fedorov <[email protected]>
- migrate 'LicensePlan' root element as well
- test migration

Signed-off-by: eparovyshnaya <[email protected]>
reissue LBC test floating license

Signed-off-by: eparovyshnaya <[email protected]>
evolve floating license issuing codebase

Signed-off-by: eparovyshnaya <[email protected]>
evolve floating license grant acquisition according to model api change

Signed-off-by: eparovyshnaya <[email protected]>
@eparovyshnaya eparovyshnaya merged commit 069ebfe into 572651-1 May 23, 2021
@ruspl-afed ruspl-afed deleted the 572560-8 branch May 26, 2021 09:31
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.

2 participants