Skip to content

Commit

Permalink
feat: multi env config
Browse files Browse the repository at this point in the history
  • Loading branch information
QizhengMo committed Jan 17, 2024
1 parent bc62479 commit 5ba05b7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.arextest.config.model.dto.record;

import java.util.List;

public interface MultiEnvConfig<T> {
List<T> getMultiEnvConfigs();
void setMultiEnvConfigs(List<T> multiEnvConfigs);
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
*/
@Setter
@Getter
public class ServiceCollectConfiguration extends AbstractConfiguration {
public class ServiceCollectConfiguration extends AbstractConfiguration
implements MultiEnvConfig<ServiceCollectConfiguration> {

private String appId;
/**
Expand Down Expand Up @@ -55,4 +56,9 @@ public class ServiceCollectConfiguration extends AbstractConfiguration {
private Map<String, String> extendField;

private List<SerializeSkipInfoConfiguration> serializeSkipInfoList;

/**
* Multi environment configuration
*/
private List<ServiceCollectConfiguration> multiEnvConfigs;
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -408,5 +408,5 @@
<url>https://github.com/arextest/arex-storage</url>


<version>1.1.0</version>
<version>1.1.1</version>
</project>

0 comments on commit 5ba05b7

Please sign in to comment.