Skip to content

Commit

Permalink
Merge pull request #400 from sunbird-cb/4.8.10-dev
Browse files Browse the repository at this point in the history
changes seperator from under_score to pipe
  • Loading branch information
SaipradeepR authored Jan 4, 2024
2 parents ef9a83d + e000288 commit b9bf0bc
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public Map<String, Object> fetchKarmaPointsUserCourse(String userId, Map<String,
String cntxType = (String) filters.get(Constants.CONTEXT_TYPE_CAMEL);
Map<String, Object> resultMap = new HashMap<>();
Map<String, Object> propertyMap = new HashMap<>();
String key = userId +"_"+cntxType+"_"+ cntxtId;
String key = userId +"|"+cntxType+"|"+ cntxtId;
propertyMap.put(Constants.DB_COLUMN_USER_KARMA_POINTS_KEY, key);
Map<String, Object> userCourseKpList = cassandraOperation.getRecordsByProperties(Constants.KEYSPACE_SUNBIRD,
Constants.TABLE_KARMA_POINTS_LOOK_UP, propertyMap, null, Constants.DB_COLUMN_USER_KARMA_POINTS_KEY);
Expand Down Expand Up @@ -99,4 +99,8 @@ public void claimKarmaPoints(ClaimKarmaPointsRequest request) {
kafkaProducer.push(serverProperties.getClaimKarmaPointsTopic(), karmaPointsDataMap);
logger.info("UserID and CourseId successfully Published to : " + serverProperties.getClaimKarmaPointsTopic());
}

public void fetchKarmaPoints(){

}
}

0 comments on commit b9bf0bc

Please sign in to comment.