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

feat(OfferService)! : unsubscribe OfferSubscription for apps and service #180

Conversation

VPrasannaK94
Copy link
Contributor

Description

unsubscribe OfferSubscription for apps and service

Why

when we trigger unsubscribe endpoint for Apps and Service , we put offerSubscription to Inactive.

Issue

CPLP-3027

Checklist

Please delete options that are not relevant.

  • I have followed the contributing guidelines
  • I have performed a self-review of my own code
  • I have successfully tested my changes locally
  • I have added tests that prove my changes work
  • I have checked that new and existing tests pass locally with my changes
  • I have commented my code, particularly in hard-to-understand areas

@VPrasannaK94 VPrasannaK94 marked this pull request as ready for review August 3, 2023 04:16
@VPrasannaK94 VPrasannaK94 force-pushed the feature/CPLP-3027-unsubscribe-apps-service branch from 5ef2ca9 to 961bc95 Compare August 7, 2023 11:29
@Phil91
Copy link
Member

Phil91 commented Aug 7, 2023

@VPrasannaK94 it seems like there's one commit in the branch which doesn't belong there (3957eaf), could you have a look at that?

OfferSubscription for apps and service

Ref: CPLP-3027
@VPrasannaK94 VPrasannaK94 force-pushed the feature/CPLP-3027-unsubscribe-apps-service branch from 961bc95 to dcfec84 Compare August 8, 2023 02:50
.MustHaveHappenedTwiceExactly();
A.CallTo(() => _userRepository.AttachAndModifyIdentity(A<Guid>._, A<Action<Identity>>._, A<Action<Identity>>._))
.MustHaveHappenedTwiceExactly();
}
Copy link
Member

Choose a reason for hiding this comment

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

Please add a check whether the connectors and identities have been updated successfully.

e.g.:

'connectors.Should().AllSatisfy(x => x.StatusId == ConnectorStatusId.INACTIVE);'

Copy link
Member

Choose a reason for hiding this comment

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

The same applies for the offersubscription

@sonarcloud
Copy link

sonarcloud bot commented Aug 10, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Phil91 Phil91 merged commit 0bf8b39 into eclipse-tractusx:dev Aug 16, 2023
5 checks passed
@Phil91 Phil91 deleted the feature/CPLP-3027-unsubscribe-apps-service branch August 16, 2023 12:39
jjeroch added a commit to catenax-ng/tx-portal-assets that referenced this pull request Aug 21, 2023
Documentation of "unsubscribe" function
linked to: eclipse-tractusx/portal-backend#180
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