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

Publish events to AWS SNS from Bugzilla #59

Closed
kaihendry opened this issue Apr 13, 2018 · 4 comments
Closed

Publish events to AWS SNS from Bugzilla #59

kaihendry opened this issue Apr 13, 2018 · 4 comments

Comments

@kaihendry
Copy link
Contributor

kaihendry commented Apr 13, 2018

Unee-T will sponsor this integration, which would probably be accomplished like so Paws->service('SNS')->Publish(Message => $jsonPayload, TopicArn => '...');. Please contact me for a AWS_ACCESS_KEY_ID & AWS_SECRET_ACCESS_KEY.

This will hopefully enable us to fix:

But not unee-t/frontend#191 (which would probably have to come from the Frontend)

@kaihendry
Copy link
Contributor Author

Hopefully these events readily translate to actions like "A new case is created" as seen here:
image

This approach I'm assuming is easier to work then than the alternative approach (of achieving the same goal) of eventing on db changes..

@franck-boullier
Copy link
Member

"This approach I'm assuming is easier to work then than the alternative approach (of achieving the same goal) of eventing on db changes.."
@kaihendry I disagree as this approach is only valid for the BZFE the alternative approach will work regardless of where the change has been initiated from the MEFE or from the BZFE.
The other approach is also a lot less BZ dependant and will be much easier to migrate/reuse in future upgrades and iterations.

@franck-boullier
Copy link
Member

Preferred solution as of now is to go serverless if and when possible.
Solution we are working on for Unee-T v3.x+ is to leverage AWS functionalities:

  • Host the BZ database on Aurora
  • Create custom table and procedures in the BZ database to record changes in a case/bug (new bug, new bug activity, new message)
  • Create a lambda function to generate the notification
  • Use AWS lambda and Aurora integration to send notification each time an update is done to a case.

Feel free to re-open this issue if there is a better/more efficient alternative.

@kaihendry kaihendry changed the title Publish events to AWS SNS Publish events to AWS SNS from Bugzilla May 8, 2018
@kaihendry
Copy link
Contributor Author

Ok, we've opted to go for a pure DB driven approach here: unee-t/bz-database#36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants