Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Commit 3d1dd94

Browse files
author
Sachin Maheshwari
committed
incorperating last commit #348 (master) from tc1-api-core repo for identity
1 parent 5a811f1 commit 3d1dd94

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ workflows:
135135
context : org-global
136136
filters:
137137
branches:
138-
only: [dev]
138+
only: [dev, test]
139139

140140
# Production build is executed on "master" branch only.
141141

src/main/java/com/appirio/tech/core/service/identity/resource/UserResource.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,9 @@ public ApiResponse createObject(
490490
logger.debug(String.format("registering user: %s", user.getHandle()));
491491
userDao.register(user);
492492

493+
// COMMENTING THE LINES AS CODE FOR ADDING MEMBERS TO THE GROUPS MOVED TO MEMBER-GROUP-PROCESSOR
493494
// TODO: This is a temporary fix for the urgent issue. This should be fixed.
494-
if(user.getProfile()!=null && "wipro-adfs".equalsIgnoreCase(user.getProfile().getProvider()) ) {
495+
/* if(user.getProfile()!=null && "wipro-adfs".equalsIgnoreCase(user.getProfile().getProvider()) ) {
495496
logger.info(String.format("Adding Wipro user to the Wipro-All group. (%s, %s, %s)", user.getId(), user.getHandle(), user.getProfile().getUserId() ));
496497
addToGroupById(user, 20000000L);
497498
}
@@ -504,7 +505,7 @@ public ApiResponse createObject(
504505
if(user.getProfile()!=null && "CreditSuisse".equalsIgnoreCase(user.getProfile().getProvider()) ) {
505506
logger.info(String.format("Adding CreditSuisse user to the CreditSuisse - Main group. (%s, %s, %s)", user.getId(), user.getHandle(), user.getProfile().getUserId() ));
506507
addToGroupById(user, 20000044L);
507-
}
508+
} */
508509

509510
// registration mail with activation code for inactive user
510511
if(!user.isActive()) {

0 commit comments

Comments
 (0)