stashnotifier-plugin icon indicating copy to clipboard operation
stashnotifier-plugin copied to clipboard

Enhancement/restapi update

Open BUGinator86 opened this issue 1 year ago • 1 comments

Updated Pullrequest to also include tests for requests with bitbucket projectkey and slug. Also put creation of payload in HttpNotifier classes to make it possible to create different payloads for different versions of stash/bitbucket. Introduces ExtendedApacheHttpNotifier for extended payload and new selector that creates the ExtendedApacheHttpNotifier only if a BitBucket projectkey and slug is provided. Else the behaviour is the same as before.

Testing done

Submitter checklist

  • [x ] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • [x ] Ensure that the pull request title represents the desired changelog entry
  • [x ] Please describe what you did
  • [x ] Link to relevant issues in GitHub or Jira
  • [x ] Link to relevant pull requests, esp. upstream and downstream changes
  • [x ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

BUGinator86 avatar May 30 '24 19:05 BUGinator86