Skip to content
Snippets Groups Projects
Commit b9b00f68 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4814 Moved static constant for mongoDB collenction name into Document class

parent d801c6a9
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,6 @@ import lombok.RequiredArgsConstructor;
@RequiredArgsConstructor
@Component
public class AdminEnvironmentRepository implements EnvironmentRepository {
public static final String COLLECTION_NAME = "configuration_properties";
private final PropertyRepository propertyRepository;
......
......@@ -11,8 +11,9 @@ import lombok.Setter;
@Getter
@Setter
@Builder
@Document(AdminEnvironmentRepository.COLLECTION_NAME)
@Document(ConfigurationProperties.COLLECTION_NAME)
public class ConfigurationProperties {
public static final String COLLECTION_NAME = "configuration_properties";
private String application;
private String profile;
private Map<String, Object> source;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment