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

chore[534] updated createIrsPolicyIfMissing() #934

Merged
merged 10 commits into from
Jan 30, 2024

Conversation

ds-ashanmugavel
Copy link

@ds-ashanmugavel ds-ashanmugavel commented Jan 23, 2024

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Please add a short description of the feature/fix to the Changelog.md.

Copy link

github-actions bot commented Jan 23, 2024

Integration Test Results

323 tests   323 ✅  1m 12s ⏱️
 37 suites    0 💤
 37 files      0 ❌

Results for commit 7f3cd9a.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 23, 2024

Unit Test Results

217 tests   217 ✅  45s ⏱️
 55 suites    0 💤
 55 files      0 ❌

Results for commit 7f3cd9a.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 23, 2024

‼️ Dependency Check findings ‼️

One or more high/critical findings have been found during dependency check. Please check the depenency report:
https://github.com/catenax-ng/tx-traceability-foss/actions/runs/7712800939

boolean missingPolicy = irsPolicies.stream().noneMatch(irsPolicy -> irsPolicy.policyId().equals(traceabilityProperties.getRightOperand()));
if (missingPolicy) {
if (orMatch || andMatch) {
checkAndUpdatePolicy(irsPolicies);

Choose a reason for hiding this comment

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

Let's try to refactor this method to accept only the filtered Policy

ds-lcapellino and others added 4 commits January 23, 2024 14:03
…lish-assets' into feature/534-get-policies-and-publish-assets
…lish-assets' into feature/534-get-policies-and-publish-assets
@@ -124,7 +124,7 @@ void givenNoPolicyExist_whenCreateIrsPolicyIfMissing_thenCreateIt() {
@Test

Choose a reason for hiding this comment

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

please update the license here

Copy link

@ds-lcapellino ds-lcapellino left a comment

Choose a reason for hiding this comment

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

lgtm

@ds-ashanmugavel ds-ashanmugavel merged commit 69d283d into main Jan 30, 2024
@ds-ashanmugavel ds-ashanmugavel deleted the feature/534-get-policies-and-publish-assets branch January 30, 2024 14:39
Copy link

Quality Gate Passed Quality Gate passed for 'Trace-X Root'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
81.5% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link

Quality Gate Passed Quality Gate passed for 'TX Traceability FOSS frontend'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

ds-mwesener added a commit that referenced this pull request May 2, 2024
feature: #837 use digitalTwinType for shell lookup, #603 upgrade aspect models
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.

Implementation of GET and POST APIs for Policies with Asset Import Status Update
2 participants