All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arextest.storage.beans.StorageConfigurationProperties Maven / Gradle / Ivy

There is a newer version: 1.3.4
Show newest version
package com.arextest.storage.beans;

import com.arextest.model.mock.MockCategoryType;
import com.arextest.storage.model.RecordEnvType;
import java.util.List;
import java.util.Map;
import java.util.Set;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "arex.storage")
@Getter
@Setter
public class StorageConfigurationProperties {

  private String mongodbUri;
  private Cache cache;
  private Set categoryTypes;
  // @Value("${arex.storage.enable-auto-discovery-entry-point:true}")
  private boolean enableAutoDiscoveryEntryPoint = true;

  private RecordEnvType recordEnv;
  private Map expirationDurationMap;
  private Long defaultExpirationDuration;
  private int allowReRunDays;

  @Getter
  @Setter
  static class Cache {

    private String uri;
    private String sentinelUrl;
    private long expiredSeconds = 7200;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy