topcoder-platform / challenge-forum-processor

0 stars 3 forks source link

[$40] Make rocket.chat and vanilla configurable #22

Closed jmgasper closed 4 years ago

jmgasper commented 4 years ago

@atelomycterus - One thing we'd like to do here is to add configurability for the different services.

Something like:

If a specific service is disabled, we won't create a forum / group for that service when a new challenge comes through.

As an example, right now we're focused on Vanilla and want to turn Rocket.chat off in the deployed processor. We may want to turn Rocket.chat back on in the future.

jmgasper commented 4 years ago

Contest https://www.topcoder.com/challenges/30125380 has been created for this ticket.

This is an automated message for ghostar via Topcoder X

jmgasper commented 4 years ago

Contest https://www.topcoder.com/challenges/30125380 has been updated - it has been assigned to obog.

This is an automated message for ghostar via Topcoder X

atelomycterus commented 4 years ago

@jmgasper Please apply PR - https://github.com/topcoder-platform/challenge-forum-processor/pull/23. Fixed code. Default settings:

  ROCKETCHAT_ENABLED: false,
  VANILLA_ENABLED: true,

If ROCKETCHAT_ENABLED: false and VANILLA_ENABLED: false, then 'No enabled services to handle messages' is logged in kafka logs.

Fixed docker composer files. Vanilla services - vanilla.yml, Rocketchat services - rocketchat.yml.

Testing:

  1. Run docker-compose down before pulling the repo

  2. Pull the repo

  3. Run Kafka, Vanilla only docker-compose -f docker-compose.yml -f vanilla.yml up

Other commands: Run Kafka, Vanilla and Rocketchat docker-compose -f docker-compose.yml -f vanilla.yml -f rocketchat.yml up

Run Kafka and Rocketchat docker-compose -f docker-compose.yml -f rocketchat.yml up

jmgasper commented 4 years ago

Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30125380

This is an automated message for ghostar via Topcoder X