-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #128 from infinistor/1.2.0-alpha
1.2.0 merge
Showing
894 changed files
with
31,814 additions
and
29,353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*/.vscode | ||
*.vscode | ||
*.classpath | ||
*.project | ||
*.prefs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ycle/resources/ksanLifecycle_log_conf.xml → ...sources/ksanLifecyclemanager_log_conf.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/bash | ||
java -jar -Dlogback.configurationFile=/usr/local/ksan/etc/ksanLifecycle_log_conf.xml /usr/local/ksan/sbin/ksanLifecycle.jar | ||
java -jar -Dlogback.configurationFile=/usr/local/ksan/etc/ksanLifecycleManager_log_conf.xml /usr/local/ksan/sbin/ksanLifecycleManager.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
45 changes: 45 additions & 0 deletions
45
core/backend/src/com/pspace/backend/libs/Config/LifecycleConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package com.pspace.backend.libs.Config; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.core.JsonProcessingException; | ||
import com.fasterxml.jackson.databind.ObjectMapper; | ||
|
||
public class LifecycleConfig { | ||
|
||
@JsonProperty("objM.db_repository") | ||
public String DBType; | ||
|
||
@JsonProperty("objM.db_host") | ||
public String Host; | ||
|
||
@JsonProperty("objM.db_port") | ||
public int Port; | ||
|
||
@JsonProperty("objM.db_name") | ||
public String DatabaseName; | ||
|
||
@JsonProperty("objM.db_user") | ||
public String User; | ||
|
||
@JsonProperty("objM.db_password") | ||
public String Password; | ||
|
||
@JsonProperty("ksan.region") | ||
public String Region; | ||
|
||
@JsonProperty("lifecycle.schedule") | ||
public String Schedule; | ||
|
||
@JsonProperty("lifecycle.check_interval") | ||
public long CheckInterval; | ||
|
||
@Override | ||
public String toString() { | ||
ObjectMapper mapper = new ObjectMapper(); | ||
try { | ||
return mapper.writeValueAsString(this); | ||
} catch (JsonProcessingException e) { | ||
return ""; | ||
} | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
core/backend/src/com/pspace/backend/libs/Config/LogManagerConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* | ||
* Copyright (c) 2021 PSPACE, inc. KSAN Development Team ksan@pspace.co.kr | ||
* KSAN is a suite of free software: you can redistribute it and/or modify it under the terms of | ||
* the GNU General Public License as published by the Free Software Foundation, either version | ||
* 3 of the License. See LICENSE for details | ||
* | ||
* 본 프로그램 및 관련 소스코드, 문서 등 모든 자료는 있는 그대로 제공이 됩니다. | ||
* KSAN 프로젝트의 개발자 및 개발사는 이 프로그램을 사용한 결과에 따른 어떠한 책임도 지지 않습니다. | ||
* KSAN 개발팀은 사전 공지, 허락, 동의 없이 KSAN 개발에 관련된 모든 결과물에 대한 LICENSE 방식을 변경 할 권리가 있습니다. | ||
*/ | ||
package com.pspace.backend.libs.Config; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.core.JsonProcessingException; | ||
import com.fasterxml.jackson.databind.ObjectMapper; | ||
|
||
public class LogManagerConfig { | ||
|
||
@JsonProperty("ksan.region") | ||
public String Region; | ||
|
||
@JsonProperty("logM.db_repository") | ||
public String DBType; | ||
|
||
@JsonProperty("logM.db_host") | ||
public String DBHost; | ||
|
||
@JsonProperty("logM.db_port") | ||
public int DBPort; | ||
|
||
@JsonProperty("logM.db_name") | ||
public String DBName; | ||
|
||
@JsonProperty("logM.db_user") | ||
public String DBUser; | ||
|
||
@JsonProperty("logM.db_password") | ||
public String DBPassword; | ||
|
||
@JsonProperty("logM.db_pool_size") | ||
public int DBPoolSize; | ||
|
||
@JsonProperty("logM.db_expires") | ||
public int DBExpires; | ||
|
||
@JsonProperty("logM.check_interval") | ||
public int CheckInterval; | ||
|
||
@JsonProperty("logM.meter_minute") | ||
public int MeterMinute; | ||
|
||
@JsonProperty("logM.assert_hour") | ||
public int AssertHour; | ||
|
||
@Override | ||
public String toString() { | ||
ObjectMapper mapper = new ObjectMapper(); | ||
try { | ||
return mapper.writeValueAsString(this); | ||
} catch (JsonProcessingException e) { | ||
return ""; | ||
} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
core/backend/src/com/pspace/backend/libs/Config/ReplicationConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* Copyright (c) 2021 PSPACE, inc. KSAN Development Team ksan@pspace.co.kr | ||
* KSAN is a suite of free software: you can redistribute it and/or modify it under the terms of | ||
* the GNU General Public License as published by the Free Software Foundation, either version | ||
* 3 of the License. See LICENSE for details | ||
* | ||
* 본 프로그램 및 관련 소스코드, 문서 등 모든 자료는 있는 그대로 제공이 됩니다. | ||
* KSAN 프로젝트의 개발자 및 개발사는 이 프로그램을 사용한 결과에 따른 어떠한 책임도 지지 않습니다. | ||
* KSAN 개발팀은 사전 공지, 허락, 동의 없이 KSAN 개발에 관련된 모든 결과물에 대한 LICENSE 방식을 변경 할 권리가 있습니다. | ||
*/ | ||
package com.pspace.backend.libs.Config; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.core.JsonProcessingException; | ||
import com.fasterxml.jackson.databind.ObjectMapper; | ||
|
||
public class ReplicationConfig { | ||
|
||
@JsonProperty("objM.db_repository") | ||
public String DBType; | ||
|
||
@JsonProperty("objM.db_host") | ||
public String DBHost; | ||
|
||
@JsonProperty("objM.db_port") | ||
public int DBPort; | ||
|
||
@JsonProperty("objM.db_name") | ||
public String DBName; | ||
|
||
@JsonProperty("objM.db_user") | ||
public String DBUser; | ||
|
||
@JsonProperty("objM.db_password") | ||
public String DBPassword; | ||
|
||
@JsonProperty("ksan.region") | ||
public String Region; | ||
|
||
@JsonProperty("replication.upload_thread_count") | ||
public int ReplicationUploadThreadCount; | ||
|
||
@JsonProperty("replication.multipart_size") | ||
public long ReplicationPartSize; | ||
|
||
@Override | ||
public String toString() { | ||
ObjectMapper mapper = new ObjectMapper(); | ||
try { | ||
return mapper.writeValueAsString(this); | ||
} catch (JsonProcessingException e) { | ||
return ""; | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
core/backend/src/com/pspace/backend/libs/Data/BackendHeaders.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright (c) 2021 PSPACE, inc. KSAN Development Team ksan@pspace.co.kr | ||
* KSAN is a suite of free software: you can redistribute it and/or modify it under the terms of | ||
* the GNU General Public License as published by the Free Software Foundation, either version | ||
* 3 of the License. See LICENSE for details | ||
* | ||
* 본 프로그램 및 관련 소스코드, 문서 등 모든 자료는 있는 그대로 제공이 됩니다. | ||
* KSAN 프로젝트의 개발자 및 개발사는 이 프로그램을 사용한 결과에 따른 어떠한 책임도 지지 않습니다. | ||
* KSAN 개발팀은 사전 공지, 허락, 동의 없이 KSAN 개발에 관련된 모든 결과물에 대한 LICENSE 방식을 변경 할 권리가 있습니다. | ||
*/ | ||
package com.pspace.backend.libs.Data; | ||
|
||
public class BackendHeaders { | ||
public static final String S3_NOT_ACTIVATED = "This S3 is not active."; | ||
|
||
public static final String HEADER_DATA = "NONE"; | ||
public static final String HEADER_BACKEND = "x-ifs-admin"; | ||
|
||
public static final String HEADER_REPLICATION = "x-ifs-replication"; | ||
public static final String HEADER_VERSIONID = "x-ifs-version-id"; | ||
|
||
public static final String HEADER_LOGGING = "x-ifs-logging"; | ||
public static final String HEADER_LIFECYCLE = "x-ifs-lifecycle"; | ||
|
||
public static final String S3PROXY_HEADER_NO_DR = "x-amz-ifs-nodr"; | ||
public static final String S3PROXY_HEADER_VERSIONID = "x-amz-ifs-VersionId"; | ||
} |
Oops, something went wrong.