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

Add support to run hooks when changing phases #747

Merged
merged 6 commits into from
Jul 6, 2022
Merged

Add support to run hooks when changing phases #747

merged 6 commits into from
Jul 6, 2022

Conversation

Remi749
Copy link
Collaborator

@Remi749 Remi749 commented Jul 5, 2022

Your checklist for this pull request

  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side). Don't request your main!
  • Make sure you are making a pull request against the dev branch (left side). Also you should start your branch off dev.
  • Check the commit's or even all commits' message
  • Check if your code additions will fail linting checks
  • Remember: Add issue description to CHANGELOG with the ID of the issue associated with this PR
  • Documentation: Have a look at the PP365 User manual and consider the need for updates to be made. Updates can be done directly into the 'Kladd' branch or by providing information to test team for implementation.

Description

Added support to run hooks (POST HTTP requests) when changing phase. This enables users to start POST requests when changing phases in the 'ProjectPhases' webpart

Request properties that are being sent:

  • webUrl (This enables user to get the web's url to be able to connect and get data (ex: Project properties, Members)
  • apiKey (Used for adding more security to whatever the POST request is sent to)

Ex: Trigger API's, Flows, Logic Apps, Azure Functions, etc...

image
image

How to test

  1. Aktiver og fyll ut felter (se bilder over)
  2. Bytt fase og sjekk at trigger blir utført

Relevant issues (if applicable)

#735

@Remi749 Remi749 self-assigned this Jul 5, 2022
@Remi749 Remi749 added enhancement Request that will enhance the product complexity: medium Issue/PR with medium complexity backend Related to backend/apis customer funded Issues funded by customer labels Jul 5, 2022
@Remi749 Remi749 added this to the 1.6.2 milestone Jul 6, 2022
@Remi749 Remi749 marked this pull request as ready for review July 6, 2022 14:11
@Remi749 Remi749 requested review from olemp, tarjeieo and okms as code owners July 6, 2022 14:11
@Remi749 Remi749 changed the title Add support to run hooks when changing phase Add support to run hooks when changing phases Jul 6, 2022
@Remi749 Remi749 merged commit 86e3ade into dev Jul 6, 2022
@Remi749 Remi749 deleted the issue/#735 branch July 6, 2022 14:35
@okms okms modified the milestones: 1.6.2, 1.7.0 Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend/apis complexity: medium Issue/PR with medium complexity customer funded Issues funded by customer enhancement Request that will enhance the product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants