diff --git a/.github/workflows/pitr-golint.yml b/.github/workflows/pitr-golint.yml index 456f3a39..6f4050b5 100644 --- a/.github/workflows/pitr-golint.yml +++ b/.github/workflows/pitr-golint.yml @@ -26,10 +26,10 @@ on: branches: - main paths: - - 'pitr/**' + - 'solutions/opengauss/pitr/**' - '.github/workflows/pitr-golint.yml' - - 'pitr/agent/.golangci-lint.yml' - - '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 pitr/cli + cd solutions/opengauss/pitr/cli $(go env GOPATH)/bin/golangci-lint run -v --timeout 300s ./... - name: Lint Pitr Agent run: | - cd pitr/agent + cd solutions/opengauss/pitr/agent $(go env GOPATH)/bin/golangci-lint run -v --timeout 300s ./... 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: 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 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