Challenge Overview
For this challenge, you are expected to create a consumer in project service, which will consume the messages in a RabbitMQ queue, and assign badges to members properly.
- Please use the dev branch for development (commit - f030b354b28c05ffc178a5ee02fd0b315b925ed2)
- Previously, we have implemented the logic to monitoring the project_phase table and send the messages to RabbmitMQ queue for consumption, please check tc-informix-events, the local directory contains the steps for local setup
- There are existing consumers in project service, you can use as reference.
- The cosumer is expected to assign badges by inserting records in the user_achievement table
* Whenever the review phase of a develop challenge ends, and the challenge is associated with an iOS technology or platform, award badge id 11 to member
* Whenever the checkpoint submission of a design challenge ends, and the challenge is associated with a iOS technology or platform, award badge id 12 to the member.
* For above two cases, please assign only if member's submission passed review and didn't have the badge.
About Testing Environment
In order to properly test the phase changes, you need to setup a consolidated environment with direct-app, online-review and tc-informix-events. You have created a conslidated environment for local using docker compose, please check https://github.com/appirio-tech/tc-common-tutorials/tree/master/consolidated_env
With that conslidated environment, you can create challenges through direct, make submissions through online review, and automatically move phases by online review, and the messages can be fired out to the rabbitmq for consumption.
After setting up this, you can easily test your consumer in project service.
- Setup and Verification Steps
- Winner will be responsible to create PR and solve conflict with new changes.
- Please use the dev branch for development (commit - f030b354b28c05ffc178a5ee02fd0b315b925ed2)
- Previously, we have implemented the logic to monitoring the project_phase table and send the messages to RabbmitMQ queue for consumption, please check tc-informix-events, the local directory contains the steps for local setup
- There are existing consumers in project service, you can use as reference.
- The cosumer is expected to assign badges by inserting records in the user_achievement table
* Whenever the review phase of a develop challenge ends, and the challenge is associated with an iOS technology or platform, award badge id 11 to member
* Whenever the checkpoint submission of a design challenge ends, and the challenge is associated with a iOS technology or platform, award badge id 12 to the member.
* For above two cases, please assign only if member's submission passed review and didn't have the badge.
About Testing Environment
In order to properly test the phase changes, you need to setup a consolidated environment with direct-app, online-review and tc-informix-events. You have created a conslidated environment for local using docker compose, please check https://github.com/appirio-tech/tc-common-tutorials/tree/master/consolidated_env
With that conslidated environment, you can create challenges through direct, make submissions through online review, and automatically move phases by online review, and the messages can be fired out to the rabbitmq for consumption.
After setting up this, you can easily test your consumer in project service.
Final Submission Guidelines
- Code Changes For the Consumer- Setup and Verification Steps
- Winner will be responsible to create PR and solve conflict with new changes.