From 68c0fb2a6dc91a477e5a14cf4c247b4f594ba7c0 Mon Sep 17 00:00:00 2001 From: Valery Kalashnikov <kalashnikov.valeri@gmail.com> Date: Thu, 5 May 2022 09:41:02 +0300 Subject: [PATCH] rephrase the user story to support the idea to create only auth helpers --- features/ocmAuthCommunication.feature | 18 ++++++++++++++++++ features/ocmCommunication.feature | 12 ------------ 2 files changed, 18 insertions(+), 12 deletions(-) create mode 100644 features/ocmAuthCommunication.feature delete mode 100644 features/ocmCommunication.feature diff --git a/features/ocmAuthCommunication.feature b/features/ocmAuthCommunication.feature new file mode 100644 index 00000000..a3d42e82 --- /dev/null +++ b/features/ocmAuthCommunication.feature @@ -0,0 +1,18 @@ +As policy administrator +I want to evaluate OCM communication feature +So I am able to create policies to control login functionality + +Scenario: Make request for QR code and presentationID +Given the policy to query OCM is uploaded to the system +When I send a request to the OCM service to evaluate policy +Then I get a successful response +And the response contains the link to the QR code +And the response contains the presentationID + +Scenario: Make request for getting claims by presentationID +Given the policy to query OCM is uploaded to the system +Given the request to the OCM service +When I send a request to the OCM service +And the request contains presentationID +Then I get a successful response +And response contains requested claims \ No newline at end of file diff --git a/features/ocmCommunication.feature b/features/ocmCommunication.feature deleted file mode 100644 index 7d06b2b9..00000000 --- a/features/ocmCommunication.feature +++ /dev/null @@ -1,12 +0,0 @@ -As policy administrator -I want to evaluate OCM communication feature -So I am able to create policies to control login functionality - -Scenario: Make OCM requests -Given the policy to query OCM is uploaded to the system -When I make the request to the OCM -And the request contains the path -And the request contains the input JSON object -Then I get successful response -And it contains the output JSON object - -- GitLab