Challenge Overview
For this challenge, we'd like to update the Identity Service to Support Event Bus Publishing similar as challenge service.
Shorten Phases
Submission Phase: 48hours
Review Phase: 24hours
General Requirements
1. Please use dev branch (this is a private repo, use the self-register link in forum to get access).
2. the code change should be applied to tech.core/tech.core.service.identity directory
3. Upgrade to use CORE API 4.3.1 in pom.xml, and implement related changes.
3. the general purpose is to add the event bus publishing here - https://github.com/appirio-tech/tc1-api-core/blob/dev/tech.core/tech.core.service.identity/src/main/java/com/appirio/tech/core/service/identity/resource/UserResource.java#L1602, by using https://github.com/appirio-tech/ap-challenge-microservice/blob/cd47f43efe4dfcc20c91bc7802bcac208960c06f/src/main/java/com/appirio/service/challenge/clients/EventBusServiceClient.java#L55, the topic and payload should be set correspondingly
4. The above changes are already in challenge service (https://github.com/appirio-tech/ap-challenge-microservice)
4.1 m2m configuration - https://github.com/appirio-tech/ap-challenge-microservice/blob/dev/src/main/resources/challenge-service.yaml#L176-L182 and https://github.com/appirio-tech/ap-challenge-microservice/blob/dev/src/main/java/com/appirio/service/challenge/config/M2mAuthConfiguration.java
4.2 event bus client - https://github.com/appirio-tech/ap-challenge-microservice/blob/dev/src/main/java/com/appirio/service/challenge/clients/EventBusServiceClient.java
4.3 JWT Secret and Valid Issuers configuration - https://github.com/appirio-tech/ap-challenge-microservice/blob/dev/src/main/java/com/appirio/service/challenge/ChallengeServiceApplication.java
Local Setup
Please follow https://github.com/appirio-tech/tc1-api-core/tree/a1aeb37726eaf37065b29ae22d787c74d635406e/tech.core/tech.core.service.identity/docker to setup and run locally using docker approach.
- Verification Steps
- Winner will be responsible for creating PR for merge.
Shorten Phases
Submission Phase: 48hours
Review Phase: 24hours
General Requirements
1. Please use dev branch (this is a private repo, use the self-register link in forum to get access).
2. the code change should be applied to tech.core/tech.core.service.identity directory
3. Upgrade to use CORE API 4.3.1 in pom.xml, and implement related changes.
3. the general purpose is to add the event bus publishing here - https://github.com/appirio-tech/tc1-api-core/blob/dev/tech.core/tech.core.service.identity/src/main/java/com/appirio/tech/core/service/identity/resource/UserResource.java#L1602, by using https://github.com/appirio-tech/ap-challenge-microservice/blob/cd47f43efe4dfcc20c91bc7802bcac208960c06f/src/main/java/com/appirio/service/challenge/clients/EventBusServiceClient.java#L55, the topic and payload should be set correspondingly
4. The above changes are already in challenge service (https://github.com/appirio-tech/ap-challenge-microservice)
4.1 m2m configuration - https://github.com/appirio-tech/ap-challenge-microservice/blob/dev/src/main/resources/challenge-service.yaml#L176-L182 and https://github.com/appirio-tech/ap-challenge-microservice/blob/dev/src/main/java/com/appirio/service/challenge/config/M2mAuthConfiguration.java
4.2 event bus client - https://github.com/appirio-tech/ap-challenge-microservice/blob/dev/src/main/java/com/appirio/service/challenge/clients/EventBusServiceClient.java
4.3 JWT Secret and Valid Issuers configuration - https://github.com/appirio-tech/ap-challenge-microservice/blob/dev/src/main/java/com/appirio/service/challenge/ChallengeServiceApplication.java
Local Setup
Please follow https://github.com/appirio-tech/tc1-api-core/tree/a1aeb37726eaf37065b29ae22d787c74d635406e/tech.core/tech.core.service.identity/docker to setup and run locally using docker approach.
Final Submission Guidelines
- Code Changes- Verification Steps
- Winner will be responsible for creating PR for merge.