Skip to content

Commit

Permalink
chore: revert mapper change
Browse files Browse the repository at this point in the history
  • Loading branch information
jcosentino11 committed Feb 6, 2024
1 parent ac55146 commit bf8a4c8
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

package com.aws.greengrass.clientdevices.auth;

import com.amazon.aws.iot.greengrass.component.common.SerializerFactory;
import com.aws.greengrass.authorization.AuthorizationHandler;
import com.aws.greengrass.authorization.exceptions.AuthorizationException;
import com.aws.greengrass.clientdevices.auth.api.ClientDevicesAuthServiceApi;
Expand Down Expand Up @@ -47,7 +46,9 @@
import com.aws.greengrass.ipc.VerifyClientDeviceIdentityOperationHandler;
import com.aws.greengrass.lifecyclemanager.PluginService;
import com.aws.greengrass.util.Coerce;
import com.fasterxml.jackson.databind.MapperFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.json.JsonMapper;
import software.amazon.awssdk.aws.greengrass.GreengrassCoreIPCService;

import java.net.URISyntaxException;
Expand All @@ -70,7 +71,9 @@
@ImplementsService(name = ClientDevicesAuthService.CLIENT_DEVICES_AUTH_SERVICE_NAME)
public class ClientDevicesAuthService extends PluginService {
public static final String CLIENT_DEVICES_AUTH_SERVICE_NAME = "aws.greengrass.clientdevices.Auth";
private static final ObjectMapper MAPPER = SerializerFactory.getConfigurationSerializerJson();
private static final ObjectMapper MAPPER = JsonMapper.builder()
.enable(MapperFeature.ACCEPT_CASE_INSENSITIVE_ENUMS, MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES)
.build();
private static final String KV_NODE = "node";

// TODO: Move configuration related constants to appropriate configuration class
Expand Down

0 comments on commit bf8a4c8

Please sign in to comment.