Skip to content

Commit

Permalink
[SELC-5740] fix for change request
Browse files Browse the repository at this point in the history
  • Loading branch information
flaminiaScarciofolo committed Oct 16, 2024
1 parent 0fa12f9 commit a2920f2
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 158 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
@Slf4j
@ApplicationScoped
public class UserGroupCdcService {
private static final String OPERATION_NAME = "USER-GROUP-CDC-UserInfoUpdate";
private static final String OPERATION_NAME = "USER-GROUP-CDC-sendUserGroupEvent";
private static final String COLLECTION_NAME = "userGroups";

private final TelemetryClient telemetryClient;
Expand Down Expand Up @@ -118,7 +118,7 @@ private void initOrderStream(Boolean sendEventsEnabled) {
this::consumerToSendScUserGroupEvent,
failure -> {
log.error("Error during subscribe collection, exception: {} , message: {}", failure.toString(), failure.getMessage());
telemetryClient.trackEvent(EVENT_USER_GROUP_CDC_NAME, mapPropsForTrackEvent(TrackEventInput.builder().exception(failure.getClass().toString()).build()), Map.of(EVENTS_USER_INSTITUTION_FAILURE, 1D));
telemetryClient.trackEvent(EVENT_USER_GROUP_CDC_NAME, mapPropsForTrackEvent(TrackEventInput.builder().exception(failure.getClass().toString()).build()), Map.of(EVENTS_USER_GROUP_FAILURE, 1D));
Quarkus.asyncExit();
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
public class CdcStartAtConstant {


public static final String CDC_START_AT_PARTITION_KEY = "User";
public static final String CDC_START_AT_PARTITION_KEY = "UserGroup";
public static final String CDC_START_AT_ROW_KEY = "0001";
public static final String CDC_START_AT_PROPERTY = "startAt";

Expand Down

This file was deleted.

This file was deleted.

54 changes: 0 additions & 54 deletions infra/container_apps/user-group-cdc/env/dev-pnpg/terraform.tfvars

This file was deleted.

2 changes: 1 addition & 1 deletion infra/container_apps/user-group-cdc/env/dev/backend.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource_group_name = "terraform-state-rg"
storage_account_name = "tfappdevselfcare"
container_name = "terraform-state"
key = "selfcare-user-group-cdc.user-app.tfstate"
key = "selfcare-user-group-cdc.user-group-app.tfstate"

This file was deleted.

This file was deleted.

41 changes: 0 additions & 41 deletions infra/container_apps/user-group-cdc/env/prod-pnpg/terraform.tfvars

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource_group_name = "terraform-state-rg"
storage_account_name = "tfappprodselfcare"
container_name = "terraform-state"
key = "selfcare-user-group-cdc.user-app.tfstate"
key = "selfcare-user-group-cdc.user-group-app.tfstate"

This file was deleted.

This file was deleted.

42 changes: 0 additions & 42 deletions infra/container_apps/user-group-cdc/env/uat-pnpg/terraform.tfvars

This file was deleted.

2 changes: 1 addition & 1 deletion infra/container_apps/user-group-cdc/env/uat/backend.tfvars
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resource_group_name = "terraform-state-rg"
storage_account_name = "tfappuatselfcare"
container_name = "terraform-state"
key = "selfcare-user-group-cdc.user-pnpg-app.tfstate"
key = "selfcare-user-group-cdc.user-group-app.tfstate"

0 comments on commit a2920f2

Please sign in to comment.