From 5b7e1913184ff6f50ac8b70db574e59ece7b3be3 Mon Sep 17 00:00:00 2001 From: Muzammil Chandorewala <muzammil.chandorewala@ayanworks.com> Date: Thu, 9 Jun 2022 14:02:06 +0530 Subject: [PATCH] feat: add principal manager bdds --- .../principal-manager/principalManager.feature | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 features/principal-manager/principalManager.feature diff --git a/features/principal-manager/principalManager.feature b/features/principal-manager/principalManager.feature new file mode 100644 index 0000000..6a3ce5c --- /dev/null +++ b/features/principal-manager/principalManager.feature @@ -0,0 +1,17 @@ +Feature: Offer membership credentials + Offer the membership credentials to the holder when the connection is in complete state + +Scenario: Process connection request when status is complete +Given the connection status as complete +# Controller.ts -> connectionComplete +When I evaluate status as complete +# Nats -> 'ATTESTATION_MANAGER_SERVICE/offerMemberShipCredentials' +Then I called the offer membership credentials (attestation service) +And get a successful response +Then sends the response with message status connection received + +Scenario: Process connection request when status is other than complete +Given the connection status other than complete +# Controller.ts -> connectionComplete +When I evaluate status as not complete +Then sends the response with message connection status should be Complete -- GitLab