-
Notifications
You must be signed in to change notification settings - Fork 21
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
feat(OfferService)! : unsubscribe OfferSubscription for apps and service #180
Conversation
src/portalbackend/PortalBackend.DBAccess/Repositories/OfferSubscriptionsRepository.cs
Outdated
Show resolved
Hide resolved
src/portalbackend/PortalBackend.DBAccess/Repositories/IOfferSubscriptionsRepository.cs
Outdated
Show resolved
Hide resolved
src/portalbackend/PortalBackend.DBAccess/Repositories/OfferSubscriptionsRepository.cs
Outdated
Show resolved
Hide resolved
src/portalbackend/PortalBackend.DBAccess/Repositories/OfferSubscriptionsRepository.cs
Outdated
Show resolved
Hide resolved
5ef2ca9
to
961bc95
Compare
@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
961bc95
to
dcfec84
Compare
.MustHaveHappenedTwiceExactly(); | ||
A.CallTo(() => _userRepository.AttachAndModifyIdentity(A<Guid>._, A<Action<Identity>>._, A<Action<Identity>>._)) | ||
.MustHaveHappenedTwiceExactly(); | ||
} |
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.
Please add a check whether the connectors and identities have been updated successfully.
e.g.:
'connectors.Should().AllSatisfy(x => x.StatusId == ConnectorStatusId.INACTIVE);'
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.
The same applies for the offersubscription
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Documentation of "unsubscribe" function linked to: eclipse-tractusx/portal-backend#180
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.