|
|
@@ -31,14 +31,14 @@ public class ApplicationProperties {
|
|
|
private Docker docker = new Docker();
|
|
|
@Valid
|
|
|
private Mail mail = new Mail();
|
|
|
- @Valid
|
|
|
- private Storage storage = new Storage();
|
|
|
+// @Valid
|
|
|
+// private Storage storage = new Storage();
|
|
|
@Valid
|
|
|
private K8s k8s = new K8s();
|
|
|
@Valid
|
|
|
private Registry registry = new Registry();
|
|
|
- @Valid
|
|
|
- private Auth auth = new Auth();
|
|
|
+// @Valid
|
|
|
+// private Auth auth = new Auth();
|
|
|
|
|
|
@Data
|
|
|
public static class Gitlab {
|
|
|
@@ -91,11 +91,11 @@ public class ApplicationProperties {
|
|
|
private String personal = "MOOCODER";
|
|
|
}
|
|
|
|
|
|
- @Data
|
|
|
- public static class Storage {
|
|
|
- private String type = "local";
|
|
|
- private Map<String, String> properties = new HashMap<>();
|
|
|
- }
|
|
|
+// @Data
|
|
|
+// public static class Storage {
|
|
|
+// private String type = "local";
|
|
|
+// private Map<String, String> properties = new HashMap<>();
|
|
|
+// }
|
|
|
|
|
|
@Data
|
|
|
public static class K8s{
|
|
|
@@ -104,18 +104,18 @@ public class ApplicationProperties {
|
|
|
private String apiServer;
|
|
|
@NotEmpty
|
|
|
private String token;
|
|
|
- @NotEmpty
|
|
|
- private String ingressHost;
|
|
|
- @NotEmpty
|
|
|
- private String publicNamespace;
|
|
|
- @NotEmpty
|
|
|
- private String publicMysqlUrl;
|
|
|
- @NotEmpty
|
|
|
- private String publicMysqlPod;
|
|
|
- @NotEmpty
|
|
|
- private String publicMysqlUsername;
|
|
|
-
|
|
|
- private String publicMysqlPassword;
|
|
|
+// @NotEmpty
|
|
|
+// private String ingressHost;
|
|
|
+// @NotEmpty
|
|
|
+// private String publicNamespace;
|
|
|
+// @NotEmpty
|
|
|
+// private String publicMysqlUrl;
|
|
|
+// @NotEmpty
|
|
|
+// private String publicMysqlPod;
|
|
|
+// @NotEmpty
|
|
|
+// private String publicMysqlUsername;
|
|
|
+//
|
|
|
+// private String publicMysqlPassword;
|
|
|
|
|
|
private Boolean validateSSL = false;
|
|
|
|
|
|
@@ -143,18 +143,17 @@ public class ApplicationProperties {
|
|
|
private String cleanUpTask = "4da7e1e1-2b28-46b5-a080-9d834cc96019";
|
|
|
}
|
|
|
|
|
|
- @Data
|
|
|
- public static class Auth {
|
|
|
- @NotEmpty
|
|
|
- private String signingKey;
|
|
|
- @NotEmpty
|
|
|
- private String iss = "p.seecoder.cn";
|
|
|
- @NotEmpty
|
|
|
- private String aud = "seec-seec";
|
|
|
- @NotEmpty
|
|
|
- private String portal = "http://p.seecoder.cn";
|
|
|
- @NotEmpty
|
|
|
- private String redirectUri;
|
|
|
-
|
|
|
- }
|
|
|
+// @Data
|
|
|
+// public static class Auth {
|
|
|
+// @NotEmpty
|
|
|
+// private String signingKey;
|
|
|
+// @NotEmpty
|
|
|
+// private String iss = "p.seecoder.cn";
|
|
|
+// @NotEmpty
|
|
|
+// private String aud = "seec-seec";
|
|
|
+// @NotEmpty
|
|
|
+// private String portal = "http://p.seecoder.cn";
|
|
|
+// @NotEmpty
|
|
|
+// private String redirectUri;
|
|
|
+// }
|
|
|
}
|