From d9fc13074b4e86ae15fa61c42abecb0cbcc0bd9d Mon Sep 17 00:00:00 2001 From: mlycore Date: Sat, 6 Jul 2024 15:14:19 +0800 Subject: [PATCH 1/5] docs: fix typo Signed-off-by: mlycore --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1af6bc00..72a3cfa4 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ ShardingSphere on Cloud is under active development and is evolving rapidly. Alt The community encourage users to try out ShardingSphere on Cloud and provide feedback on their experience. Your input is valuable for the ongoing development and enhancement of the project. Please feel free to report any issues, suggestions, or feature requests on our [GitHub Issue Tracker](https://github.com/apache/shardingsphere-on-cloud/issues). -## 🚀🚀 Spinning up a ShardingSphere cluster on Kubernetes in one minutes ! +## 🚀🚀 Spinning up a ShardingSphere cluster on Kubernetes in one minute ! ### A Demo of Starting `ShardingSphere Proxy` Using Helm Charts From 933fdafe458e648a94f099967e2a35f6e2ead077 Mon Sep 17 00:00:00 2001 From: mlycore Date: Sat, 6 Jul 2024 15:15:59 +0800 Subject: [PATCH 2/5] chore: move pitr to opengauss under solutions directory Signed-off-by: mlycore --- {pitr => solutions/opengauss/pitr}/README-zh.md | 0 {pitr => solutions/opengauss/pitr}/README.md | 0 {pitr => solutions/opengauss/pitr}/agent/.golangci.yml | 0 {pitr => solutions/opengauss/pitr}/agent/Makefile | 0 {pitr => solutions/opengauss/pitr}/agent/README.md | 0 {pitr => solutions/opengauss/pitr}/agent/go.mod | 0 {pitr => solutions/opengauss/pitr}/agent/go.sum | 0 {pitr => solutions/opengauss/pitr}/agent/internal/cons/backup.go | 0 {pitr => solutions/opengauss/pitr}/agent/internal/cons/error.go | 0 .../opengauss/pitr}/agent/internal/cons/http_header.go | 0 .../opengauss/pitr}/agent/internal/handler/backup.go | 0 .../opengauss/pitr}/agent/internal/handler/backup_test.go | 0 .../opengauss/pitr}/agent/internal/handler/diskspace.go | 0 .../opengauss/pitr}/agent/internal/handler/diskspace_test.go | 0 .../opengauss/pitr}/agent/internal/handler/handler_suite_test.go | 0 .../opengauss/pitr}/agent/internal/handler/healthcheck.go | 0 .../opengauss/pitr}/agent/internal/handler/healthcheck_test.go | 0 .../pitr}/agent/internal/handler/middleware/http_header.go | 0 .../opengauss/pitr}/agent/internal/handler/middleware/logger.go | 0 .../opengauss/pitr}/agent/internal/handler/middleware/recovery.go | 0 .../pitr}/agent/internal/handler/middleware/uniform_err_resp.go | 0 .../opengauss/pitr}/agent/internal/handler/restore.go | 0 {pitr => solutions/opengauss/pitr}/agent/internal/handler/show.go | 0 .../opengauss/pitr}/agent/internal/handler/view/backup.go | 0 .../opengauss/pitr}/agent/internal/handler/view/diskspace.go | 0 .../opengauss/pitr}/agent/internal/handler/view/healthcheck.go | 0 .../opengauss/pitr}/agent/internal/handler/view/restore.go | 0 .../opengauss/pitr}/agent/internal/handler/view/show.go | 0 .../opengauss/pitr}/agent/internal/pkg/mocks/opengauss.go | 0 .../opengauss/pitr}/agent/internal/pkg/model/backup.go | 0 .../opengauss/pitr}/agent/internal/pkg/opengauss.go | 0 .../opengauss/pitr}/agent/internal/pkg/opengauss_test.go | 0 {pitr => solutions/opengauss/pitr}/agent/internal/pkg/pkg.go | 0 {pitr => solutions/opengauss/pitr}/agent/internal/pkg/pkg_test.go | 0 {pitr => solutions/opengauss/pitr}/agent/main.go | 0 {pitr => solutions/opengauss/pitr}/agent/pkg/cmds/cmd.go | 0 {pitr => solutions/opengauss/pitr}/agent/pkg/cmds/cmd_test.go | 0 {pitr => solutions/opengauss/pitr}/agent/pkg/cmds/cmds_test.go | 0 {pitr => solutions/opengauss/pitr}/agent/pkg/gsutil/conn.go | 0 {pitr => solutions/opengauss/pitr}/agent/pkg/gsutil/conn_test.go | 0 .../opengauss/pitr}/agent/pkg/gsutil/gsutil_test.go | 0 {pitr => solutions/opengauss/pitr}/agent/pkg/logging/field.go | 0 {pitr => solutions/opengauss/pitr}/agent/pkg/logging/log.go | 0 {pitr => solutions/opengauss/pitr}/agent/pkg/logging/zap_log.go | 0 {pitr => solutions/opengauss/pitr}/agent/pkg/responder/resp.go | 0 .../opengauss/pitr}/agent/pkg/strutil/rand_string.go | 0 .../opengauss/pitr}/agent/pkg/strutil/rand_string_test.go | 0 .../opengauss/pitr}/agent/pkg/strutil/strutil_test.go | 0 .../opengauss/pitr}/agent/pkg/syncutils/recover_func.go | 0 {pitr => solutions/opengauss/pitr}/agent/pkg/xerror/error.go | 0 {pitr => solutions/opengauss/pitr}/agent/pkg/xerror/error_test.go | 0 {pitr => solutions/opengauss/pitr}/cli/.golangci.yml | 0 {pitr => solutions/opengauss/pitr}/cli/Makefile | 0 {pitr => solutions/opengauss/pitr}/cli/README.md | 0 {pitr => solutions/opengauss/pitr}/cli/go.mod | 0 {pitr => solutions/opengauss/pitr}/cli/go.sum | 0 {pitr => solutions/opengauss/pitr}/cli/internal/cmd/backup.go | 0 .../opengauss/pitr}/cli/internal/cmd/backup_test.go | 0 .../opengauss/pitr}/cli/internal/cmd/cmd_suite_test.go | 0 {pitr => solutions/opengauss/pitr}/cli/internal/cmd/common.go | 0 {pitr => solutions/opengauss/pitr}/cli/internal/cmd/delete.go | 0 .../opengauss/pitr}/cli/internal/cmd/delete_test.go | 0 {pitr => solutions/opengauss/pitr}/cli/internal/cmd/restore.go | 0 .../opengauss/pitr}/cli/internal/cmd/restore_test.go | 0 {pitr => solutions/opengauss/pitr}/cli/internal/cmd/root.go | 0 {pitr => solutions/opengauss/pitr}/cli/internal/cmd/root_test.go | 0 {pitr => solutions/opengauss/pitr}/cli/internal/cmd/show.go | 0 {pitr => solutions/opengauss/pitr}/cli/internal/cmd/show_test.go | 0 {pitr => solutions/opengauss/pitr}/cli/internal/cmd/view/.gitkeep | 0 .../opengauss/pitr}/cli/internal/pkg/agent-server.go | 0 .../opengauss/pitr}/cli/internal/pkg/agent-server_test.go | 0 .../opengauss/pitr}/cli/internal/pkg/local-storage.go | 0 .../opengauss/pitr}/cli/internal/pkg/local-storage_test.go | 0 .../opengauss/pitr}/cli/internal/pkg/mocks/agent-server.go | 0 .../opengauss/pitr}/cli/internal/pkg/mocks/local-storage.go | 0 .../pitr}/cli/internal/pkg/mocks/shardingsphere-proxy.go | 0 .../opengauss/pitr}/cli/internal/pkg/model/.gitkeep | 0 .../opengauss/pitr}/cli/internal/pkg/model/as_backup.go | 0 .../opengauss/pitr}/cli/internal/pkg/model/as_healthcheck.go | 0 .../opengauss/pitr}/cli/internal/pkg/model/as_restore.go | 0 .../opengauss/pitr}/cli/internal/pkg/model/as_show.go | 0 .../opengauss/pitr}/cli/internal/pkg/model/const.go | 0 .../opengauss/pitr}/cli/internal/pkg/model/ls_backup.go | 0 .../opengauss/pitr}/cli/internal/pkg/model/ss_backup.go | 0 {pitr => solutions/opengauss/pitr}/cli/internal/pkg/pkg_test.go | 0 .../opengauss/pitr}/cli/internal/pkg/shardingsphere-proxy.go | 0 .../opengauss/pitr}/cli/internal/pkg/shardingsphere-proxy_test.go | 0 {pitr => solutions/opengauss/pitr}/cli/internal/pkg/xerr/err.go | 0 {pitr => solutions/opengauss/pitr}/cli/main.go | 0 {pitr => solutions/opengauss/pitr}/cli/pkg/gsutil/conn.go | 0 {pitr => solutions/opengauss/pitr}/cli/pkg/gsutil/conn_test.go | 0 {pitr => solutions/opengauss/pitr}/cli/pkg/gsutil/gsutil_test.go | 0 .../opengauss/pitr}/cli/pkg/httputils/httputils_suite_test.go | 0 {pitr => solutions/opengauss/pitr}/cli/pkg/httputils/mocks/req.go | 0 {pitr => solutions/opengauss/pitr}/cli/pkg/httputils/req.go | 0 {pitr => solutions/opengauss/pitr}/cli/pkg/httputils/req_test.go | 0 {pitr => solutions/opengauss/pitr}/cli/pkg/logging/field.go | 0 {pitr => solutions/opengauss/pitr}/cli/pkg/logging/log.go | 0 {pitr => solutions/opengauss/pitr}/cli/pkg/logging/zap_log.go | 0 .../pitr}/cli/pkg/prettyoutput/prettyoutput_suite_test.go | 0 .../opengauss/pitr}/cli/pkg/prettyoutput/progress.go | 0 .../opengauss/pitr}/cli/pkg/prettyoutput/progress_test.go | 0 {pitr => solutions/opengauss/pitr}/cli/pkg/promptutil/prompt.go | 0 .../opengauss/pitr}/cli/pkg/stringutil/rand_string.go | 0 .../opengauss/pitr}/cli/pkg/stringutil/rand_string_test.go | 0 .../opengauss/pitr}/cli/pkg/stringutil/strutil_test.go | 0 {pitr => solutions/opengauss/pitr}/cli/pkg/timeutil/time.go | 0 107 files changed, 0 insertions(+), 0 deletions(-) rename {pitr => solutions/opengauss/pitr}/README-zh.md (100%) rename {pitr => solutions/opengauss/pitr}/README.md (100%) rename {pitr => solutions/opengauss/pitr}/agent/.golangci.yml (100%) rename {pitr => solutions/opengauss/pitr}/agent/Makefile (100%) rename {pitr => solutions/opengauss/pitr}/agent/README.md (100%) rename {pitr => solutions/opengauss/pitr}/agent/go.mod (100%) rename {pitr => solutions/opengauss/pitr}/agent/go.sum (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/cons/backup.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/cons/error.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/cons/http_header.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/backup.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/backup_test.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/diskspace.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/diskspace_test.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/handler_suite_test.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/healthcheck.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/healthcheck_test.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/middleware/http_header.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/middleware/logger.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/middleware/recovery.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/middleware/uniform_err_resp.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/restore.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/show.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/view/backup.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/view/diskspace.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/view/healthcheck.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/view/restore.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/handler/view/show.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/pkg/mocks/opengauss.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/pkg/model/backup.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/pkg/opengauss.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/pkg/opengauss_test.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/pkg/pkg.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/internal/pkg/pkg_test.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/main.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/cmds/cmd.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/cmds/cmd_test.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/cmds/cmds_test.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/gsutil/conn.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/gsutil/conn_test.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/gsutil/gsutil_test.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/logging/field.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/logging/log.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/logging/zap_log.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/responder/resp.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/strutil/rand_string.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/strutil/rand_string_test.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/strutil/strutil_test.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/syncutils/recover_func.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/xerror/error.go (100%) rename {pitr => solutions/opengauss/pitr}/agent/pkg/xerror/error_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/.golangci.yml (100%) rename {pitr => solutions/opengauss/pitr}/cli/Makefile (100%) rename {pitr => solutions/opengauss/pitr}/cli/README.md (100%) rename {pitr => solutions/opengauss/pitr}/cli/go.mod (100%) rename {pitr => solutions/opengauss/pitr}/cli/go.sum (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/cmd/backup.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/cmd/backup_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/cmd/cmd_suite_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/cmd/common.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/cmd/delete.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/cmd/delete_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/cmd/restore.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/cmd/restore_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/cmd/root.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/cmd/root_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/cmd/show.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/cmd/show_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/cmd/view/.gitkeep (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/agent-server.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/agent-server_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/local-storage.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/local-storage_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/mocks/agent-server.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/mocks/local-storage.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/mocks/shardingsphere-proxy.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/model/.gitkeep (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/model/as_backup.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/model/as_healthcheck.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/model/as_restore.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/model/as_show.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/model/const.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/model/ls_backup.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/model/ss_backup.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/pkg_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/shardingsphere-proxy.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/shardingsphere-proxy_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/internal/pkg/xerr/err.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/main.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/gsutil/conn.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/gsutil/conn_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/gsutil/gsutil_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/httputils/httputils_suite_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/httputils/mocks/req.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/httputils/req.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/httputils/req_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/logging/field.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/logging/log.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/logging/zap_log.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/prettyoutput/prettyoutput_suite_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/prettyoutput/progress.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/prettyoutput/progress_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/promptutil/prompt.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/stringutil/rand_string.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/stringutil/rand_string_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/stringutil/strutil_test.go (100%) rename {pitr => solutions/opengauss/pitr}/cli/pkg/timeutil/time.go (100%) diff --git a/pitr/README-zh.md b/solutions/opengauss/pitr/README-zh.md similarity index 100% rename from pitr/README-zh.md rename to solutions/opengauss/pitr/README-zh.md diff --git a/pitr/README.md b/solutions/opengauss/pitr/README.md similarity index 100% rename from pitr/README.md rename to solutions/opengauss/pitr/README.md diff --git a/pitr/agent/.golangci.yml b/solutions/opengauss/pitr/agent/.golangci.yml similarity index 100% rename from pitr/agent/.golangci.yml rename to solutions/opengauss/pitr/agent/.golangci.yml diff --git a/pitr/agent/Makefile b/solutions/opengauss/pitr/agent/Makefile similarity index 100% rename from pitr/agent/Makefile rename to solutions/opengauss/pitr/agent/Makefile diff --git a/pitr/agent/README.md b/solutions/opengauss/pitr/agent/README.md similarity index 100% rename from pitr/agent/README.md rename to solutions/opengauss/pitr/agent/README.md diff --git a/pitr/agent/go.mod b/solutions/opengauss/pitr/agent/go.mod similarity index 100% rename from pitr/agent/go.mod rename to solutions/opengauss/pitr/agent/go.mod diff --git a/pitr/agent/go.sum b/solutions/opengauss/pitr/agent/go.sum similarity index 100% rename from pitr/agent/go.sum rename to solutions/opengauss/pitr/agent/go.sum diff --git a/pitr/agent/internal/cons/backup.go b/solutions/opengauss/pitr/agent/internal/cons/backup.go similarity index 100% rename from pitr/agent/internal/cons/backup.go rename to solutions/opengauss/pitr/agent/internal/cons/backup.go diff --git a/pitr/agent/internal/cons/error.go b/solutions/opengauss/pitr/agent/internal/cons/error.go similarity index 100% rename from pitr/agent/internal/cons/error.go rename to solutions/opengauss/pitr/agent/internal/cons/error.go diff --git a/pitr/agent/internal/cons/http_header.go b/solutions/opengauss/pitr/agent/internal/cons/http_header.go similarity index 100% rename from pitr/agent/internal/cons/http_header.go rename to solutions/opengauss/pitr/agent/internal/cons/http_header.go diff --git a/pitr/agent/internal/handler/backup.go b/solutions/opengauss/pitr/agent/internal/handler/backup.go similarity index 100% rename from pitr/agent/internal/handler/backup.go rename to solutions/opengauss/pitr/agent/internal/handler/backup.go diff --git a/pitr/agent/internal/handler/backup_test.go b/solutions/opengauss/pitr/agent/internal/handler/backup_test.go similarity index 100% rename from pitr/agent/internal/handler/backup_test.go rename to solutions/opengauss/pitr/agent/internal/handler/backup_test.go diff --git a/pitr/agent/internal/handler/diskspace.go b/solutions/opengauss/pitr/agent/internal/handler/diskspace.go similarity index 100% rename from pitr/agent/internal/handler/diskspace.go rename to solutions/opengauss/pitr/agent/internal/handler/diskspace.go diff --git a/pitr/agent/internal/handler/diskspace_test.go b/solutions/opengauss/pitr/agent/internal/handler/diskspace_test.go similarity index 100% rename from pitr/agent/internal/handler/diskspace_test.go rename to solutions/opengauss/pitr/agent/internal/handler/diskspace_test.go diff --git a/pitr/agent/internal/handler/handler_suite_test.go b/solutions/opengauss/pitr/agent/internal/handler/handler_suite_test.go similarity index 100% rename from pitr/agent/internal/handler/handler_suite_test.go rename to solutions/opengauss/pitr/agent/internal/handler/handler_suite_test.go diff --git a/pitr/agent/internal/handler/healthcheck.go b/solutions/opengauss/pitr/agent/internal/handler/healthcheck.go similarity index 100% rename from pitr/agent/internal/handler/healthcheck.go rename to solutions/opengauss/pitr/agent/internal/handler/healthcheck.go diff --git a/pitr/agent/internal/handler/healthcheck_test.go b/solutions/opengauss/pitr/agent/internal/handler/healthcheck_test.go similarity index 100% rename from pitr/agent/internal/handler/healthcheck_test.go rename to solutions/opengauss/pitr/agent/internal/handler/healthcheck_test.go diff --git a/pitr/agent/internal/handler/middleware/http_header.go b/solutions/opengauss/pitr/agent/internal/handler/middleware/http_header.go similarity index 100% rename from pitr/agent/internal/handler/middleware/http_header.go rename to solutions/opengauss/pitr/agent/internal/handler/middleware/http_header.go diff --git a/pitr/agent/internal/handler/middleware/logger.go b/solutions/opengauss/pitr/agent/internal/handler/middleware/logger.go similarity index 100% rename from pitr/agent/internal/handler/middleware/logger.go rename to solutions/opengauss/pitr/agent/internal/handler/middleware/logger.go diff --git a/pitr/agent/internal/handler/middleware/recovery.go b/solutions/opengauss/pitr/agent/internal/handler/middleware/recovery.go similarity index 100% rename from pitr/agent/internal/handler/middleware/recovery.go rename to solutions/opengauss/pitr/agent/internal/handler/middleware/recovery.go diff --git a/pitr/agent/internal/handler/middleware/uniform_err_resp.go b/solutions/opengauss/pitr/agent/internal/handler/middleware/uniform_err_resp.go similarity index 100% rename from pitr/agent/internal/handler/middleware/uniform_err_resp.go rename to solutions/opengauss/pitr/agent/internal/handler/middleware/uniform_err_resp.go diff --git a/pitr/agent/internal/handler/restore.go b/solutions/opengauss/pitr/agent/internal/handler/restore.go similarity index 100% rename from pitr/agent/internal/handler/restore.go rename to solutions/opengauss/pitr/agent/internal/handler/restore.go diff --git a/pitr/agent/internal/handler/show.go b/solutions/opengauss/pitr/agent/internal/handler/show.go similarity index 100% rename from pitr/agent/internal/handler/show.go rename to solutions/opengauss/pitr/agent/internal/handler/show.go diff --git a/pitr/agent/internal/handler/view/backup.go b/solutions/opengauss/pitr/agent/internal/handler/view/backup.go similarity index 100% rename from pitr/agent/internal/handler/view/backup.go rename to solutions/opengauss/pitr/agent/internal/handler/view/backup.go diff --git a/pitr/agent/internal/handler/view/diskspace.go b/solutions/opengauss/pitr/agent/internal/handler/view/diskspace.go similarity index 100% rename from pitr/agent/internal/handler/view/diskspace.go rename to solutions/opengauss/pitr/agent/internal/handler/view/diskspace.go diff --git a/pitr/agent/internal/handler/view/healthcheck.go b/solutions/opengauss/pitr/agent/internal/handler/view/healthcheck.go similarity index 100% rename from pitr/agent/internal/handler/view/healthcheck.go rename to solutions/opengauss/pitr/agent/internal/handler/view/healthcheck.go diff --git a/pitr/agent/internal/handler/view/restore.go b/solutions/opengauss/pitr/agent/internal/handler/view/restore.go similarity index 100% rename from pitr/agent/internal/handler/view/restore.go rename to solutions/opengauss/pitr/agent/internal/handler/view/restore.go diff --git a/pitr/agent/internal/handler/view/show.go b/solutions/opengauss/pitr/agent/internal/handler/view/show.go similarity index 100% rename from pitr/agent/internal/handler/view/show.go rename to solutions/opengauss/pitr/agent/internal/handler/view/show.go diff --git a/pitr/agent/internal/pkg/mocks/opengauss.go b/solutions/opengauss/pitr/agent/internal/pkg/mocks/opengauss.go similarity index 100% rename from pitr/agent/internal/pkg/mocks/opengauss.go rename to solutions/opengauss/pitr/agent/internal/pkg/mocks/opengauss.go diff --git a/pitr/agent/internal/pkg/model/backup.go b/solutions/opengauss/pitr/agent/internal/pkg/model/backup.go similarity index 100% rename from pitr/agent/internal/pkg/model/backup.go rename to solutions/opengauss/pitr/agent/internal/pkg/model/backup.go diff --git a/pitr/agent/internal/pkg/opengauss.go b/solutions/opengauss/pitr/agent/internal/pkg/opengauss.go similarity index 100% rename from pitr/agent/internal/pkg/opengauss.go rename to solutions/opengauss/pitr/agent/internal/pkg/opengauss.go diff --git a/pitr/agent/internal/pkg/opengauss_test.go b/solutions/opengauss/pitr/agent/internal/pkg/opengauss_test.go similarity index 100% rename from pitr/agent/internal/pkg/opengauss_test.go rename to solutions/opengauss/pitr/agent/internal/pkg/opengauss_test.go diff --git a/pitr/agent/internal/pkg/pkg.go b/solutions/opengauss/pitr/agent/internal/pkg/pkg.go similarity index 100% rename from pitr/agent/internal/pkg/pkg.go rename to solutions/opengauss/pitr/agent/internal/pkg/pkg.go diff --git a/pitr/agent/internal/pkg/pkg_test.go b/solutions/opengauss/pitr/agent/internal/pkg/pkg_test.go similarity index 100% rename from pitr/agent/internal/pkg/pkg_test.go rename to solutions/opengauss/pitr/agent/internal/pkg/pkg_test.go diff --git a/pitr/agent/main.go b/solutions/opengauss/pitr/agent/main.go similarity index 100% rename from pitr/agent/main.go rename to solutions/opengauss/pitr/agent/main.go diff --git a/pitr/agent/pkg/cmds/cmd.go b/solutions/opengauss/pitr/agent/pkg/cmds/cmd.go similarity index 100% rename from pitr/agent/pkg/cmds/cmd.go rename to solutions/opengauss/pitr/agent/pkg/cmds/cmd.go diff --git a/pitr/agent/pkg/cmds/cmd_test.go b/solutions/opengauss/pitr/agent/pkg/cmds/cmd_test.go similarity index 100% rename from pitr/agent/pkg/cmds/cmd_test.go rename to solutions/opengauss/pitr/agent/pkg/cmds/cmd_test.go diff --git a/pitr/agent/pkg/cmds/cmds_test.go b/solutions/opengauss/pitr/agent/pkg/cmds/cmds_test.go similarity index 100% rename from pitr/agent/pkg/cmds/cmds_test.go rename to solutions/opengauss/pitr/agent/pkg/cmds/cmds_test.go diff --git a/pitr/agent/pkg/gsutil/conn.go b/solutions/opengauss/pitr/agent/pkg/gsutil/conn.go similarity index 100% rename from pitr/agent/pkg/gsutil/conn.go rename to solutions/opengauss/pitr/agent/pkg/gsutil/conn.go diff --git a/pitr/agent/pkg/gsutil/conn_test.go b/solutions/opengauss/pitr/agent/pkg/gsutil/conn_test.go similarity index 100% rename from pitr/agent/pkg/gsutil/conn_test.go rename to solutions/opengauss/pitr/agent/pkg/gsutil/conn_test.go diff --git a/pitr/agent/pkg/gsutil/gsutil_test.go b/solutions/opengauss/pitr/agent/pkg/gsutil/gsutil_test.go similarity index 100% rename from pitr/agent/pkg/gsutil/gsutil_test.go rename to solutions/opengauss/pitr/agent/pkg/gsutil/gsutil_test.go diff --git a/pitr/agent/pkg/logging/field.go b/solutions/opengauss/pitr/agent/pkg/logging/field.go similarity index 100% rename from pitr/agent/pkg/logging/field.go rename to solutions/opengauss/pitr/agent/pkg/logging/field.go diff --git a/pitr/agent/pkg/logging/log.go b/solutions/opengauss/pitr/agent/pkg/logging/log.go similarity index 100% rename from pitr/agent/pkg/logging/log.go rename to solutions/opengauss/pitr/agent/pkg/logging/log.go diff --git a/pitr/agent/pkg/logging/zap_log.go b/solutions/opengauss/pitr/agent/pkg/logging/zap_log.go similarity index 100% rename from pitr/agent/pkg/logging/zap_log.go rename to solutions/opengauss/pitr/agent/pkg/logging/zap_log.go diff --git a/pitr/agent/pkg/responder/resp.go b/solutions/opengauss/pitr/agent/pkg/responder/resp.go similarity index 100% rename from pitr/agent/pkg/responder/resp.go rename to solutions/opengauss/pitr/agent/pkg/responder/resp.go diff --git a/pitr/agent/pkg/strutil/rand_string.go b/solutions/opengauss/pitr/agent/pkg/strutil/rand_string.go similarity index 100% rename from pitr/agent/pkg/strutil/rand_string.go rename to solutions/opengauss/pitr/agent/pkg/strutil/rand_string.go diff --git a/pitr/agent/pkg/strutil/rand_string_test.go b/solutions/opengauss/pitr/agent/pkg/strutil/rand_string_test.go similarity index 100% rename from pitr/agent/pkg/strutil/rand_string_test.go rename to solutions/opengauss/pitr/agent/pkg/strutil/rand_string_test.go diff --git a/pitr/agent/pkg/strutil/strutil_test.go b/solutions/opengauss/pitr/agent/pkg/strutil/strutil_test.go similarity index 100% rename from pitr/agent/pkg/strutil/strutil_test.go rename to solutions/opengauss/pitr/agent/pkg/strutil/strutil_test.go diff --git a/pitr/agent/pkg/syncutils/recover_func.go b/solutions/opengauss/pitr/agent/pkg/syncutils/recover_func.go similarity index 100% rename from pitr/agent/pkg/syncutils/recover_func.go rename to solutions/opengauss/pitr/agent/pkg/syncutils/recover_func.go diff --git a/pitr/agent/pkg/xerror/error.go b/solutions/opengauss/pitr/agent/pkg/xerror/error.go similarity index 100% rename from pitr/agent/pkg/xerror/error.go rename to solutions/opengauss/pitr/agent/pkg/xerror/error.go diff --git a/pitr/agent/pkg/xerror/error_test.go b/solutions/opengauss/pitr/agent/pkg/xerror/error_test.go similarity index 100% rename from pitr/agent/pkg/xerror/error_test.go rename to solutions/opengauss/pitr/agent/pkg/xerror/error_test.go diff --git a/pitr/cli/.golangci.yml b/solutions/opengauss/pitr/cli/.golangci.yml similarity index 100% rename from pitr/cli/.golangci.yml rename to solutions/opengauss/pitr/cli/.golangci.yml diff --git a/pitr/cli/Makefile b/solutions/opengauss/pitr/cli/Makefile similarity index 100% rename from pitr/cli/Makefile rename to solutions/opengauss/pitr/cli/Makefile diff --git a/pitr/cli/README.md b/solutions/opengauss/pitr/cli/README.md similarity index 100% rename from pitr/cli/README.md rename to solutions/opengauss/pitr/cli/README.md diff --git a/pitr/cli/go.mod b/solutions/opengauss/pitr/cli/go.mod similarity index 100% rename from pitr/cli/go.mod rename to solutions/opengauss/pitr/cli/go.mod diff --git a/pitr/cli/go.sum b/solutions/opengauss/pitr/cli/go.sum similarity index 100% rename from pitr/cli/go.sum rename to solutions/opengauss/pitr/cli/go.sum diff --git a/pitr/cli/internal/cmd/backup.go b/solutions/opengauss/pitr/cli/internal/cmd/backup.go similarity index 100% rename from pitr/cli/internal/cmd/backup.go rename to solutions/opengauss/pitr/cli/internal/cmd/backup.go diff --git a/pitr/cli/internal/cmd/backup_test.go b/solutions/opengauss/pitr/cli/internal/cmd/backup_test.go similarity index 100% rename from pitr/cli/internal/cmd/backup_test.go rename to solutions/opengauss/pitr/cli/internal/cmd/backup_test.go diff --git a/pitr/cli/internal/cmd/cmd_suite_test.go b/solutions/opengauss/pitr/cli/internal/cmd/cmd_suite_test.go similarity index 100% rename from pitr/cli/internal/cmd/cmd_suite_test.go rename to solutions/opengauss/pitr/cli/internal/cmd/cmd_suite_test.go diff --git a/pitr/cli/internal/cmd/common.go b/solutions/opengauss/pitr/cli/internal/cmd/common.go similarity index 100% rename from pitr/cli/internal/cmd/common.go rename to solutions/opengauss/pitr/cli/internal/cmd/common.go diff --git a/pitr/cli/internal/cmd/delete.go b/solutions/opengauss/pitr/cli/internal/cmd/delete.go similarity index 100% rename from pitr/cli/internal/cmd/delete.go rename to solutions/opengauss/pitr/cli/internal/cmd/delete.go diff --git a/pitr/cli/internal/cmd/delete_test.go b/solutions/opengauss/pitr/cli/internal/cmd/delete_test.go similarity index 100% rename from pitr/cli/internal/cmd/delete_test.go rename to solutions/opengauss/pitr/cli/internal/cmd/delete_test.go diff --git a/pitr/cli/internal/cmd/restore.go b/solutions/opengauss/pitr/cli/internal/cmd/restore.go similarity index 100% rename from pitr/cli/internal/cmd/restore.go rename to solutions/opengauss/pitr/cli/internal/cmd/restore.go diff --git a/pitr/cli/internal/cmd/restore_test.go b/solutions/opengauss/pitr/cli/internal/cmd/restore_test.go similarity index 100% rename from pitr/cli/internal/cmd/restore_test.go rename to solutions/opengauss/pitr/cli/internal/cmd/restore_test.go diff --git a/pitr/cli/internal/cmd/root.go b/solutions/opengauss/pitr/cli/internal/cmd/root.go similarity index 100% rename from pitr/cli/internal/cmd/root.go rename to solutions/opengauss/pitr/cli/internal/cmd/root.go diff --git a/pitr/cli/internal/cmd/root_test.go b/solutions/opengauss/pitr/cli/internal/cmd/root_test.go similarity index 100% rename from pitr/cli/internal/cmd/root_test.go rename to solutions/opengauss/pitr/cli/internal/cmd/root_test.go diff --git a/pitr/cli/internal/cmd/show.go b/solutions/opengauss/pitr/cli/internal/cmd/show.go similarity index 100% rename from pitr/cli/internal/cmd/show.go rename to solutions/opengauss/pitr/cli/internal/cmd/show.go diff --git a/pitr/cli/internal/cmd/show_test.go b/solutions/opengauss/pitr/cli/internal/cmd/show_test.go similarity index 100% rename from pitr/cli/internal/cmd/show_test.go rename to solutions/opengauss/pitr/cli/internal/cmd/show_test.go diff --git a/pitr/cli/internal/cmd/view/.gitkeep b/solutions/opengauss/pitr/cli/internal/cmd/view/.gitkeep similarity index 100% rename from pitr/cli/internal/cmd/view/.gitkeep rename to solutions/opengauss/pitr/cli/internal/cmd/view/.gitkeep diff --git a/pitr/cli/internal/pkg/agent-server.go b/solutions/opengauss/pitr/cli/internal/pkg/agent-server.go similarity index 100% rename from pitr/cli/internal/pkg/agent-server.go rename to solutions/opengauss/pitr/cli/internal/pkg/agent-server.go diff --git a/pitr/cli/internal/pkg/agent-server_test.go b/solutions/opengauss/pitr/cli/internal/pkg/agent-server_test.go similarity index 100% rename from pitr/cli/internal/pkg/agent-server_test.go rename to solutions/opengauss/pitr/cli/internal/pkg/agent-server_test.go diff --git a/pitr/cli/internal/pkg/local-storage.go b/solutions/opengauss/pitr/cli/internal/pkg/local-storage.go similarity index 100% rename from pitr/cli/internal/pkg/local-storage.go rename to solutions/opengauss/pitr/cli/internal/pkg/local-storage.go diff --git a/pitr/cli/internal/pkg/local-storage_test.go b/solutions/opengauss/pitr/cli/internal/pkg/local-storage_test.go similarity index 100% rename from pitr/cli/internal/pkg/local-storage_test.go rename to solutions/opengauss/pitr/cli/internal/pkg/local-storage_test.go diff --git a/pitr/cli/internal/pkg/mocks/agent-server.go b/solutions/opengauss/pitr/cli/internal/pkg/mocks/agent-server.go similarity index 100% rename from pitr/cli/internal/pkg/mocks/agent-server.go rename to solutions/opengauss/pitr/cli/internal/pkg/mocks/agent-server.go diff --git a/pitr/cli/internal/pkg/mocks/local-storage.go b/solutions/opengauss/pitr/cli/internal/pkg/mocks/local-storage.go similarity index 100% rename from pitr/cli/internal/pkg/mocks/local-storage.go rename to solutions/opengauss/pitr/cli/internal/pkg/mocks/local-storage.go diff --git a/pitr/cli/internal/pkg/mocks/shardingsphere-proxy.go b/solutions/opengauss/pitr/cli/internal/pkg/mocks/shardingsphere-proxy.go similarity index 100% rename from pitr/cli/internal/pkg/mocks/shardingsphere-proxy.go rename to solutions/opengauss/pitr/cli/internal/pkg/mocks/shardingsphere-proxy.go diff --git a/pitr/cli/internal/pkg/model/.gitkeep b/solutions/opengauss/pitr/cli/internal/pkg/model/.gitkeep similarity index 100% rename from pitr/cli/internal/pkg/model/.gitkeep rename to solutions/opengauss/pitr/cli/internal/pkg/model/.gitkeep diff --git a/pitr/cli/internal/pkg/model/as_backup.go b/solutions/opengauss/pitr/cli/internal/pkg/model/as_backup.go similarity index 100% rename from pitr/cli/internal/pkg/model/as_backup.go rename to solutions/opengauss/pitr/cli/internal/pkg/model/as_backup.go diff --git a/pitr/cli/internal/pkg/model/as_healthcheck.go b/solutions/opengauss/pitr/cli/internal/pkg/model/as_healthcheck.go similarity index 100% rename from pitr/cli/internal/pkg/model/as_healthcheck.go rename to solutions/opengauss/pitr/cli/internal/pkg/model/as_healthcheck.go diff --git a/pitr/cli/internal/pkg/model/as_restore.go b/solutions/opengauss/pitr/cli/internal/pkg/model/as_restore.go similarity index 100% rename from pitr/cli/internal/pkg/model/as_restore.go rename to solutions/opengauss/pitr/cli/internal/pkg/model/as_restore.go diff --git a/pitr/cli/internal/pkg/model/as_show.go b/solutions/opengauss/pitr/cli/internal/pkg/model/as_show.go similarity index 100% rename from pitr/cli/internal/pkg/model/as_show.go rename to solutions/opengauss/pitr/cli/internal/pkg/model/as_show.go diff --git a/pitr/cli/internal/pkg/model/const.go b/solutions/opengauss/pitr/cli/internal/pkg/model/const.go similarity index 100% rename from pitr/cli/internal/pkg/model/const.go rename to solutions/opengauss/pitr/cli/internal/pkg/model/const.go diff --git a/pitr/cli/internal/pkg/model/ls_backup.go b/solutions/opengauss/pitr/cli/internal/pkg/model/ls_backup.go similarity index 100% rename from pitr/cli/internal/pkg/model/ls_backup.go rename to solutions/opengauss/pitr/cli/internal/pkg/model/ls_backup.go diff --git a/pitr/cli/internal/pkg/model/ss_backup.go b/solutions/opengauss/pitr/cli/internal/pkg/model/ss_backup.go similarity index 100% rename from pitr/cli/internal/pkg/model/ss_backup.go rename to solutions/opengauss/pitr/cli/internal/pkg/model/ss_backup.go diff --git a/pitr/cli/internal/pkg/pkg_test.go b/solutions/opengauss/pitr/cli/internal/pkg/pkg_test.go similarity index 100% rename from pitr/cli/internal/pkg/pkg_test.go rename to solutions/opengauss/pitr/cli/internal/pkg/pkg_test.go diff --git a/pitr/cli/internal/pkg/shardingsphere-proxy.go b/solutions/opengauss/pitr/cli/internal/pkg/shardingsphere-proxy.go similarity index 100% rename from pitr/cli/internal/pkg/shardingsphere-proxy.go rename to solutions/opengauss/pitr/cli/internal/pkg/shardingsphere-proxy.go diff --git a/pitr/cli/internal/pkg/shardingsphere-proxy_test.go b/solutions/opengauss/pitr/cli/internal/pkg/shardingsphere-proxy_test.go similarity index 100% rename from pitr/cli/internal/pkg/shardingsphere-proxy_test.go rename to solutions/opengauss/pitr/cli/internal/pkg/shardingsphere-proxy_test.go diff --git a/pitr/cli/internal/pkg/xerr/err.go b/solutions/opengauss/pitr/cli/internal/pkg/xerr/err.go similarity index 100% rename from pitr/cli/internal/pkg/xerr/err.go rename to solutions/opengauss/pitr/cli/internal/pkg/xerr/err.go diff --git a/pitr/cli/main.go b/solutions/opengauss/pitr/cli/main.go similarity index 100% rename from pitr/cli/main.go rename to solutions/opengauss/pitr/cli/main.go diff --git a/pitr/cli/pkg/gsutil/conn.go b/solutions/opengauss/pitr/cli/pkg/gsutil/conn.go similarity index 100% rename from pitr/cli/pkg/gsutil/conn.go rename to solutions/opengauss/pitr/cli/pkg/gsutil/conn.go diff --git a/pitr/cli/pkg/gsutil/conn_test.go b/solutions/opengauss/pitr/cli/pkg/gsutil/conn_test.go similarity index 100% rename from pitr/cli/pkg/gsutil/conn_test.go rename to solutions/opengauss/pitr/cli/pkg/gsutil/conn_test.go diff --git a/pitr/cli/pkg/gsutil/gsutil_test.go b/solutions/opengauss/pitr/cli/pkg/gsutil/gsutil_test.go similarity index 100% rename from pitr/cli/pkg/gsutil/gsutil_test.go rename to solutions/opengauss/pitr/cli/pkg/gsutil/gsutil_test.go diff --git a/pitr/cli/pkg/httputils/httputils_suite_test.go b/solutions/opengauss/pitr/cli/pkg/httputils/httputils_suite_test.go similarity index 100% rename from pitr/cli/pkg/httputils/httputils_suite_test.go rename to solutions/opengauss/pitr/cli/pkg/httputils/httputils_suite_test.go diff --git a/pitr/cli/pkg/httputils/mocks/req.go b/solutions/opengauss/pitr/cli/pkg/httputils/mocks/req.go similarity index 100% rename from pitr/cli/pkg/httputils/mocks/req.go rename to solutions/opengauss/pitr/cli/pkg/httputils/mocks/req.go diff --git a/pitr/cli/pkg/httputils/req.go b/solutions/opengauss/pitr/cli/pkg/httputils/req.go similarity index 100% rename from pitr/cli/pkg/httputils/req.go rename to solutions/opengauss/pitr/cli/pkg/httputils/req.go diff --git a/pitr/cli/pkg/httputils/req_test.go b/solutions/opengauss/pitr/cli/pkg/httputils/req_test.go similarity index 100% rename from pitr/cli/pkg/httputils/req_test.go rename to solutions/opengauss/pitr/cli/pkg/httputils/req_test.go diff --git a/pitr/cli/pkg/logging/field.go b/solutions/opengauss/pitr/cli/pkg/logging/field.go similarity index 100% rename from pitr/cli/pkg/logging/field.go rename to solutions/opengauss/pitr/cli/pkg/logging/field.go diff --git a/pitr/cli/pkg/logging/log.go b/solutions/opengauss/pitr/cli/pkg/logging/log.go similarity index 100% rename from pitr/cli/pkg/logging/log.go rename to solutions/opengauss/pitr/cli/pkg/logging/log.go diff --git a/pitr/cli/pkg/logging/zap_log.go b/solutions/opengauss/pitr/cli/pkg/logging/zap_log.go similarity index 100% rename from pitr/cli/pkg/logging/zap_log.go rename to solutions/opengauss/pitr/cli/pkg/logging/zap_log.go diff --git a/pitr/cli/pkg/prettyoutput/prettyoutput_suite_test.go b/solutions/opengauss/pitr/cli/pkg/prettyoutput/prettyoutput_suite_test.go similarity index 100% rename from pitr/cli/pkg/prettyoutput/prettyoutput_suite_test.go rename to solutions/opengauss/pitr/cli/pkg/prettyoutput/prettyoutput_suite_test.go diff --git a/pitr/cli/pkg/prettyoutput/progress.go b/solutions/opengauss/pitr/cli/pkg/prettyoutput/progress.go similarity index 100% rename from pitr/cli/pkg/prettyoutput/progress.go rename to solutions/opengauss/pitr/cli/pkg/prettyoutput/progress.go diff --git a/pitr/cli/pkg/prettyoutput/progress_test.go b/solutions/opengauss/pitr/cli/pkg/prettyoutput/progress_test.go similarity index 100% rename from pitr/cli/pkg/prettyoutput/progress_test.go rename to solutions/opengauss/pitr/cli/pkg/prettyoutput/progress_test.go diff --git a/pitr/cli/pkg/promptutil/prompt.go b/solutions/opengauss/pitr/cli/pkg/promptutil/prompt.go similarity index 100% rename from pitr/cli/pkg/promptutil/prompt.go rename to solutions/opengauss/pitr/cli/pkg/promptutil/prompt.go diff --git a/pitr/cli/pkg/stringutil/rand_string.go b/solutions/opengauss/pitr/cli/pkg/stringutil/rand_string.go similarity index 100% rename from pitr/cli/pkg/stringutil/rand_string.go rename to solutions/opengauss/pitr/cli/pkg/stringutil/rand_string.go diff --git a/pitr/cli/pkg/stringutil/rand_string_test.go b/solutions/opengauss/pitr/cli/pkg/stringutil/rand_string_test.go similarity index 100% rename from pitr/cli/pkg/stringutil/rand_string_test.go rename to solutions/opengauss/pitr/cli/pkg/stringutil/rand_string_test.go diff --git a/pitr/cli/pkg/stringutil/strutil_test.go b/solutions/opengauss/pitr/cli/pkg/stringutil/strutil_test.go similarity index 100% rename from pitr/cli/pkg/stringutil/strutil_test.go rename to solutions/opengauss/pitr/cli/pkg/stringutil/strutil_test.go diff --git a/pitr/cli/pkg/timeutil/time.go b/solutions/opengauss/pitr/cli/pkg/timeutil/time.go similarity index 100% rename from pitr/cli/pkg/timeutil/time.go rename to solutions/opengauss/pitr/cli/pkg/timeutil/time.go From d98039608bd3f424bf4a6544d7117edc2e4af7af Mon Sep 17 00:00:00 2001 From: mlycore Date: Sat, 6 Jul 2024 15:25:07 +0800 Subject: [PATCH 3/5] fix: fix pitr golint path Signed-off-by: mlycore --- .github/workflows/pitr-golint.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pitr-golint.yml b/.github/workflows/pitr-golint.yml index 456f3a39..50550e32 100644 --- a/.github/workflows/pitr-golint.yml +++ b/.github/workflows/pitr-golint.yml @@ -26,10 +26,10 @@ on: branches: - main paths: - - 'pitr/**' + - 'solutions/pitr/**' - '.github/workflows/pitr-golint.yml' - - 'pitr/agent/.golangci-lint.yml' - - 'pitr/cli/.golangci-lint.yml' + - 'solutions/pitr/agent/.golangci-lint.yml' + - 'solutions/pitr/cli/.golangci-lint.yml' jobs: changes: @@ -51,9 +51,9 @@ jobs: run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.49.0 - name: Lint Pitr Cli run: | - cd pitr/cli + cd solutions/pitr/cli $(go env GOPATH)/bin/golangci-lint run -v --timeout 300s ./... - name: Lint Pitr Agent run: | - cd pitr/agent + cd solutions/pitr/agent $(go env GOPATH)/bin/golangci-lint run -v --timeout 300s ./... From d6e2ba5e265ca8a9d80e924a8274c8c775f7533a Mon Sep 17 00:00:00 2001 From: mlycore Date: Sat, 6 Jul 2024 15:27:58 +0800 Subject: [PATCH 4/5] fix: fix opengauss pitr golint path Signed-off-by: mlycore --- .github/workflows/pitr-golint.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pitr-golint.yml b/.github/workflows/pitr-golint.yml index 50550e32..6f4050b5 100644 --- a/.github/workflows/pitr-golint.yml +++ b/.github/workflows/pitr-golint.yml @@ -26,10 +26,10 @@ on: branches: - main paths: - - 'solutions/pitr/**' + - 'solutions/opengauss/pitr/**' - '.github/workflows/pitr-golint.yml' - - 'solutions/pitr/agent/.golangci-lint.yml' - - 'solutions/pitr/cli/.golangci-lint.yml' + - 'solutions/opengauss/pitr/agent/.golangci-lint.yml' + - 'solutions/opengauss/pitr/cli/.golangci-lint.yml' jobs: changes: @@ -51,9 +51,9 @@ jobs: run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.49.0 - name: Lint Pitr Cli run: | - cd solutions/pitr/cli + cd solutions/opengauss/pitr/cli $(go env GOPATH)/bin/golangci-lint run -v --timeout 300s ./... - name: Lint Pitr Agent run: | - cd solutions/pitr/agent + cd solutions/opengauss/pitr/agent $(go env GOPATH)/bin/golangci-lint run -v --timeout 300s ./... From 12bb6e5eadb60d509805214f6bacd6cc2f97b1bc Mon Sep 17 00:00:00 2001 From: mlycore Date: Sat, 6 Jul 2024 15:32:47 +0800 Subject: [PATCH 5/5] fix: fix opengauss pitr unit test path Signed-off-by: mlycore --- .github/workflows/unit-test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 503e503a..955e5fe2 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -22,7 +22,7 @@ on: branches: [ main ] paths: - 'shardingsphere-operator/**' - - 'pitr/**' + - 'solutions/opengauss/pitr/**' - '.github/workflows/unit-test.yml' jobs: operator: @@ -40,17 +40,17 @@ jobs: make test - name: "pitr agent test" run: | - cd pitr/agent + cd solutions/opengauss/pitr/agent make test - name: "pitr cli test" run: | - cd pitr/cli + cd solutions/opengauss/pitr/cli make test - name: "aggregate reports" run: | cat ./shardingsphere-operator/cover.out >> cover.out - cat ./pitr/cli/cover.out >> cover.out - cat ./pitr/agent/cover.out >> cover.out + cat ./solutions/opengauss/pitr/cli/cover.out >> cover.out + cat ./solutions/opengauss/pitr/agent/cover.out >> cover.out - name: "code coverage" uses: codecov/codecov-action@v3 with: