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

Connecting Service to an Intent #196

Open
5 of 12 tasks
PaulaMerle opened this issue Jan 31, 2024 · 4 comments · Fixed by #214, #216 or #225
Open
5 of 12 tasks

Connecting Service to an Intent #196

PaulaMerle opened this issue Jan 31, 2024 · 4 comments · Fixed by #214, #216 or #225

Comments

@PaulaMerle
Copy link
Contributor

PaulaMerle commented Jan 31, 2024

AS a Service Manager
I WANT TO link the Service to an Intent (latter is created in Training module)
SO THAT the intent would trigger the service flow

Related to: buerokratt/Training-Module#397
See also similar task in Training module: https://github.com/buerokratt/Service-Module/issues/184

Acceptance criteria

Clicking on the READY status button on the Service module Landing page, following happens:

  • Check is performed if Service is connected to an intent
  • In case not connected, list of available Service-intents is retrieved in the form of drop-down menu from the integration layer
  • In case connected, confirmation modal is displayed with question: "Are you sure you want to activate this service?", in Estonian "Kas oled kindel, et tahad teenuse aktiveerida?" -> YES/NO
  • Service status is changed to ACTIVE, in case YES is chosen from confirmation modal and respective process (add to the training) is triggered

Drop-down menu

Other

  • Column named "Linked intent" is created to the table on the Service module Landing page
  • When Service is linked to an intent, the name of the intent is displayed in the column (initially not clickable but later want to have redirection to Training module Intents page to a specific intent when clicking on the intent name)
@ValterAro
Copy link
Contributor

Waiting for the list of services to be fixed.

@ValterAro
Copy link
Contributor

ValterAro commented Mar 5, 2024

Short summary: Can't connect a service to an intent as there are no intents available and when trying to turn a intent into a service I get an error. Blocked until turning intent into a service is fixed.

Pic:

Image

Image

@PaulaMerle
Copy link
Contributor Author

Clarification: The service manager role automatically has access to the Training module, but the bot trainer role does not have access to the Service module. Hence additional role check (and approval request) has to be performed if intent connection to service is initiated from the Training module side. If connection is initiated from the Service modul, additional role check and approval is not necessary.

@turnerrainer
Copy link
Contributor

ETA updated on April 1st, was on hold for a while before that.

@turnerrainer turnerrainer linked a pull request Apr 2, 2024 that will close this issue
@PaulaMerle PaulaMerle reopened this Apr 2, 2024
@turnerrainer turnerrainer added the ? label Aug 2, 2024
@rasmusei rasmusei removed the ? label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Blocked
Status: Acceptance Testing
8 participants