From fe6398ad0d82b9dc67a239c72967302dc90379e1 Mon Sep 17 00:00:00 2001 From: Filipe C Menezes Date: Fri, 5 Apr 2024 18:30:37 +0100 Subject: [PATCH 1/5] sync fork github action --- .github/workflows/release.yml | 28 +++++++++++++++++++++++++ .github/workflows/sync-fork.yml | 37 +++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 .github/workflows/release.yml create mode 100644 .github/workflows/sync-fork.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000000..c0ca38ec33 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,28 @@ +--- +name: Release +on: + push: + tags: ['**'] +permissions: + contents: write +jobs: + release: + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + - run: curl -sfL https://goreleaser.com/static/run | DISTRIBUTION=pro bash + - run: ./build/package/generate-notices.sh + - run: | + VERSION_GIT="$(git tag --list "atlascli/v*" --sort=taggerdate | tail -1 | cut -d "v" -f 2)" + export VERSION_GIT + goreleaser --config "build/package/.goreleaser.yml" --rm-dist --release-notes "CHANGELOG.md" -p 1 --debug diff --git a/.github/workflows/sync-fork.yml b/.github/workflows/sync-fork.yml new file mode 100644 index 0000000000..0a96d77c57 --- /dev/null +++ b/.github/workflows/sync-fork.yml @@ -0,0 +1,37 @@ +--- +name: Sync Fork +on: + workflow_dispatch: +permissions: + contents: write + pull-requests: write +jobs: + sync-fork: + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + - run: go install golang.org/x/tools/cmd/goimports@latest + - run: go install github.com/golang/mock/mockgen@latest + - run: | + find . -type f | grep -v .git | xargs sed -i'' 's|github.com/mongodb/mongodb-atlas-cli|github.com/fmenezes/mongodb-atlas-cli|' + find . -type f -name '*.go' -exec goimports -w {} +; + make gen-mocks + - uses: peter-evans/create-pull-request@v6 + with: + title: Sync fork + commit-message: Sync fork + delete-branch: true + base: master + branch: sync-fork + body: | + Sync fork From eed94cabc876bf8ce8d68ad14b5c6deee06b40d4 Mon Sep 17 00:00:00 2001 From: fmenezes <1765216+fmenezes@users.noreply.github.com> Date: Fri, 5 Apr 2024 18:21:13 +0000 Subject: [PATCH 2/5] Sync fork --- CONTRIBUTING.md | 10 +- Makefile | 4 +- README.md | 4 +- RELEASING.md | 6 +- build/ci/evergreen.yml | 18 ++-- build/ci/release.yml | 84 ++++++++-------- build/package/.goreleaser.yml | 2 +- build/package/generate-msi.sh | 2 +- build/package/generate-notices.sh | 2 +- build/package/send-slack-notification.sh | 2 +- cmd/atlas/atlas.go | 8 +- go.mod | 2 +- internal/cli/accesslists/access_lists.go | 2 +- internal/cli/accesslists/access_lists_test.go | 2 +- internal/cli/accesslists/create.go | 16 ++-- internal/cli/accesslists/create_test.go | 6 +- internal/cli/accesslists/delete.go | 12 +-- internal/cli/accesslists/delete_test.go | 8 +- internal/cli/accesslists/describe.go | 12 +-- internal/cli/accesslists/describe_test.go | 10 +- internal/cli/accesslists/list.go | 12 +-- internal/cli/accesslists/list_test.go | 10 +- internal/cli/accesslogs/access_logs.go | 2 +- internal/cli/accesslogs/access_logs_test.go | 2 +- internal/cli/accesslogs/list.go | 12 +-- internal/cli/accesslogs/list_test.go | 10 +- internal/cli/alerts/acknowledge.go | 14 +-- internal/cli/alerts/acknowledge_test.go | 6 +- internal/cli/alerts/alerts.go | 4 +- internal/cli/alerts/alerts_test.go | 2 +- internal/cli/alerts/describe.go | 12 +-- internal/cli/alerts/describe_test.go | 10 +- internal/cli/alerts/list.go | 14 +-- internal/cli/alerts/list_test.go | 10 +- internal/cli/alerts/settings/create.go | 12 +-- internal/cli/alerts/settings/create_test.go | 6 +- internal/cli/alerts/settings/delete.go | 12 +-- internal/cli/alerts/settings/delete_test.go | 4 +- internal/cli/alerts/settings/describe.go | 12 +-- internal/cli/alerts/settings/describe_test.go | 8 +- internal/cli/alerts/settings/disable.go | 12 +-- internal/cli/alerts/settings/disable_test.go | 8 +- internal/cli/alerts/settings/enable.go | 12 +-- internal/cli/alerts/settings/enable_test.go | 8 +- internal/cli/alerts/settings/fields.go | 2 +- internal/cli/alerts/settings/fields_type.go | 12 +-- .../cli/alerts/settings/fields_type_test.go | 4 +- internal/cli/alerts/settings/list.go | 12 +-- internal/cli/alerts/settings/list_test.go | 8 +- internal/cli/alerts/settings/settings_test.go | 2 +- internal/cli/alerts/settings/update.go | 14 +-- internal/cli/alerts/settings/update_test.go | 2 +- internal/cli/alerts/settings/validator.go | 2 +- internal/cli/alerts/unacknowledge.go | 12 +-- internal/cli/alerts/unacknowledge_test.go | 2 +- internal/cli/atlas_cluster_opts.go | 4 +- internal/cli/auditing/auditing_test.go | 2 +- internal/cli/auditing/describe.go | 12 +-- internal/cli/auditing/describe_test.go | 4 +- internal/cli/auth/login.go | 18 ++-- internal/cli/auth/login_test.go | 6 +- internal/cli/auth/logout.go | 14 +-- internal/cli/auth/logout_test.go | 8 +- internal/cli/auth/register.go | 8 +- internal/cli/auth/register_test.go | 6 +- internal/cli/auth/whoami.go | 4 +- internal/cli/auth/whoami_test.go | 2 +- internal/cli/backup/backup.go | 12 +-- internal/cli/backup/backup_test.go | 2 +- .../compliancepolicy/compliancepolicy.go | 10 +- .../compliancepolicy/compliancepolicy_test.go | 2 +- .../copyprotection/copyprotection.go | 2 +- .../copyprotection/copyprotection_test.go | 2 +- .../copyprotection/disable.go | 12 +-- .../copyprotection/disable_test.go | 8 +- .../compliancepolicy/copyprotection/enable.go | 12 +-- .../copyprotection/enable_test.go | 8 +- .../cli/backup/compliancepolicy/describe.go | 10 +- .../backup/compliancepolicy/describe_test.go | 6 +- .../cli/backup/compliancepolicy/enable.go | 12 +-- .../backup/compliancepolicy/enable_test.go | 6 +- .../encryptionatrest/disable.go | 12 +-- .../encryptionatrest/disable_test.go | 8 +- .../encryptionatrest/enable.go | 12 +-- .../encryptionatrest/enable_test.go | 8 +- .../encryptionatrest/encryptionatrest.go | 2 +- .../encryptionatrest/encryptionatrest_test.go | 2 +- .../pointintimerestore/enable.go | 12 +-- .../pointintimerestore/enable_test.go | 8 +- .../pointintimerestore/pointintimerestore.go | 2 +- .../pointintimerestore_test.go | 2 +- .../compliancepolicy/policies/describe.go | 10 +- .../policies/describe_test.go | 6 +- .../policies/ondemand/create.go | 10 +- .../policies/ondemand/create_test.go | 6 +- .../policies/ondemand/describe.go | 10 +- .../policies/ondemand/describe_test.go | 6 +- .../policies/ondemand/ondemand.go | 2 +- .../policies/ondemand/ondemand_test.go | 2 +- .../policies/ondemand/update.go | 4 +- .../policies/ondemand/update_test.go | 4 +- .../compliancepolicy/policies/policies.go | 6 +- .../policies/policies_test.go | 2 +- .../policies/scheduled/create.go | 10 +- .../policies/scheduled/create_test.go | 6 +- .../policies/scheduled/describe.go | 10 +- .../policies/scheduled/describe_test.go | 6 +- .../policies/scheduled/scheduled.go | 2 +- .../policies/scheduled/scheduled_test.go | 2 +- internal/cli/backup/compliancepolicy/setup.go | 14 +-- .../cli/backup/compliancepolicy/setup_test.go | 8 +- .../cli/backup/exports/buckets/buckets.go | 2 +- .../backup/exports/buckets/buckets_test.go | 2 +- internal/cli/backup/exports/buckets/create.go | 14 +-- .../cli/backup/exports/buckets/create_test.go | 6 +- internal/cli/backup/exports/buckets/delete.go | 12 +-- .../cli/backup/exports/buckets/delete_test.go | 4 +- .../cli/backup/exports/buckets/describe.go | 12 +-- .../backup/exports/buckets/describe_test.go | 4 +- internal/cli/backup/exports/buckets/list.go | 12 +-- .../cli/backup/exports/buckets/list_test.go | 10 +- internal/cli/backup/exports/exports.go | 6 +- internal/cli/backup/exports/exports_test.go | 2 +- internal/cli/backup/exports/jobs/create.go | 12 +-- .../cli/backup/exports/jobs/create_test.go | 6 +- internal/cli/backup/exports/jobs/describe.go | 12 +-- .../cli/backup/exports/jobs/describe_test.go | 6 +- internal/cli/backup/exports/jobs/jobs.go | 2 +- internal/cli/backup/exports/jobs/jobs_test.go | 2 +- internal/cli/backup/exports/jobs/list.go | 12 +-- internal/cli/backup/exports/jobs/list_test.go | 6 +- internal/cli/backup/exports/jobs/watch.go | 12 +-- .../cli/backup/exports/jobs/watch_test.go | 8 +- internal/cli/backup/restores/describe.go | 12 +-- internal/cli/backup/restores/describe_test.go | 8 +- internal/cli/backup/restores/list.go | 12 +-- internal/cli/backup/restores/list_test.go | 6 +- internal/cli/backup/restores/restores.go | 2 +- internal/cli/backup/restores/restores_test.go | 2 +- internal/cli/backup/restores/start.go | 14 +-- internal/cli/backup/restores/start_test.go | 6 +- internal/cli/backup/restores/watch.go | 12 +-- internal/cli/backup/restores/watch_test.go | 8 +- internal/cli/backup/schedule/delete.go | 12 +-- internal/cli/backup/schedule/delete_test.go | 4 +- internal/cli/backup/schedule/describe.go | 12 +-- internal/cli/backup/schedule/describe_test.go | 6 +- internal/cli/backup/schedule/schedule.go | 2 +- internal/cli/backup/schedule/schedule_test.go | 2 +- internal/cli/backup/schedule/update.go | 12 +-- internal/cli/backup/schedule/update_test.go | 10 +- internal/cli/backup/snapshots/create.go | 14 +-- internal/cli/backup/snapshots/create_test.go | 6 +- internal/cli/backup/snapshots/delete.go | 14 +-- internal/cli/backup/snapshots/delete_test.go | 4 +- internal/cli/backup/snapshots/describe.go | 12 +-- .../cli/backup/snapshots/describe_test.go | 4 +- internal/cli/backup/snapshots/list.go | 12 +-- internal/cli/backup/snapshots/list_test.go | 10 +- internal/cli/backup/snapshots/snapshots.go | 2 +- .../cli/backup/snapshots/snapshots_test.go | 2 +- internal/cli/backup/snapshots/watch.go | 12 +-- internal/cli/backup/snapshots/watch_test.go | 4 +- .../accessroles/access_roles.go | 4 +- .../accessroles/access_roles_test.go | 2 +- .../accessroles/aws/authorize.go | 12 +-- .../accessroles/aws/authorize_test.go | 6 +- .../accessroles/aws/aws_test.go | 2 +- .../cloudproviders/accessroles/aws/create.go | 12 +-- .../accessroles/aws/create_test.go | 6 +- .../accessroles/aws/deauthorize.go | 12 +-- .../accessroles/aws/deauthorize_test.go | 8 +- .../cli/cloudproviders/accessroles/list.go | 12 +-- .../cloudproviders/accessroles/list_test.go | 10 +- .../cli/cloudproviders/cloud_providers.go | 4 +- .../cloudproviders/cloud_providers_test.go | 2 +- .../advancedsettings/advanced_settings.go | 2 +- .../advanced_settings_test.go | 2 +- .../cli/clusters/advancedsettings/describe.go | 12 +-- .../advancedsettings/describe_test.go | 6 +- .../cli/clusters/advancedsettings/update.go | 14 +-- .../clusters/advancedsettings/update_test.go | 8 +- .../availableregions/available_regions.go | 2 +- .../available_regions_test.go | 2 +- .../cli/clusters/availableregions/list.go | 12 +-- .../clusters/availableregions/list_test.go | 6 +- internal/cli/clusters/clusters.go | 16 ++-- internal/cli/clusters/clusters_test.go | 2 +- .../connectionstring/connection_string.go | 2 +- .../connection_string_test.go | 2 +- .../cli/clusters/connectionstring/describe.go | 12 +-- .../connectionstring/describe_test.go | 6 +- internal/cli/clusters/create.go | 18 ++-- internal/cli/clusters/create_test.go | 10 +- internal/cli/clusters/delete.go | 14 +-- internal/cli/clusters/delete_test.go | 8 +- internal/cli/clusters/describe.go | 12 +-- internal/cli/clusters/describe_test.go | 6 +- internal/cli/clusters/failover.go | 12 +-- internal/cli/clusters/failover_test.go | 8 +- internal/cli/clusters/indexes/create.go | 14 +-- internal/cli/clusters/indexes/create_test.go | 6 +- internal/cli/clusters/indexes/indexes.go | 2 +- internal/cli/clusters/indexes/indexes_test.go | 2 +- internal/cli/clusters/list.go | 12 +-- internal/cli/clusters/list_test.go | 8 +- internal/cli/clusters/load_sample_data.go | 12 +-- .../cli/clusters/load_sample_data_test.go | 6 +- internal/cli/clusters/onlinearchive/create.go | 16 ++-- .../cli/clusters/onlinearchive/create_test.go | 6 +- internal/cli/clusters/onlinearchive/delete.go | 14 +-- .../cli/clusters/onlinearchive/delete_test.go | 8 +- .../cli/clusters/onlinearchive/describe.go | 14 +-- .../clusters/onlinearchive/describe_test.go | 8 +- internal/cli/clusters/onlinearchive/list.go | 12 +-- .../cli/clusters/onlinearchive/list_test.go | 8 +- .../clusters/onlinearchive/online_archive.go | 2 +- .../onlinearchive/online_archive_test.go | 2 +- internal/cli/clusters/onlinearchive/pause.go | 14 +-- .../cli/clusters/onlinearchive/pause_test.go | 8 +- internal/cli/clusters/onlinearchive/start.go | 14 +-- .../cli/clusters/onlinearchive/start_test.go | 8 +- internal/cli/clusters/onlinearchive/update.go | 16 ++-- .../cli/clusters/onlinearchive/update_test.go | 6 +- internal/cli/clusters/onlinearchive/watch.go | 12 +-- .../cli/clusters/onlinearchive/watch_test.go | 8 +- internal/cli/clusters/pause.go | 14 +-- internal/cli/clusters/pause_test.go | 6 +- .../cli/clusters/region_tier_autocomplete.go | 10 +- .../clusters/region_tier_autocomplete_test.go | 4 +- internal/cli/clusters/sampledata/describe.go | 12 +-- .../cli/clusters/sampledata/describe_test.go | 10 +- internal/cli/clusters/sampledata/load.go | 12 +-- internal/cli/clusters/sampledata/load_test.go | 6 +- .../cli/clusters/sampledata/sample_data.go | 2 +- .../clusters/sampledata/sample_data_test.go | 2 +- internal/cli/clusters/sampledata/watch.go | 12 +-- .../cli/clusters/sampledata/watch_test.go | 8 +- internal/cli/clusters/start.go | 14 +-- internal/cli/clusters/start_test.go | 6 +- internal/cli/clusters/update.go | 16 ++-- internal/cli/clusters/update_test.go | 8 +- internal/cli/clusters/upgrade.go | 14 +-- internal/cli/clusters/upgrade_test.go | 6 +- internal/cli/clusters/watch.go | 12 +-- internal/cli/clusters/watch_test.go | 8 +- internal/cli/commonerrors/errors_test.go | 2 +- internal/cli/config/config.go | 2 +- internal/cli/config/config_test.go | 2 +- internal/cli/config/delete.go | 10 +- internal/cli/config/describe.go | 10 +- internal/cli/config/edit.go | 4 +- internal/cli/config/init.go | 14 +-- internal/cli/config/init_test.go | 4 +- internal/cli/config/list.go | 8 +- internal/cli/config/rename.go | 8 +- internal/cli/config/set.go | 10 +- internal/cli/config/set_test.go | 2 +- internal/cli/customdbroles/create.go | 14 +-- internal/cli/customdbroles/create_test.go | 6 +- internal/cli/customdbroles/custom_db_roles.go | 2 +- .../cli/customdbroles/custom_db_roles_test.go | 2 +- internal/cli/customdbroles/delete.go | 12 +-- internal/cli/customdbroles/delete_test.go | 8 +- internal/cli/customdbroles/describe.go | 12 +-- internal/cli/customdbroles/describe_test.go | 8 +- internal/cli/customdbroles/list.go | 12 +-- internal/cli/customdbroles/list_test.go | 8 +- internal/cli/customdbroles/update.go | 14 +-- internal/cli/customdbroles/update_test.go | 6 +- internal/cli/customdns/aws/aws.go | 2 +- internal/cli/customdns/aws/aws_test.go | 2 +- internal/cli/customdns/aws/describe.go | 10 +- internal/cli/customdns/aws/describe_test.go | 6 +- internal/cli/customdns/aws/disable.go | 10 +- internal/cli/customdns/aws/disable_test.go | 6 +- internal/cli/customdns/aws/enable.go | 10 +- internal/cli/customdns/aws/enable_test.go | 6 +- internal/cli/customdns/custom_dns.go | 4 +- internal/cli/customdns/custom_dns_test.go | 2 +- internal/cli/datafederation/create.go | 14 +-- internal/cli/datafederation/create_test.go | 8 +- .../cli/datafederation/data_federation.go | 6 +- .../datafederation/data_federation_test.go | 2 +- internal/cli/datafederation/delete.go | 12 +-- internal/cli/datafederation/delete_test.go | 8 +- internal/cli/datafederation/describe.go | 12 +-- internal/cli/datafederation/describe_test.go | 10 +- internal/cli/datafederation/list.go | 12 +-- internal/cli/datafederation/list_test.go | 10 +- internal/cli/datafederation/logs.go | 12 +-- internal/cli/datafederation/logs_test.go | 8 +- .../datafederation/privateendpoints/create.go | 12 +-- .../privateendpoints/create_test.go | 10 +- .../datafederation/privateendpoints/delete.go | 12 +-- .../privateendpoints/delete_test.go | 8 +- .../privateendpoints/describe.go | 12 +-- .../privateendpoints/describe_test.go | 10 +- .../datafederation/privateendpoints/list.go | 12 +-- .../privateendpoints/list_test.go | 10 +- .../privateendpoints/private_endpoints.go | 2 +- .../private_endpoints_test.go | 2 +- .../cli/datafederation/querylimits/create.go | 12 +-- .../datafederation/querylimits/create_test.go | 8 +- .../cli/datafederation/querylimits/delete.go | 12 +-- .../datafederation/querylimits/delete_test.go | 8 +- .../datafederation/querylimits/describe.go | 12 +-- .../querylimits/describe_test.go | 10 +- .../cli/datafederation/querylimits/list.go | 12 +-- .../datafederation/querylimits/list_test.go | 10 +- .../querylimits/query_limits.go | 2 +- .../querylimits/query_limits_test.go | 2 +- internal/cli/datafederation/update.go | 14 +-- internal/cli/datafederation/update_test.go | 8 +- internal/cli/datalake/create.go | 12 +-- internal/cli/datalake/create_test.go | 2 +- internal/cli/datalake/data_lake.go | 2 +- internal/cli/datalake/delete.go | 12 +-- internal/cli/datalake/delete_test.go | 4 +- internal/cli/datalake/describe.go | 12 +-- internal/cli/datalake/describe_test.go | 4 +- internal/cli/datalake/list.go | 12 +-- internal/cli/datalake/list_test.go | 2 +- internal/cli/datalake/update.go | 12 +-- internal/cli/datalake/update_test.go | 2 +- .../availableschedules/available_schedules.go | 2 +- .../available_schedules_test.go | 2 +- .../availableschedules/list.go | 12 +-- .../availableschedules/list_test.go | 10 +- .../availablesnapshots/available_snapshots.go | 2 +- .../available_snapshots_test.go | 2 +- .../availablesnapshots/list.go | 14 +-- .../availablesnapshots/list_test.go | 10 +- internal/cli/datalakepipelines/create.go | 14 +-- internal/cli/datalakepipelines/create_test.go | 6 +- .../datalakepipelines/data_lake_pipelines.go | 10 +- .../data_lake_pipelines_test.go | 2 +- .../datalakepipelines/datasets/datasets.go | 2 +- .../datasets/datasets_test.go | 2 +- .../cli/datalakepipelines/datasets/delete.go | 12 +-- .../datalakepipelines/datasets/delete_test.go | 8 +- internal/cli/datalakepipelines/delete.go | 12 +-- internal/cli/datalakepipelines/delete_test.go | 8 +- internal/cli/datalakepipelines/describe.go | 12 +-- .../cli/datalakepipelines/describe_test.go | 10 +- internal/cli/datalakepipelines/list.go | 12 +-- internal/cli/datalakepipelines/list_test.go | 10 +- internal/cli/datalakepipelines/pause.go | 12 +-- internal/cli/datalakepipelines/pause_test.go | 10 +- .../cli/datalakepipelines/runs/describe.go | 12 +-- .../datalakepipelines/runs/describe_test.go | 10 +- internal/cli/datalakepipelines/runs/list.go | 12 +-- .../cli/datalakepipelines/runs/list_test.go | 10 +- internal/cli/datalakepipelines/runs/runs.go | 2 +- .../cli/datalakepipelines/runs/runs_test.go | 2 +- internal/cli/datalakepipelines/runs/watch.go | 12 +-- .../cli/datalakepipelines/runs/watch_test.go | 8 +- internal/cli/datalakepipelines/start.go | 12 +-- internal/cli/datalakepipelines/start_test.go | 10 +- internal/cli/datalakepipelines/trigger.go | 12 +-- .../cli/datalakepipelines/trigger_test.go | 10 +- internal/cli/datalakepipelines/update.go | 14 +-- internal/cli/datalakepipelines/update_test.go | 6 +- internal/cli/datalakepipelines/watch.go | 12 +-- internal/cli/datalakepipelines/watch_test.go | 8 +- internal/cli/dbusers/certs/certs.go | 2 +- internal/cli/dbusers/certs/create.go | 12 +-- internal/cli/dbusers/certs/create_test.go | 4 +- internal/cli/dbusers/certs/list.go | 12 +-- internal/cli/dbusers/certs/list_test.go | 4 +- internal/cli/dbusers/create.go | 16 ++-- internal/cli/dbusers/create_test.go | 2 +- internal/cli/dbusers/dbusers.go | 4 +- internal/cli/dbusers/dbusers_test.go | 2 +- internal/cli/dbusers/delete.go | 14 +-- internal/cli/dbusers/delete_test.go | 4 +- internal/cli/dbusers/describe.go | 16 ++-- internal/cli/dbusers/describe_test.go | 6 +- internal/cli/dbusers/list.go | 12 +-- internal/cli/dbusers/list_test.go | 6 +- internal/cli/dbusers/update.go | 16 ++-- internal/cli/dbusers/update_test.go | 4 +- internal/cli/decryption/key_providers.go | 2 +- internal/cli/decryption/key_providers_test.go | 2 +- internal/cli/decryption/list_key_provider.go | 8 +- .../cli/decryption/list_key_provider_test.go | 4 +- internal/cli/default_setter_opts.go | 16 ++-- internal/cli/default_setter_opts_test.go | 4 +- internal/cli/delete_opts.go | 4 +- internal/cli/deployments/connect.go | 8 +- internal/cli/deployments/connect_test.go | 16 ++-- internal/cli/deployments/delete.go | 18 ++-- internal/cli/deployments/delete_test.go | 14 +-- internal/cli/deployments/deployments.go | 4 +- internal/cli/deployments/deployments_test.go | 2 +- internal/cli/deployments/diagnostics.go | 8 +- internal/cli/deployments/list.go | 12 +-- internal/cli/deployments/list_test.go | 20 ++-- internal/cli/deployments/logs.go | 16 ++-- internal/cli/deployments/logs_test.go | 12 +-- .../cli/deployments/options/connect_opts.go | 10 +- .../deployments/options/connect_opts_atlas.go | 12 +-- .../deployments/options/deployment_opts.go | 20 ++-- .../options/deployment_opts_connect_string.go | 2 +- .../options/deployment_opts_connect_with.go | 4 +- .../options/deployment_opts_post_run.go | 4 +- .../options/deployment_opts_pre_run.go | 6 +- .../options/deployment_opts_select.go | 8 +- .../options/deployment_opts_telemetry.go | 4 +- internal/cli/deployments/pause.go | 18 ++-- internal/cli/deployments/pause_test.go | 12 +-- .../cli/deployments/search/indexes/create.go | 20 ++-- .../deployments/search/indexes/create_test.go | 20 ++-- .../cli/deployments/search/indexes/delete.go | 18 ++-- .../deployments/search/indexes/delete_test.go | 14 +-- .../deployments/search/indexes/describe.go | 18 ++-- .../search/indexes/describe_test.go | 16 ++-- .../cli/deployments/search/indexes/indexes.go | 2 +- .../search/indexes/indexes_test.go | 2 +- .../cli/deployments/search/indexes/list.go | 18 ++-- .../deployments/search/indexes/list_test.go | 18 ++-- internal/cli/deployments/search/search.go | 2 +- .../cli/deployments/search/search_test.go | 2 +- internal/cli/deployments/setup.go | 30 +++--- internal/cli/deployments/setup_test.go | 4 +- internal/cli/deployments/start.go | 14 +-- internal/cli/deployments/start_test.go | 14 +-- .../deployments/test/fixture/deployment.go | 4 +- .../test/fixture/deployment_atlas.go | 8 +- .../test/fixture/deployment_local.go | 6 +- internal/cli/digest_config_opts.go | 2 +- internal/cli/errors.go | 2 +- internal/cli/events/events.go | 2 +- internal/cli/events/events_test.go | 2 +- internal/cli/events/list.go | 16 ++-- internal/cli/events/list_test.go | 6 +- internal/cli/events/orgs_list.go | 14 +-- internal/cli/events/orgs_list_test.go | 6 +- internal/cli/events/projects_list.go | 14 +-- internal/cli/events/projects_list_test.go | 6 +- internal/cli/global_opts.go | 6 +- internal/cli/input_opts.go | 2 +- .../cli/integrations/create/create_test.go | 2 +- internal/cli/integrations/create/datadog.go | 12 +-- .../cli/integrations/create/datadog_test.go | 6 +- internal/cli/integrations/create/new_relic.go | 12 +-- .../cli/integrations/create/new_relic_test.go | 6 +- internal/cli/integrations/create/ops_genie.go | 12 +-- .../cli/integrations/create/ops_genie_test.go | 6 +- .../cli/integrations/create/pager_duty.go | 12 +-- .../integrations/create/pager_duty_test.go | 6 +- .../cli/integrations/create/victor_ops.go | 12 +-- .../integrations/create/victor_ops_test.go | 6 +- internal/cli/integrations/create/webhook.go | 12 +-- .../cli/integrations/create/webhook_test.go | 6 +- internal/cli/integrations/delete.go | 12 +-- internal/cli/integrations/delete_test.go | 8 +- internal/cli/integrations/describe.go | 12 +-- internal/cli/integrations/describe_test.go | 10 +- internal/cli/integrations/integrations.go | 4 +- .../cli/integrations/integrations_test.go | 2 +- internal/cli/integrations/list.go | 12 +-- internal/cli/integrations/list_test.go | 10 +- internal/cli/kubernetes/config/apply.go | 14 +-- internal/cli/kubernetes/config/apply_test.go | 4 +- internal/cli/kubernetes/config/config_test.go | 2 +- internal/cli/kubernetes/config/generate.go | 18 ++-- .../cli/kubernetes/config/generate_test.go | 4 +- internal/cli/kubernetes/kubernetes.go | 4 +- internal/cli/kubernetes/kubernetes_test.go | 2 +- internal/cli/kubernetes/operator/install.go | 22 ++--- .../cli/kubernetes/operator/install_test.go | 4 +- .../cli/kubernetes/operator/operator_test.go | 2 +- internal/cli/list_opts.go | 2 +- internal/cli/livemigrations/create.go | 6 +- internal/cli/livemigrations/create_test.go | 10 +- internal/cli/livemigrations/cutover.go | 10 +- internal/cli/livemigrations/cutover_test.go | 6 +- internal/cli/livemigrations/describe.go | 10 +- internal/cli/livemigrations/describe_test.go | 6 +- internal/cli/livemigrations/link/create.go | 10 +- .../cli/livemigrations/link/create_test.go | 8 +- internal/cli/livemigrations/link/delete.go | 10 +- .../cli/livemigrations/link/delete_test.go | 8 +- internal/cli/livemigrations/link/link_test.go | 2 +- .../cli/livemigrations/live_migrations.go | 6 +- .../livemigrations/live_migrations_test.go | 2 +- .../options/live_migrations_opts.go | 10 +- .../cli/livemigrations/validation/create.go | 6 +- .../livemigrations/validation/create_test.go | 10 +- .../cli/livemigrations/validation/describe.go | 10 +- .../validation/describe_test.go | 8 +- .../validation/validation_test.go | 2 +- internal/cli/logs/decrypt.go | 8 +- internal/cli/logs/decrypt_test.go | 4 +- internal/cli/logs/download.go | 12 +-- internal/cli/logs/download_test.go | 6 +- internal/cli/logs/logs.go | 4 +- internal/cli/logs/logs_test.go | 2 +- internal/cli/maintenance/clear.go | 14 +-- internal/cli/maintenance/clear_test.go | 8 +- internal/cli/maintenance/defer.go | 10 +- internal/cli/maintenance/defer_test.go | 6 +- internal/cli/maintenance/describe.go | 10 +- internal/cli/maintenance/describe_test.go | 6 +- internal/cli/maintenance/maintenance.go | 2 +- internal/cli/maintenance/maintenance_test.go | 2 +- internal/cli/maintenance/update.go | 10 +- internal/cli/maintenance/update_test.go | 6 +- internal/cli/metrics/databases/databases.go | 2 +- .../cli/metrics/databases/databases_test.go | 2 +- internal/cli/metrics/databases/describe.go | 12 +-- .../cli/metrics/databases/describe_test.go | 8 +- internal/cli/metrics/databases/list.go | 12 +-- internal/cli/metrics/databases/list_test.go | 8 +- internal/cli/metrics/disks/describe.go | 12 +-- internal/cli/metrics/disks/describe_test.go | 6 +- internal/cli/metrics/disks/disks.go | 2 +- internal/cli/metrics/disks/disks_test.go | 2 +- internal/cli/metrics/disks/list.go | 12 +-- internal/cli/metrics/disks/list_test.go | 8 +- internal/cli/metrics/metrics.go | 8 +- internal/cli/metrics/metrics_test.go | 2 +- internal/cli/metrics/processes/processes.go | 12 +-- .../cli/metrics/processes/processes_test.go | 6 +- internal/cli/metrics_opt.go | 6 +- .../cli/networking/containers/containers.go | 2 +- internal/cli/networking/containers/delete.go | 12 +-- .../cli/networking/containers/delete_test.go | 4 +- internal/cli/networking/containers/list.go | 12 +-- .../cli/networking/containers/list_test.go | 10 +- internal/cli/networking/networking.go | 4 +- internal/cli/networking/peering/create/aws.go | 14 +-- .../cli/networking/peering/create/aws_test.go | 8 +- .../cli/networking/peering/create/azure.go | 14 +-- .../networking/peering/create/azure_test.go | 8 +- internal/cli/networking/peering/create/gcp.go | 12 +-- .../cli/networking/peering/create/gcp_test.go | 8 +- internal/cli/networking/peering/delete.go | 12 +-- .../cli/networking/peering/delete_test.go | 4 +- internal/cli/networking/peering/list.go | 12 +-- internal/cli/networking/peering/list_test.go | 10 +- internal/cli/networking/peering/peering.go | 2 +- internal/cli/networking/peering/watch.go | 12 +-- internal/cli/networking/peering/watch_test.go | 8 +- .../apikeys/accesslists/access_lists.go | 2 +- .../apikeys/accesslists/access_lists_test.go | 2 +- .../apikeys/accesslists/create.go | 10 +- .../apikeys/accesslists/create_test.go | 6 +- .../apikeys/accesslists/delete.go | 12 +-- .../apikeys/accesslists/delete_test.go | 8 +- .../organizations/apikeys/accesslists/list.go | 14 +-- .../apikeys/accesslists/list_test.go | 8 +- internal/cli/organizations/apikeys/apikeys.go | 4 +- internal/cli/organizations/apikeys/create.go | 12 +-- .../cli/organizations/apikeys/create_test.go | 4 +- internal/cli/organizations/apikeys/delete.go | 12 +-- .../cli/organizations/apikeys/delete_test.go | 4 +- .../cli/organizations/apikeys/describe.go | 12 +-- .../organizations/apikeys/describe_test.go | 6 +- internal/cli/organizations/apikeys/list.go | 12 +-- .../cli/organizations/apikeys/list_test.go | 6 +- internal/cli/organizations/apikeys/update.go | 12 +-- .../cli/organizations/apikeys/update_test.go | 4 +- internal/cli/organizations/create_atlas.go | 14 +-- .../cli/organizations/create_atlas_test.go | 6 +- internal/cli/organizations/delete.go | 12 +-- internal/cli/organizations/delete_test.go | 8 +- internal/cli/organizations/describe.go | 12 +-- internal/cli/organizations/describe_test.go | 6 +- .../cli/organizations/invitations/delete.go | 12 +-- .../organizations/invitations/delete_test.go | 8 +- .../cli/organizations/invitations/describe.go | 12 +-- .../invitations/describe_test.go | 8 +- .../organizations/invitations/invitations.go | 2 +- .../invitations/invitations_test.go | 2 +- .../cli/organizations/invitations/invite.go | 12 +-- .../organizations/invitations/invite_test.go | 6 +- .../cli/organizations/invitations/list.go | 12 +-- .../organizations/invitations/list_test.go | 6 +- .../cli/organizations/invitations/update.go | 10 +- .../organizations/invitations/update_test.go | 8 +- internal/cli/organizations/list.go | 12 +-- internal/cli/organizations/list_test.go | 6 +- internal/cli/organizations/organizations.go | 8 +- .../cli/organizations/organizations_test.go | 2 +- internal/cli/organizations/users/list.go | 12 +-- internal/cli/organizations/users/list_test.go | 10 +- internal/cli/output_opts.go | 10 +- internal/cli/output_opts_test.go | 2 +- .../cli/performanceadvisor/namespaces/list.go | 12 +-- .../namespaces/list_test.go | 8 +- .../performanceadvisor/performance_advisor.go | 10 +- .../performance_advisor_test.go | 2 +- .../slowoperationthreshold/disable.go | 12 +-- .../slowoperationthreshold/disable_test.go | 6 +- .../slowoperationthreshold/enable.go | 12 +-- .../slowoperationthreshold/enable_test.go | 6 +- .../slow_operation_threshold.go | 2 +- .../slow_operation_threshold_test.go | 2 +- .../performanceadvisor/slowquerylogs/list.go | 14 +-- .../slowquerylogs/list_test.go | 8 +- .../suggestedindexes/list.go | 14 +-- .../suggestedindexes/list_test.go | 8 +- internal/cli/privateendpoints/aws/aws.go | 2 +- internal/cli/privateendpoints/aws/aws_test.go | 2 +- internal/cli/privateendpoints/aws/create.go | 12 +-- .../cli/privateendpoints/aws/create_test.go | 6 +- internal/cli/privateendpoints/aws/delete.go | 12 +-- .../cli/privateendpoints/aws/delete_test.go | 8 +- internal/cli/privateendpoints/aws/describe.go | 14 +-- .../cli/privateendpoints/aws/describe_test.go | 6 +- .../privateendpoints/aws/interfaces/create.go | 12 +-- .../aws/interfaces/create_test.go | 6 +- .../privateendpoints/aws/interfaces/delete.go | 12 +-- .../aws/interfaces/delete_test.go | 8 +- .../aws/interfaces/describe.go | 12 +-- .../aws/interfaces/describe_test.go | 6 +- .../aws/interfaces/interfaces.go | 2 +- .../aws/interfaces/interfaces_test.go | 2 +- internal/cli/privateendpoints/aws/list.go | 12 +-- .../cli/privateendpoints/aws/list_test.go | 6 +- internal/cli/privateendpoints/aws/watch.go | 12 +-- .../cli/privateendpoints/aws/watch_test.go | 8 +- internal/cli/privateendpoints/azure/azure.go | 2 +- .../cli/privateendpoints/azure/azure_test.go | 2 +- internal/cli/privateendpoints/azure/create.go | 12 +-- .../cli/privateendpoints/azure/create_test.go | 6 +- internal/cli/privateendpoints/azure/delete.go | 12 +-- .../cli/privateendpoints/azure/delete_test.go | 8 +- .../cli/privateendpoints/azure/describe.go | 12 +-- .../privateendpoints/azure/describe_test.go | 6 +- .../azure/interfaces/create.go | 12 +-- .../azure/interfaces/create_test.go | 6 +- .../azure/interfaces/delete.go | 12 +-- .../azure/interfaces/delete_test.go | 8 +- .../azure/interfaces/describe.go | 12 +-- .../azure/interfaces/describe_test.go | 6 +- .../azure/interfaces/interfaces.go | 2 +- .../azure/interfaces/interfaces_test.go | 2 +- internal/cli/privateendpoints/azure/list.go | 12 +-- .../cli/privateendpoints/azure/list_test.go | 6 +- internal/cli/privateendpoints/azure/watch.go | 12 +-- .../cli/privateendpoints/azure/watch_test.go | 8 +- internal/cli/privateendpoints/create.go | 12 +-- internal/cli/privateendpoints/create_test.go | 6 +- .../privateendpoints/datalake/aws/aws_test.go | 2 +- .../privateendpoints/datalake/aws/create.go | 14 +-- .../datalake/aws/create_test.go | 6 +- .../privateendpoints/datalake/aws/delete.go | 12 +-- .../datalake/aws/delete_test.go | 8 +- .../privateendpoints/datalake/aws/describe.go | 12 +-- .../datalake/aws/describe_test.go | 6 +- .../cli/privateendpoints/datalake/aws/list.go | 14 +-- .../datalake/aws/list_test.go | 6 +- .../privateendpoints/datalake/data_lake.go | 4 +- .../datalake/data_lake_test.go | 2 +- internal/cli/privateendpoints/delete.go | 12 +-- internal/cli/privateendpoints/delete_test.go | 8 +- internal/cli/privateendpoints/describe.go | 12 +-- .../cli/privateendpoints/describe_test.go | 6 +- internal/cli/privateendpoints/gcp/create.go | 12 +-- .../cli/privateendpoints/gcp/create_test.go | 6 +- internal/cli/privateendpoints/gcp/delete.go | 12 +-- .../cli/privateendpoints/gcp/delete_test.go | 8 +- internal/cli/privateendpoints/gcp/describe.go | 12 +-- .../cli/privateendpoints/gcp/describe_test.go | 6 +- internal/cli/privateendpoints/gcp/gcp.go | 2 +- internal/cli/privateendpoints/gcp/gcp_test.go | 2 +- .../privateendpoints/gcp/interfaces/create.go | 14 +-- .../gcp/interfaces/create_test.go | 6 +- .../privateendpoints/gcp/interfaces/delete.go | 12 +-- .../gcp/interfaces/delete_test.go | 8 +- .../gcp/interfaces/describe.go | 12 +-- .../gcp/interfaces/describe_test.go | 6 +- .../gcp/interfaces/interfaces.go | 2 +- .../gcp/interfaces/interfaces_test.go | 2 +- internal/cli/privateendpoints/gcp/list.go | 12 +-- .../cli/privateendpoints/gcp/list_test.go | 6 +- internal/cli/privateendpoints/gcp/watch.go | 12 +-- .../cli/privateendpoints/gcp/watch_test.go | 8 +- .../cli/privateendpoints/interfaces/create.go | 12 +-- .../interfaces/create_test.go | 6 +- .../cli/privateendpoints/interfaces/delete.go | 12 +-- .../interfaces/delete_test.go | 8 +- .../privateendpoints/interfaces/describe.go | 12 +-- .../interfaces/describe_test.go | 6 +- .../privateendpoints/interfaces/interfaces.go | 2 +- internal/cli/privateendpoints/list.go | 12 +-- internal/cli/privateendpoints/list_test.go | 6 +- .../onlinearchive/online_archive.go | 4 +- .../onlinearchive/online_archive_test.go | 2 +- .../privateendpoints/private_endpoint_test.go | 2 +- .../cli/privateendpoints/private_endpoints.go | 16 ++-- .../regionalmodes/describe.go | 10 +- .../regionalmodes/describe_test.go | 6 +- .../privateendpoints/regionalmodes/disable.go | 10 +- .../regionalmodes/disable_test.go | 6 +- .../privateendpoints/regionalmodes/enable.go | 10 +- .../regionalmodes/enable_test.go | 6 +- .../regionalmodes/regional_mode.go | 2 +- .../regionalmodes/regional_mode_test.go | 2 +- internal/cli/privateendpoints/watch.go | 12 +-- internal/cli/privateendpoints/watch_test.go | 6 +- internal/cli/processes/describe.go | 12 +-- internal/cli/processes/describe_test.go | 8 +- internal/cli/processes/list.go | 12 +-- internal/cli/processes/list_test.go | 8 +- .../cli/processes/process_autocomplete.go | 10 +- .../processes/process_autocomplete_test.go | 4 +- internal/cli/processes/processes.go | 2 +- internal/cli/processes/processes_test.go | 2 +- internal/cli/profile.go | 4 +- internal/cli/projects/apikeys/api_keys.go | 2 +- internal/cli/projects/apikeys/assign.go | 12 +-- internal/cli/projects/apikeys/assign_test.go | 4 +- internal/cli/projects/apikeys/create.go | 12 +-- internal/cli/projects/apikeys/create_test.go | 6 +- internal/cli/projects/apikeys/delete.go | 12 +-- internal/cli/projects/apikeys/delete_test.go | 4 +- internal/cli/projects/apikeys/list.go | 12 +-- internal/cli/projects/apikeys/list_test.go | 8 +- internal/cli/projects/create.go | 12 +-- internal/cli/projects/create_test.go | 6 +- internal/cli/projects/delete.go | 12 +-- internal/cli/projects/delete_test.go | 4 +- internal/cli/projects/describe.go | 12 +-- internal/cli/projects/describe_test.go | 4 +- internal/cli/projects/invitations/delete.go | 12 +-- .../cli/projects/invitations/delete_test.go | 8 +- internal/cli/projects/invitations/describe.go | 12 +-- .../cli/projects/invitations/describe_test.go | 8 +- .../cli/projects/invitations/invitations.go | 2 +- .../projects/invitations/invitations_test.go | 2 +- internal/cli/projects/invitations/invite.go | 12 +-- .../cli/projects/invitations/invite_test.go | 6 +- internal/cli/projects/invitations/list.go | 12 +-- .../cli/projects/invitations/list_test.go | 8 +- internal/cli/projects/invitations/update.go | 10 +- .../cli/projects/invitations/update_test.go | 8 +- internal/cli/projects/list.go | 12 +-- internal/cli/projects/list_test.go | 6 +- internal/cli/projects/projects.go | 12 +-- internal/cli/projects/projects_test.go | 2 +- internal/cli/projects/settings/describe.go | 12 +-- .../cli/projects/settings/describe_test.go | 6 +- internal/cli/projects/settings/settings.go | 2 +- .../cli/projects/settings/settings_test.go | 2 +- internal/cli/projects/settings/update.go | 10 +- internal/cli/projects/settings/update_test.go | 10 +- internal/cli/projects/teams/add.go | 12 +-- internal/cli/projects/teams/add_test.go | 2 +- internal/cli/projects/teams/delete.go | 12 +-- internal/cli/projects/teams/delete_test.go | 4 +- internal/cli/projects/teams/list.go | 12 +-- internal/cli/projects/teams/list_test.go | 10 +- internal/cli/projects/teams/teams.go | 2 +- internal/cli/projects/teams/update.go | 12 +-- internal/cli/projects/teams/update_test.go | 2 +- internal/cli/projects/users/delete.go | 12 +-- internal/cli/projects/users/delete_test.go | 4 +- internal/cli/projects/users/list.go | 12 +-- internal/cli/projects/users/list_test.go | 6 +- internal/cli/projects/users/users.go | 2 +- internal/cli/refresher_opts.go | 6 +- internal/cli/require/require.go | 2 +- internal/cli/root/builder.go | 96 +++++++++---------- internal/cli/root/builder_test.go | 8 +- internal/cli/search/create.go | 12 +-- internal/cli/search/create_test.go | 2 +- internal/cli/search/delete.go | 14 +-- internal/cli/search/delete_test.go | 4 +- internal/cli/search/describe.go | 14 +-- internal/cli/search/describe_test.go | 4 +- internal/cli/search/index_opts.go | 4 +- internal/cli/search/indexes.go | 2 +- internal/cli/search/list.go | 12 +-- internal/cli/search/list_test.go | 4 +- internal/cli/search/nodes/create.go | 12 +-- internal/cli/search/nodes/create_test.go | 8 +- internal/cli/search/nodes/delete.go | 12 +-- internal/cli/search/nodes/delete_test.go | 8 +- internal/cli/search/nodes/list.go | 12 +-- internal/cli/search/nodes/list_test.go | 8 +- internal/cli/search/nodes/nodes.go | 2 +- internal/cli/search/nodes/nodes_test.go | 2 +- internal/cli/search/nodes/spec_file.go | 2 +- internal/cli/search/nodes/update.go | 12 +-- internal/cli/search/nodes/update_test.go | 8 +- internal/cli/search/search.go | 2 +- internal/cli/search/update.go | 12 +-- internal/cli/search/update_test.go | 2 +- internal/cli/security/customercerts/certs.go | 2 +- internal/cli/security/customercerts/create.go | 12 +-- .../cli/security/customercerts/create_test.go | 2 +- .../cli/security/customercerts/describe.go | 12 +-- .../security/customercerts/describe_test.go | 6 +- .../cli/security/customercerts/disable.go | 14 +-- .../security/customercerts/disable_test.go | 2 +- internal/cli/security/ldap/delete.go | 10 +- internal/cli/security/ldap/delete_test.go | 8 +- internal/cli/security/ldap/get.go | 10 +- internal/cli/security/ldap/get_test.go | 6 +- internal/cli/security/ldap/ldap.go | 2 +- internal/cli/security/ldap/ldap_test.go | 2 +- internal/cli/security/ldap/save.go | 12 +-- internal/cli/security/ldap/save_test.go | 6 +- internal/cli/security/ldap/status.go | 12 +-- internal/cli/security/ldap/status_test.go | 6 +- internal/cli/security/ldap/verify.go | 12 +-- internal/cli/security/ldap/verify_test.go | 8 +- internal/cli/security/ldap/watch.go | 12 +-- internal/cli/security/ldap/watch_test.go | 8 +- internal/cli/security/security.go | 4 +- internal/cli/security/security_test.go | 2 +- internal/cli/serverless/backup/backup.go | 6 +- internal/cli/serverless/backup/backup_test.go | 2 +- .../cli/serverless/backup/restores/create.go | 14 +-- .../serverless/backup/restores/create_test.go | 6 +- .../serverless/backup/restores/describe.go | 12 +-- .../backup/restores/describe_test.go | 10 +- .../cli/serverless/backup/restores/list.go | 12 +-- .../serverless/backup/restores/list_test.go | 8 +- .../serverless/backup/restores/restores.go | 2 +- .../backup/restores/restores_test.go | 2 +- .../cli/serverless/backup/restores/watch.go | 12 +-- .../serverless/backup/restores/watch_test.go | 8 +- .../serverless/backup/snapshots/describe.go | 12 +-- .../backup/snapshots/describe_test.go | 4 +- .../cli/serverless/backup/snapshots/list.go | 12 +-- .../serverless/backup/snapshots/list_test.go | 8 +- .../serverless/backup/snapshots/snapshots.go | 2 +- .../backup/snapshots/snapshots_test.go | 2 +- .../cli/serverless/backup/snapshots/watch.go | 12 +-- .../serverless/backup/snapshots/watch_test.go | 4 +- internal/cli/serverless/create.go | 14 +-- internal/cli/serverless/create_test.go | 6 +- internal/cli/serverless/delete.go | 12 +-- internal/cli/serverless/delete_test.go | 8 +- internal/cli/serverless/describe.go | 12 +-- internal/cli/serverless/describe_test.go | 6 +- internal/cli/serverless/list.go | 12 +-- internal/cli/serverless/list_test.go | 8 +- internal/cli/serverless/serverless.go | 2 +- internal/cli/serverless/serverless_test.go | 2 +- internal/cli/serverless/update.go | 12 +-- internal/cli/serverless/update_test.go | 6 +- internal/cli/serverless/watch.go | 12 +-- internal/cli/serverless/watch_test.go | 6 +- internal/cli/setup/access_list_setup.go | 8 +- internal/cli/setup/cluster_setup.go | 12 +-- internal/cli/setup/confirm_cluster_setup.go | 2 +- internal/cli/setup/confirm_default_setup.go | 2 +- internal/cli/setup/dbuser_setup.go | 12 +-- internal/cli/setup/prompt.go | 4 +- internal/cli/setup/setup_cmd.go | 28 +++--- internal/cli/setup/setup_cmd_test.go | 10 +- internal/cli/streams/connection/connection.go | 2 +- .../cli/streams/connection/connection_test.go | 2 +- internal/cli/streams/connection/create.go | 14 +-- .../cli/streams/connection/create_test.go | 6 +- internal/cli/streams/connection/delete.go | 12 +-- .../cli/streams/connection/delete_test.go | 8 +- internal/cli/streams/connection/describe.go | 12 +-- .../cli/streams/connection/describe_test.go | 8 +- internal/cli/streams/connection/list.go | 12 +-- internal/cli/streams/connection/list_test.go | 8 +- internal/cli/streams/connection/update.go | 14 +-- .../cli/streams/connection/update_test.go | 6 +- internal/cli/streams/instance/create.go | 12 +-- internal/cli/streams/instance/create_test.go | 6 +- internal/cli/streams/instance/delete.go | 12 +-- internal/cli/streams/instance/delete_test.go | 8 +- internal/cli/streams/instance/describe.go | 12 +-- .../cli/streams/instance/describe_test.go | 8 +- internal/cli/streams/instance/download.go | 12 +-- .../cli/streams/instance/download_test.go | 8 +- internal/cli/streams/instance/instance.go | 2 +- .../cli/streams/instance/instance_test.go | 2 +- internal/cli/streams/instance/list.go | 12 +-- internal/cli/streams/instance/list_test.go | 8 +- internal/cli/streams/instance/update.go | 12 +-- internal/cli/streams/instance/update_test.go | 6 +- internal/cli/streams/streams.go | 6 +- internal/cli/streams/streams_test.go | 2 +- internal/cli/teams/create.go | 12 +-- internal/cli/teams/create_test.go | 2 +- internal/cli/teams/delete.go | 12 +-- internal/cli/teams/delete_test.go | 4 +- internal/cli/teams/describe.go | 12 +-- internal/cli/teams/describe_test.go | 2 +- internal/cli/teams/list.go | 12 +-- internal/cli/teams/list_test.go | 8 +- internal/cli/teams/rename.go | 12 +-- internal/cli/teams/rename_test.go | 8 +- internal/cli/teams/teams.go | 4 +- internal/cli/teams/users/add.go | 12 +-- internal/cli/teams/users/add_test.go | 2 +- internal/cli/teams/users/delete.go | 12 +-- internal/cli/teams/users/delete_test.go | 4 +- internal/cli/teams/users/list.go | 12 +-- internal/cli/teams/users/list_test.go | 4 +- internal/cli/teams/users/users.go | 2 +- internal/cli/users/describe.go | 14 +-- internal/cli/users/describe_test.go | 4 +- internal/cli/users/invite.go | 18 ++-- internal/cli/users/invite_test.go | 4 +- internal/cli/users/users.go | 2 +- internal/cli/watch_opts.go | 4 +- internal/cli/workflows/flags.go | 4 +- internal/config/profile.go | 4 +- internal/convert/database_user_test.go | 2 +- internal/decryption/encrypted_audit_log.go | 2 +- internal/decryption/header.go | 4 +- internal/decryption/header_test.go | 4 +- internal/decryption/keyproviders/aws.go | 2 +- internal/decryption/keyproviders/gcp.go | 2 +- .../decryption/keyproviders/key_provider.go | 2 +- internal/decryption/list_providers.go | 2 +- internal/decryption/log_record.go | 2 +- internal/homebrew/homebrew.go | 4 +- internal/jsonpathwriter/jsonpathwriter.go | 2 +- internal/kubernetes/kubectl.go | 2 +- internal/kubernetes/operator/config_apply.go | 4 +- .../kubernetes/operator/config_exporter.go | 14 +-- .../operator/config_exporter_test.go | 4 +- internal/kubernetes/operator/crds/provider.go | 2 +- .../operator/datafederation/datafederation.go | 6 +- .../datafederation/datafederation_test.go | 8 +- .../kubernetes/operator/dbusers/dbusers.go | 10 +- .../operator/dbusers/dbusers_test.go | 12 +-- .../operator/deployment/deployment.go | 10 +- .../operator/deployment/deployment_test.go | 10 +- internal/kubernetes/operator/features/crds.go | 2 +- .../kubernetes/operator/features/validator.go | 2 +- internal/kubernetes/operator/install.go | 10 +- .../kubernetes/operator/install_resources.go | 6 +- .../kubernetes/operator/project/project.go | 10 +- .../operator/project/project_test.go | 12 +-- .../kubernetes/operator/secrets/secrets.go | 2 +- internal/latestrelease/finder.go | 6 +- internal/latestrelease/finder_test.go | 6 +- internal/mocks/mock_access_logs.go | 2 +- internal/mocks/mock_access_role.go | 2 +- internal/mocks/mock_alert_configuration.go | 2 +- internal/mocks/mock_alerts.go | 2 +- internal/mocks/mock_api_keys.go | 2 +- internal/mocks/mock_api_keys_access_list.go | 2 +- internal/mocks/mock_atlas_generic_store.go | 4 +- .../mock_atlas_operator_cluster_store.go | 4 +- .../mocks/mock_atlas_operator_crd_provider.go | 2 +- .../mock_atlas_operator_db_users_store.go | 4 +- .../mock_atlas_operator_feature_validator.go | 2 +- .../mocks/mock_atlas_operator_org_store.go | 2 +- .../mock_atlas_operator_project_store.go | 4 +- internal/mocks/mock_auditing.go | 2 +- internal/mocks/mock_backup_compliance.go | 2 +- internal/mocks/mock_cloud_provider_backup.go | 2 +- .../mock_cloud_provider_backup_serverless.go | 2 +- internal/mocks/mock_cloud_provider_regions.go | 2 +- internal/mocks/mock_clusters.go | 4 +- internal/mocks/mock_custom_dns.go | 2 +- internal/mocks/mock_data_federation.go | 2 +- .../mock_data_federation_private_endpoint.go | 2 +- .../mock_data_federation_query_limits.go | 2 +- internal/mocks/mock_data_lake.go | 2 +- internal/mocks/mock_data_lake_pipelines.go | 2 +- .../mock_data_lake_pipelines_datasets.go | 2 +- .../mocks/mock_data_lake_pipelines_runs.go | 2 +- internal/mocks/mock_database_roles.go | 2 +- internal/mocks/mock_database_users.go | 4 +- .../mocks/mock_default_mongodb_version.go | 2 +- internal/mocks/mock_default_opts.go | 4 +- .../mocks/mock_deployment_opts_telemetry.go | 2 +- .../mock_deprecated_private_endpoints.go | 2 +- internal/mocks/mock_encryption_at_rest.go | 2 +- internal/mocks/mock_events.go | 2 +- internal/mocks/mock_global_cluster.go | 2 +- internal/mocks/mock_indexes.go | 2 +- internal/mocks/mock_integrations.go | 2 +- internal/mocks/mock_ldap_configurations.go | 2 +- .../mocks/mock_live_migration_link_tokens.go | 2 +- .../mocks/mock_live_migration_validations.go | 2 +- internal/mocks/mock_live_migrations.go | 2 +- internal/mocks/mock_login.go | 2 +- internal/mocks/mock_logout.go | 2 +- internal/mocks/mock_logs.go | 2 +- internal/mocks/mock_maintenance.go | 2 +- internal/mocks/mock_mongodb_client.go | 4 +- internal/mocks/mock_online_archives.go | 2 +- .../mocks/mock_organization_invitations.go | 2 +- internal/mocks/mock_organizations.go | 2 +- internal/mocks/mock_peering_connections.go | 4 +- internal/mocks/mock_performance_advisor.go | 2 +- internal/mocks/mock_podman.go | 4 +- internal/mocks/mock_private_endpoints.go | 2 +- internal/mocks/mock_process_databases.go | 2 +- .../mocks/mock_process_disk_measurements.go | 2 +- internal/mocks/mock_process_disks.go | 2 +- internal/mocks/mock_process_measurements.go | 2 +- internal/mocks/mock_processes.go | 2 +- internal/mocks/mock_profile.go | 2 +- internal/mocks/mock_project_invitations.go | 2 +- .../mocks/mock_project_ip_access_lists.go | 4 +- internal/mocks/mock_project_settings.go | 2 +- internal/mocks/mock_projects.go | 4 +- internal/mocks/mock_refresher.go | 2 +- internal/mocks/mock_release_version.go | 4 +- internal/mocks/mock_search.go | 2 +- internal/mocks/mock_search_nodes.go | 2 +- internal/mocks/mock_serverless_instances.go | 4 +- .../mock_serverless_private_endpoints.go | 2 +- internal/mocks/mock_setup.go | 2 +- internal/mocks/mock_store.go | 4 +- internal/mocks/mock_streams.go | 2 +- internal/mocks/mock_teams.go | 2 +- internal/mocks/mock_telemetry.go | 2 +- internal/mocks/mock_users.go | 2 +- internal/mocks/mock_x509_certificate_store.go | 2 +- internal/mongodbclient/client.go | 2 +- internal/mongodbclient/search_index.go | 4 +- internal/oauth/oauth.go | 2 +- internal/podman/client.go | 4 +- internal/prompt/config.go | 4 +- internal/search/search_test.go | 2 +- internal/store/access_logs.go | 2 +- internal/store/access_role.go | 2 +- internal/store/alert_configuration.go | 4 +- internal/store/alerts.go | 2 +- internal/store/api_keys.go | 2 +- internal/store/api_keys_access_list.go | 2 +- internal/store/auditing.go | 2 +- internal/store/backup_compliance.go | 2 +- internal/store/cloud_provider_backup.go | 2 +- .../store/cloud_provider_backup_serverless.go | 4 +- internal/store/cloud_provider_regions.go | 2 +- internal/store/clusters.go | 2 +- internal/store/custom_dns.go | 2 +- internal/store/data_federation.go | 2 +- .../store/data_federation_private_endpoint.go | 2 +- .../store/data_federation_query_limits.go | 2 +- internal/store/data_lake.go | 4 +- internal/store/data_lake_pipelines.go | 2 +- .../store/data_lake_pipelines_datasets.go | 2 +- internal/store/data_lake_pipelines_runs.go | 2 +- internal/store/database_roles.go | 2 +- internal/store/database_users.go | 4 +- internal/store/default_mongodb_version.go | 2 +- internal/store/deprected_private_endpoints.go | 2 +- internal/store/encryption_at_rest.go | 2 +- internal/store/events.go | 2 +- internal/store/global_cluster.go | 2 +- internal/store/indexes.go | 2 +- internal/store/integrations.go | 2 +- internal/store/ip_info.go | 2 +- internal/store/ldap_configurations.go | 2 +- internal/store/live_migration.go | 4 +- internal/store/live_migration_link_tokens.go | 4 +- internal/store/live_migrations.go | 4 +- internal/store/logs.go | 2 +- internal/store/maintenance.go | 2 +- internal/store/online_archives.go | 4 +- internal/store/operator.go | 12 +-- internal/store/organization_invitations.go | 2 +- internal/store/organizations.go | 2 +- internal/store/peering_connections.go | 2 +- internal/store/performance_advisor.go | 2 +- internal/store/private_endpoints.go | 2 +- internal/store/process_databases.go | 2 +- internal/store/process_disk_measurements.go | 2 +- internal/store/process_disks.go | 2 +- internal/store/process_measurements.go | 2 +- internal/store/processes.go | 2 +- internal/store/project_invitations.go | 2 +- internal/store/project_ip_access_lists.go | 2 +- internal/store/project_settings.go | 2 +- internal/store/projects.go | 2 +- internal/store/search.go | 2 +- internal/store/search_nodes.go | 2 +- internal/store/serverless_instances.go | 4 +- .../store/serverless_private_endpoints.go | 2 +- internal/store/store.go | 6 +- internal/store/store_test.go | 2 +- internal/store/streams.go | 2 +- internal/store/teams.go | 2 +- internal/store/telemetry.go | 4 +- internal/store/users.go | 2 +- internal/store/x509_auth_database_users.go | 2 +- internal/telemetry/ask.go | 4 +- internal/telemetry/command.go | 4 +- internal/telemetry/event.go | 10 +- internal/telemetry/event_test.go | 6 +- internal/telemetry/installer.go | 2 +- internal/telemetry/tracker.go | 6 +- internal/telemetry/tracker_test.go | 4 +- internal/test/test.go | 2 +- internal/validate/validate.go | 2 +- internal/version/release_version.go | 2 +- internal/watchers/cluster.go | 4 +- test/e2e/atlas/access_lists_test.go | 2 +- test/e2e/atlas/access_logs_test.go | 2 +- test/e2e/atlas/access_roles_test.go | 2 +- test/e2e/atlas/alert_settings_test.go | 2 +- test/e2e/atlas/alerts_test.go | 2 +- .../atlas/atlas_e2e_test_generator_test.go | 2 +- test/e2e/atlas/auditing_test.go | 2 +- ...up_compliancepolicy_copyprotection_test.go | 2 +- .../backup_compliancepolicy_describe_test.go | 2 +- .../backup_compliancepolicy_enable_test.go | 2 +- ...backup_compliancepolicy_pitrestore_test.go | 2 +- ...compliancepolicy_policies_describe_test.go | 2 +- .../backup_compliancepolicy_setup_test.go | 2 +- test/e2e/atlas/backup_export_buckets_test.go | 2 +- test/e2e/atlas/backup_export_jobs_test.go | 2 +- test/e2e/atlas/backup_restores_test.go | 2 +- test/e2e/atlas/backup_schedule_test.go | 2 +- test/e2e/atlas/backup_serverless_test.go | 2 +- test/e2e/atlas/backup_snapshot_test.go | 2 +- test/e2e/atlas/cleanup_test.go | 2 +- test/e2e/atlas/clusters_file_test.go | 4 +- test/e2e/atlas/clusters_flags_test.go | 2 +- test/e2e/atlas/clusters_m0_test.go | 2 +- test/e2e/atlas/clusters_sharded_test.go | 2 +- test/e2e/atlas/clusters_upgrade_test.go | 2 +- test/e2e/atlas/custom_db_roles_test.go | 2 +- test/e2e/atlas/custom_dns_test.go | 2 +- test/e2e/atlas/data_federation_db_test.go | 2 +- .../data_federation_private_endpoint_test.go | 2 +- .../atlas/data_federation_query_limit_test.go | 2 +- test/e2e/atlas/data_lake_pipelines_test.go | 2 +- test/e2e/atlas/dbusers_certs_test.go | 4 +- test/e2e/atlas/dbusers_test.go | 2 +- test/e2e/atlas/decryption_aws_test.go | 4 +- test/e2e/atlas/decryption_azure_test.go | 4 +- test/e2e/atlas/decryption_gcp_test.go | 4 +- test/e2e/atlas/decryption_localkey_test.go | 4 +- test/e2e/atlas/deployments_atlas_test.go | 2 +- test/e2e/atlas/deployments_local_auth_test.go | 2 +- .../atlas/deployments_local_noauth_test.go | 2 +- test/e2e/atlas/events_test.go | 2 +- test/e2e/atlas/helper_test.go | 2 +- test/e2e/atlas/integrations_test.go | 2 +- .../e2e/atlas/kubernetes_config_apply_test.go | 6 +- .../atlas/kubernetes_config_generate_test.go | 8 +- .../atlas/kubernetes_operator_install_test.go | 4 +- test/e2e/atlas/ldap_test.go | 2 +- test/e2e/atlas/live_migrations_test.go | 2 +- test/e2e/atlas/logs_test.go | 2 +- test/e2e/atlas/maintenance_test.go | 2 +- test/e2e/atlas/metrics_test.go | 2 +- test/e2e/atlas/online_archives_test.go | 2 +- test/e2e/atlas/operator_helper_test.go | 2 +- test/e2e/atlas/performance_advisor_test.go | 2 +- test/e2e/atlas/private_endpoint_test.go | 2 +- test/e2e/atlas/processes_test.go | 2 +- test/e2e/atlas/profile_test.go | 2 +- test/e2e/atlas/project_settings_test.go | 2 +- test/e2e/atlas/search_nodes_test.go | 2 +- test/e2e/atlas/search_test.go | 2 +- test/e2e/atlas/serverless_test.go | 2 +- test/e2e/atlas/setup_failure_test.go | 2 +- test/e2e/atlas/setup_force_test.go | 2 +- test/e2e/atlas/streams_test.go | 2 +- test/e2e/brew/brew_test.go | 2 +- test/e2e/config/autocomplete_test.go | 2 +- test/e2e/config/config_test.go | 2 +- .../iam/atlas_org_api_key_access_list_test.go | 2 +- test/e2e/iam/atlas_org_api_keys_test.go | 2 +- test/e2e/iam/atlas_org_invitations_test.go | 2 +- test/e2e/iam/atlas_orgs_test.go | 2 +- test/e2e/iam/atlas_project_api_keys_test.go | 2 +- .../e2e/iam/atlas_project_invitations_test.go | 2 +- test/e2e/iam/atlas_project_teams_test.go | 2 +- test/e2e/iam/atlas_projects_test.go | 2 +- test/e2e/iam/atlas_team_users_test.go | 2 +- test/e2e/iam/atlas_teams_test.go | 2 +- test/e2e/iam/atlas_users_test.go | 2 +- test/e2e/iam/helper_test.go | 2 +- tools/cli-generator/templates/create.gotmpl | 4 +- .../templates/create_test.gotmpl | 6 +- tools/cli-generator/templates/delete.gotmpl | 4 +- .../templates/delete_test.gotmpl | 10 +- tools/cli-generator/templates/describe.gotmpl | 4 +- .../templates/describe_test.gotmpl | 12 +-- tools/cli-generator/templates/list.gotmpl | 4 +- .../cli-generator/templates/list_test.gotmpl | 12 +-- tools/cli-generator/templates/parent.gotmpl | 2 +- .../templates/parent_test.gotmpl | 2 +- tools/cli-generator/templates/store.gotmpl | 2 +- tools/cli-generator/templates/update.gotmpl | 4 +- .../templates/update_test.gotmpl | 6 +- tools/docs/main.go | 2 +- tools/genevergreen/main.go | 2 +- tools/release/main.go | 4 +- tools/release/main_test.go | 4 +- tools/templates-checker/main.go | 4 +- .../templateparsing/validation.go | 2 +- 1197 files changed, 4142 insertions(+), 4142 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f131a38b88..853b47964d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,7 +30,7 @@ please head over to our [feedback page](https://feedback.mongodb.com/forums/9308 ## Reporting Issues -Please create a [GitHub issue](https://github.com/mongodb/mongodb-atlas-cli/issues/new?assignees=&labels=&template=bug_report.md) describing the kind of problem you're facing +Please create a [GitHub issue](https://github.com/fmenezes/mongodb-atlas-cli/issues/new?assignees=&labels=&template=bug_report.md) describing the kind of problem you're facing with as much detail as possible, including things like operating system or anything else may be relevant to the issue. ## Auto-close Stale Issues and Pull Requests @@ -56,7 +56,7 @@ To make the contribution process as seamless as possible, we ask for the followi - Have test cases for the new code. If you have questions about how to do this, please ask in your pull request or check the [Building and Testing](#building-and-testing) section. - Run `make fmt`. - Add documentation if you are adding new features or changing functionality. - - Confirm that `make check` succeeds. [GitHub Actions](https://github.com/mongodb/mongodb-atlas-cli/actions). + - Confirm that `make check` succeeds. [GitHub Actions](https://github.com/fmenezes/mongodb-atlas-cli/actions). ### Development Setup @@ -144,12 +144,12 @@ Depending on the feature you are building you might choose to: For a command group, we need to create new cobra root command. This command aggregates a number of subcommands that can perform network requests and return results -For example [teams](https://github.com/mongodb/mongodb-atlas-cli/tree/220c6c73f346f5c711a1c772b17f93a6811efc69/internal/cli/atlas/teams) +For example [teams](https://github.com/fmenezes/mongodb-atlas-cli/tree/220c6c73f346f5c711a1c772b17f93a6811efc69/internal/cli/atlas/teams) command root provides the main execution point for `atlas teams` with subcommands like `atlas teams list` Root command links to a number of child commands. Atlas CLI provides a number of patterns for child commands depending on the type of operation performed. Each new feature might cover typical commands like `list` and `describe` along with dedicated actions. -For example [list command](https://github.com/mongodb/mongodb-atlas-cli/blob/220c6c73f346f5c711a1c772b17f93a6811efc69/internal/cli/atlas/teams/list.go). +For example [list command](https://github.com/fmenezes/mongodb-atlas-cli/blob/220c6c73f346f5c711a1c772b17f93a6811efc69/internal/cli/atlas/teams/list.go). It is normal to duplicate existing commands and edit descriptions and methods for your own needs. Additionally, after adding new command we need to add it to the main CLI root command. @@ -197,7 +197,7 @@ Flags are a way to modify the command, also may be called "options". Flags alway - `--booleanFlag`: this flag represents a boolean and it sets the related variable to true when the flag is used, false otherwise. Example: `--force` - `--flagName value1,value2,..,valueN`: you will also find flags that accept a list of values. This type of flag can be very useful to represent data structures as `--role roleName1@db,roleName2@db`, `--privilege action@dbName.collection,action2@dbName.collection`, or `--key field:type`. As shown in the examples, the standard format used to represent data structures consists of splitting the first value with the second one by at sign `@` or colon `:`, and the second value with the third one by a full stop `.`. - We recommend using configuration files for complex data structures that require more than three values. For an example of configuration files, see [mongocli atlas cluster create](https://github.com/mongodb/mongodb-atlas-cli/blob/f2e6d661a3eb2cfcf9baab5f9e0b1c0f872b8c14/internal/cli/atlas/clusters/create.go#L235). + We recommend using configuration files for complex data structures that require more than three values. For an example of configuration files, see [mongocli atlas cluster create](https://github.com/fmenezes/mongodb-atlas-cli/blob/f2e6d661a3eb2cfcf9baab5f9e0b1c0f872b8c14/internal/cli/atlas/clusters/create.go#L235). #### Documentation Requirements diff --git a/Makefile b/Makefile index 4367934fc8..b0750e8e4c 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,8 @@ ATLAS_VERSION?=$(shell git describe --match "atlascli/v*" | cut -d "v" -f 2) ATLAS_DESTINATION=./bin/$(ATLAS_BINARY_NAME) ATLAS_INSTALL_PATH="${GOPATH}/bin/$(ATLAS_BINARY_NAME)" -LINKER_FLAGS=-s -w -X github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version.GitCommit=${MCLI_GIT_SHA} -ATLAS_LINKER_FLAGS=${LINKER_FLAGS} -X github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version.Version=${ATLAS_VERSION} +LINKER_FLAGS=-s -w -X github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version.GitCommit=${MCLI_GIT_SHA} +ATLAS_LINKER_FLAGS=${LINKER_FLAGS} -X github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version.Version=${ATLAS_VERSION} ATLAS_E2E_BINARY?=../../../bin/${ATLAS_BINARY_NAME} DEBUG_FLAGS=all=-N -l diff --git a/README.md b/README.md index 1e0718dad9..3506aa203a 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The MongoDB Atlas CLI is a modern command line interface that enables you to man ### Pre-built Binaries -Download the appropriate version for your platform from [Atlas CLI releases](https://github.com/mongodb/mongodb-atlas-cli/releases). +Download the appropriate version for your platform from [Atlas CLI releases](https://github.com/fmenezes/mongodb-atlas-cli/releases). After you download the library, you can run it from anywhere and don't need to install it into a global location. This works well for shared hosts and other systems where you don't have a privileged account. @@ -20,7 +20,7 @@ You can place this binary somewhere in your `PATH` for ease of use. #### Fetch Source ```bash -git clone https://github.com/mongodb/mongodb-atlas-cli.git +git clone https://github.com/fmenezes/mongodb-atlas-cli.git cd mongodb-atlas-cli ``` diff --git a/RELEASING.md b/RELEASING.md index c63e4bc7d1..4f33beff5d 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -18,7 +18,7 @@ Use the instructions bellow as a fallback. Package Managers are published after a stable release happens, in which binaries are stored in github releases and also uploaded to our download center (https://www.mongodb.com/try/download/atlascli and https://www.mongodb.com/try/download/mongocli). -* [Chocolatey](http://chocolatey.org) release is triggered in https://github.com/mongodb-forks/chocolatey-packages/, the Github Action will trigger every weekday at 4pm (UTC) to check if there are any new releases in https://github.com/mongodb/mongodb-atlas-cli/releases/. +* [Chocolatey](http://chocolatey.org) release is triggered in https://github.com/mongodb-forks/chocolatey-packages/, the Github Action will trigger every weekday at 4pm (UTC) to check if there are any new releases in https://github.com/fmenezes/mongodb-atlas-cli/releases/. * [Homebrew](http://brew.sh/) release is triggered in https://github.com/Homebrew/homebrew-core/, which is not maintained by MongoDB rather by homebrew community. @@ -26,7 +26,7 @@ Package Managers are published after a stable release happens, in which binaries ## Docker Image Our Docker image release for AtlasCLI is managed through the [docker-release.yml](.github/workflows/docker-release.yml) workflow. This process is automated to run daily, ensuring the latest versions of the image dependencies are updated. -![github_action](https://github.com/mongodb/mongodb-atlas-cli/assets/5663078/fd54ccda-7794-4139-af92-dbde0c278e78) +![github_action](https://github.com/fmenezes/mongodb-atlas-cli/assets/5663078/fd54ccda-7794-4139-af92-dbde0c278e78) ### Release Steps #### Step 1: Build and Stage The AtlasCLI Docker image is built from the ([Dockerfile](Dockerfile)) and tagged in three ways: `latest`, `vX.Y.Z` (reflecting the latest release version, e.g., `v1.22.0`), and `vX.Y.Z-date` (adding the current date, e.g., `v1.22.0-2024-01-01`). This image is initially published to a staging registry to prepare for signature in the next step. @@ -55,7 +55,7 @@ This will do the following things: 1. Tag a new version, ie: `git tag -a -s atlascli/v1.0.0 -m "atlascli/v1.0.0"` 2. Publish the new tag, ie `git push origin atlascli/v1.0.0` 3. The [evergreen](build/ci/release.yml) release task will run after a tag event from master. -4. If everything goes smoothly the release will be published in the [releases page](https://github.com/mongodb/mongodb-atlas-cli/releases), and [download center](https://www.mongodb.com/try/download/mongocli). +4. If everything goes smoothly the release will be published in the [releases page](https://github.com/fmenezes/mongodb-atlas-cli/releases), and [download center](https://www.mongodb.com/try/download/mongocli). # Generate the SBOM diff --git a/build/ci/evergreen.yml b/build/ci/evergreen.yml index fb23b4cca7..b8f548ed1a 100644 --- a/build/ci/evergreen.yml +++ b/build/ci/evergreen.yml @@ -27,18 +27,18 @@ variables: GO111MODULE: "on" GOROOT: ${go_root} GOPATH: ${go_base_path}${workdir} - ADD_PATH: "${go_bin}:${go_base_path}${workdir}/bin:${go_base_path}${workdir}/src/github.com/mongodb/mongodb-atlas-cli/bin" + ADD_PATH: "${go_bin}:${go_base_path}${workdir}/bin:${go_base_path}${workdir}/src/github.com/fmenezes/mongodb-atlas-cli/bin" GOPROXY: ${go_proxy} - &go_options add_to_path: - ${go_bin} - ${go_base_path}${workdir}/bin - - ${go_base_path}${workdir}/src/github.com/mongodb/mongodb-atlas-cli/bin + - ${go_base_path}${workdir}/src/github.com/fmenezes/mongodb-atlas-cli/bin include_expansions_in_env: - go_base_path - go_proxy - workdir - working_dir: src/github.com/mongodb/mongodb-atlas-cli + working_dir: src/github.com/fmenezes/mongodb-atlas-cli env: <<: *go_env functions: @@ -46,7 +46,7 @@ functions: - command: git.get_project type: setup params: - directory: src/github.com/mongodb/mongodb-atlas-cli + directory: src/github.com/fmenezes/mongodb-atlas-cli "build": - command: subprocess.exec type: test @@ -95,7 +95,7 @@ functions: type: setup params: <<: *go_options - working_dir: src/github.com/mongodb/mongodb-atlas-cli/bin + working_dir: src/github.com/fmenezes/mongodb-atlas-cli/bin shell: bash script: | set -Eeou pipefail @@ -105,13 +105,13 @@ functions: - command: subprocess.exec type: setup params: - working_dir: src/github.com/mongodb/mongodb-atlas-cli/bin + working_dir: src/github.com/fmenezes/mongodb-atlas-cli/bin binary: ../build/ci/install_podman.sh "setup operator": command: subprocess.exec type: setup params: - working_dir: src/github.com/mongodb/mongodb-atlas-cli + working_dir: src/github.com/fmenezes/mongodb-atlas-cli env: MCLI_ORG_ID: ${atlas_org_id} MCLI_PRIVATE_API_KEY: ${atlas_private_api_key} @@ -135,7 +135,7 @@ functions: aws_key: ${aws_key} aws_secret: ${aws_secret} local_files_include_filter: - - src/github.com/mongodb/mongodb-atlas-cli/tasks.json + - src/github.com/fmenezes/mongodb-atlas-cli/tasks.json remote_file: ${project}/dist/${revision}_${created_at}/atlascli/${task_type}/ bucket: mongodb-mongocli-build permissions: public-read @@ -150,7 +150,7 @@ pre: post: - command: attach.xunit_results params: - files: ["src/github.com/mongodb/mongodb-atlas-cli/*.xml"] + files: ["src/github.com/fmenezes/mongodb-atlas-cli/*.xml"] tasks: - name: compile tags: ["code_health"] diff --git a/build/ci/release.yml b/build/ci/release.yml index e2a59612a8..472edd3518 100644 --- a/build/ci/release.yml +++ b/build/ci/release.yml @@ -12,16 +12,16 @@ variables: GO111MODULE: "on" GOROOT: ${go_root} GOPATH: ${go_base_path}${workdir} - ADD_PATH: "${go_bin}:${go_base_path}${workdir}/bin:${go_base_path}${workdir}/src/github.com/mongodb/mongodb-atlas-cli/bin" + ADD_PATH: "${go_bin}:${go_base_path}${workdir}/bin:${go_base_path}${workdir}/src/github.com/fmenezes/mongodb-atlas-cli/bin" - &go_options add_to_path: - ${go_bin} - ${go_base_path}${workdir}/bin - - ${go_base_path}${workdir}/src/github.com/mongodb/mongodb-atlas-cli/bin + - ${go_base_path}${workdir}/src/github.com/fmenezes/mongodb-atlas-cli/bin include_expansions_in_env: - go_base_path - workdir - working_dir: src/github.com/mongodb/mongodb-atlas-cli + working_dir: src/github.com/fmenezes/mongodb-atlas-cli env: <<: *go_env functions: @@ -29,7 +29,7 @@ functions: - command: shell.exec type: setup params: - working_dir: src/github.com/mongodb/mongodb-atlas-cli/bin + working_dir: src/github.com/fmenezes/mongodb-atlas-cli/bin script: | set -Eeou pipefail @@ -38,7 +38,7 @@ functions: - command: shell.exec type: setup params: - working_dir: src/github.com/mongodb/mongodb-atlas-cli + working_dir: src/github.com/fmenezes/mongodb-atlas-cli include_expansions_in_env: - notary_service_url script: | @@ -50,7 +50,7 @@ functions: - command: shell.exec type: setup params: - working_dir: src/github.com/mongodb/mongodb-atlas-cli/bin + working_dir: src/github.com/fmenezes/mongodb-atlas-cli/bin script: | set -Eeou pipefail @@ -86,13 +86,13 @@ functions: - command: subprocess.exec type: setup params: - working_dir: src/github.com/mongodb/mongodb-atlas-cli + working_dir: src/github.com/fmenezes/mongodb-atlas-cli command: choco install -y "go-msi" --force "uninstall go-msi": - command: subprocess.exec type: setup params: - working_dir: src/github.com/mongodb/mongodb-atlas-cli + working_dir: src/github.com/fmenezes/mongodb-atlas-cli command: choco uninstall -y "go-msi" "generate msi": - command: subprocess.exec @@ -102,7 +102,7 @@ functions: add_to_path: - ${go_bin} - ${go_base_path}${workdir}/bin - - ${go_base_path}${workdir}/src/github.com/mongodb/mongodb-atlas-cli/bin + - ${go_base_path}${workdir}/src/github.com/fmenezes/mongodb-atlas-cli/bin - "/cygdrive/c/Program Files/go-msi" - "/cygdrive/c/wixtools/bin" env: @@ -132,7 +132,7 @@ functions: - command: subprocess.exec type: test params: - working_dir: src/github.com/mongodb/mongodb-atlas-cli + working_dir: src/github.com/fmenezes/mongodb-atlas-cli silent: true include_expansions_in_env: - evergreen_user @@ -147,7 +147,7 @@ functions: type: test params: <<: *go_options - working_dir: src/github.com/mongodb/mongodb-atlas-cli/dist + working_dir: src/github.com/fmenezes/mongodb-atlas-cli/dist include_expansions_in_env: - go_base_path - workdir @@ -159,14 +159,14 @@ functions: aws_key: ${aws_key} aws_secret: ${aws_secret} local_files_include_filter: - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.tar.gz - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.zip - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.deb - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.rpm - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.tgz - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.json - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.msi - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.sig + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.tar.gz + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.zip + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.deb + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.rpm + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.tgz + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.json + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.msi + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.sig remote_file: ${project}/dist/${revision}_${created_at}/ bucket: mongodb-mongocli-build permissions: public-read @@ -208,7 +208,7 @@ functions: - revision - created_at - image - working_dir: src/github.com/mongodb/mongodb-atlas-cli/build/package/docker + working_dir: src/github.com/fmenezes/mongodb-atlas-cli/build/package/docker binary: ./docker-build.sh "docker build meta": - command: subprocess.exec @@ -219,7 +219,7 @@ functions: - revision - created_at - image - working_dir: src/github.com/mongodb/mongodb-atlas-cli/build/package/docker/meta + working_dir: src/github.com/fmenezes/mongodb-atlas-cli/build/package/docker/meta binary: ./docker-build.sh "powershell build": - command: subprocess.exec @@ -230,7 +230,7 @@ functions: - revision - created_at - unstable - working_dir: src/github.com/mongodb/mongodb-atlas-cli/ + working_dir: src/github.com/fmenezes/mongodb-atlas-cli/ binary: Powershell -File ./build/package/powershell/windows_post_package_test.ps1 "docker build repo": - command: subprocess.exec @@ -243,7 +243,7 @@ functions: - entrypoint - mongo_package - mongo_repo - working_dir: src/github.com/mongodb/mongodb-atlas-cli/build/package/docker/repo + working_dir: src/github.com/fmenezes/mongodb-atlas-cli/build/package/docker/repo binary: ./docker-build.sh tasks: - name: package_msi @@ -262,8 +262,8 @@ tasks: aws_key: ${aws_key} aws_secret: ${aws_secret} local_files_include_filter: - - src/github.com/mongodb/mongodb-atlas-cli/bin/*.exe - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.msi + - src/github.com/fmenezes/mongodb-atlas-cli/bin/*.exe + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.msi remote_file: ${project}/dist/${revision}_${created_at}/unsigned_ bucket: mongodb-mongocli-build permissions: public-read @@ -282,7 +282,7 @@ tasks: - command: subprocess.exec type: test params: - working_dir: src/github.com/mongodb/mongodb-atlas-cli + working_dir: src/github.com/fmenezes/mongodb-atlas-cli include_expansions_in_env: - project - revision @@ -307,26 +307,26 @@ tasks: meta_package_name: ${meta_package_name} - command: archive.targz_pack params: - target: src/github.com/mongodb/mongodb-atlas-cli/dist/atlascli-deb-x86_64.tgz - source_dir: src/github.com/mongodb/mongodb-atlas-cli/dist/apt/x86_64 + target: src/github.com/fmenezes/mongodb-atlas-cli/dist/atlascli-deb-x86_64.tgz + source_dir: src/github.com/fmenezes/mongodb-atlas-cli/dist/apt/x86_64 include: - "*.deb" - command: archive.targz_pack params: - target: src/github.com/mongodb/mongodb-atlas-cli/dist/atlascli-deb-arm64.tgz - source_dir: src/github.com/mongodb/mongodb-atlas-cli/dist/apt/arm64 + target: src/github.com/fmenezes/mongodb-atlas-cli/dist/atlascli-deb-arm64.tgz + source_dir: src/github.com/fmenezes/mongodb-atlas-cli/dist/apt/arm64 include: - "*.deb" - command: archive.targz_pack params: - target: src/github.com/mongodb/mongodb-atlas-cli/dist/atlascli-rpm-x86_64.tgz - source_dir: src/github.com/mongodb/mongodb-atlas-cli/dist/yum/x86_64 + target: src/github.com/fmenezes/mongodb-atlas-cli/dist/atlascli-rpm-x86_64.tgz + source_dir: src/github.com/fmenezes/mongodb-atlas-cli/dist/yum/x86_64 include: - "*.rpm" - command: archive.targz_pack params: - target: src/github.com/mongodb/mongodb-atlas-cli/dist/atlascli-rpm-aarch64.tgz - source_dir: src/github.com/mongodb/mongodb-atlas-cli/dist/yum/arm64 + target: src/github.com/fmenezes/mongodb-atlas-cli/dist/atlascli-rpm-aarch64.tgz + source_dir: src/github.com/fmenezes/mongodb-atlas-cli/dist/yum/arm64 include: - "*.rpm" - func: "generate download archive json" @@ -339,14 +339,14 @@ tasks: aws_key: ${download_center_aws_key} aws_secret: ${download_center_aws_secret} local_files_include_filter: - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.tar.gz - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.zip - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.deb - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.rpm - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.tgz - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.json - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.msi - - src/github.com/mongodb/mongodb-atlas-cli/dist/*.sig + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.tar.gz + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.zip + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.deb + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.rpm + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.tgz + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.json + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.msi + - src/github.com/fmenezes/mongodb-atlas-cli/dist/*.sig remote_file: mongocli/ build_variants: - release_mongocli_github diff --git a/build/package/.goreleaser.yml b/build/package/.goreleaser.yml index d02b87d0d2..e81dccedeb 100644 --- a/build/package/.goreleaser.yml +++ b/build/package/.goreleaser.yml @@ -15,7 +15,7 @@ builds: binary: bin/atlas main: ./cmd/atlas ldflags: - - -s -w -X github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version.Version={{.Version}} -X github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version.GitCommit={{.FullCommit}} + - -s -w -X github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version.Version={{.Version}} -X github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version.GitCommit={{.FullCommit}} id: linux goos: [linux] goarch: [amd64,arm64] diff --git a/build/package/generate-msi.sh b/build/package/generate-msi.sh index 044fe8ce51..065d1c0316 100755 --- a/build/package/generate-msi.sh +++ b/build/package/generate-msi.sh @@ -33,7 +33,7 @@ COMMIT=$(git log -n1 --format=format:"%H") SOURCE_FILES=./cmd/atlas PACKAGE_NAME=mongodb-atlas-cli_${VERSION_NAME}_windows_x86_64.msi OUTPUT=./bin/atlas.exe -LINKER_FLAGS="-s -w -X github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version.Version=${VERSION_GIT} -X github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version.GitCommit=${COMMIT}" +LINKER_FLAGS="-s -w -X github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version.Version=${VERSION_GIT} -X github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version.GitCommit=${COMMIT}" WIX_MANIFEST_FILE="./build/package/wix/atlascli.json" env GOOS=windows GOARCH=amd64 go build \ diff --git a/build/package/generate-notices.sh b/build/package/generate-notices.sh index 6a960b463e..9505d76016 100755 --- a/build/package/generate-notices.sh +++ b/build/package/generate-notices.sh @@ -18,6 +18,6 @@ set -Eeou pipefail go install github.com/google/go-licenses@latest -go-licenses save "github.com/mongodb/mongodb-atlas-cli/atlascli/cmd/atlas" --save_path=third_party_notices +go-licenses save "github.com/fmenezes/mongodb-atlas-cli/atlascli/cmd/atlas" --save_path=third_party_notices # For HCL, a dependency of viper, go-license adds the source code with restricted permissions, this is a problem for some linux users sudo chmod -R 755 ./third_party_notices diff --git a/build/package/send-slack-notification.sh b/build/package/send-slack-notification.sh index 87da791de7..ecc9199ba0 100755 --- a/build/package/send-slack-notification.sh +++ b/build/package/send-slack-notification.sh @@ -32,7 +32,7 @@ curl --header "Api-User:${evergreen_user:?}" \ "attachments" : [ { "title": "v'"${VERSION}"'", - "title_link": "https://github.com/mongodb/mongodb-atlas-cli/releases", + "title_link": "https://github.com/fmenezes/mongodb-atlas-cli/releases", "author_name": "Release Page", "fallback": "new release", "author_icon": "https://camo.githubusercontent.com/0e10b56a03b056a6e5fcf82a3cb3603188549a02c234b8e5426aaa11853e3069/68747470733a2f2f7261772e6769746875622e636f6d2f6d6f6e676f64622f6d6f6e676f636c692f6d61737465722f6d6f6e676f636c692e706e67" diff --git a/cmd/atlas/atlas.go b/cmd/atlas/atlas.go index 06a1d1bc3a..25594d9ac5 100644 --- a/cmd/atlas/atlas.go +++ b/cmd/atlas/atlas.go @@ -24,10 +24,10 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/AlecAivazis/survey/v2/core" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/root" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/terminal" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/root" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/terminal" "github.com/spf13/cobra" ) diff --git a/go.mod b/go.mod index e21fe24abd..66265c4ae2 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/mongodb/mongodb-atlas-cli/atlascli +module github.com/fmenezes/mongodb-atlas-cli/atlascli go 1.22 diff --git a/internal/cli/accesslists/access_lists.go b/internal/cli/accesslists/access_lists.go index cf8cb35604..6e937f184e 100644 --- a/internal/cli/accesslists/access_lists.go +++ b/internal/cli/accesslists/access_lists.go @@ -15,7 +15,7 @@ package accesslists import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/accesslists/access_lists_test.go b/internal/cli/accesslists/access_lists_test.go index 729fc6cc71..5c1c43bc89 100644 --- a/internal/cli/accesslists/access_lists_test.go +++ b/internal/cli/accesslists/access_lists_test.go @@ -19,7 +19,7 @@ package accesslists import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/accesslists/create.go b/internal/cli/accesslists/create.go index 4e28835c91..9b5a617dae 100644 --- a/internal/cli/accesslists/create.go +++ b/internal/cli/accesslists/create.go @@ -19,14 +19,14 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/accesslists/create_test.go b/internal/cli/accesslists/create_test.go index 5ffa141b6f..476e4249f0 100644 --- a/internal/cli/accesslists/create_test.go +++ b/internal/cli/accesslists/create_test.go @@ -19,10 +19,10 @@ package accesslists import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/accesslists/delete.go b/internal/cli/accesslists/delete.go index d10c2c7937..d30c49441e 100644 --- a/internal/cli/accesslists/delete.go +++ b/internal/cli/accesslists/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/accesslists/delete_test.go b/internal/cli/accesslists/delete_test.go index 7268fda93e..5587e56460 100644 --- a/internal/cli/accesslists/delete_test.go +++ b/internal/cli/accesslists/delete_test.go @@ -19,11 +19,11 @@ package accesslists import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestWhitelistDelete_Run(t *testing.T) { diff --git a/internal/cli/accesslists/describe.go b/internal/cli/accesslists/describe.go index 253d66d76b..b09440f1b8 100644 --- a/internal/cli/accesslists/describe.go +++ b/internal/cli/accesslists/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/accesslists/describe_test.go b/internal/cli/accesslists/describe_test.go index 6740608ac5..2262b0f52a 100644 --- a/internal/cli/accesslists/describe_test.go +++ b/internal/cli/accesslists/describe_test.go @@ -21,12 +21,12 @@ import ( "testing" "time" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/accesslists/list.go b/internal/cli/accesslists/list.go index 78271f18cb..950cbe1a6f 100644 --- a/internal/cli/accesslists/list.go +++ b/internal/cli/accesslists/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/accesslists/list_test.go b/internal/cli/accesslists/list_test.go index 99857777f7..951bbc8a15 100644 --- a/internal/cli/accesslists/list_test.go +++ b/internal/cli/accesslists/list_test.go @@ -21,12 +21,12 @@ import ( "testing" "time" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/accesslogs/access_logs.go b/internal/cli/accesslogs/access_logs.go index 3ed582f391..93e5bec0d1 100644 --- a/internal/cli/accesslogs/access_logs.go +++ b/internal/cli/accesslogs/access_logs.go @@ -15,7 +15,7 @@ package accesslogs import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/accesslogs/access_logs_test.go b/internal/cli/accesslogs/access_logs_test.go index 38a7f01221..7c24f557de 100644 --- a/internal/cli/accesslogs/access_logs_test.go +++ b/internal/cli/accesslogs/access_logs_test.go @@ -19,7 +19,7 @@ package accesslogs import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/accesslogs/list.go b/internal/cli/accesslogs/list.go index c77512000b..a04b66defc 100644 --- a/internal/cli/accesslogs/list.go +++ b/internal/cli/accesslogs/list.go @@ -19,12 +19,12 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlas "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/accesslogs/list_test.go b/internal/cli/accesslogs/list_test.go index 4bc60099c0..e5f6c1d895 100644 --- a/internal/cli/accesslogs/list_test.go +++ b/internal/cli/accesslogs/list_test.go @@ -20,12 +20,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/acknowledge.go b/internal/cli/alerts/acknowledge.go index 8afee24f93..8f8584695c 100644 --- a/internal/cli/alerts/acknowledge.go +++ b/internal/cli/alerts/acknowledge.go @@ -19,13 +19,13 @@ import ( "fmt" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/acknowledge_test.go b/internal/cli/alerts/acknowledge_test.go index faaf161913..3563f8d0d9 100644 --- a/internal/cli/alerts/acknowledge_test.go +++ b/internal/cli/alerts/acknowledge_test.go @@ -20,10 +20,10 @@ import ( "errors" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/alerts.go b/internal/cli/alerts/alerts.go index 299f5e6cf9..62338e80f4 100644 --- a/internal/cli/alerts/alerts.go +++ b/internal/cli/alerts/alerts.go @@ -15,8 +15,8 @@ package alerts import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/alerts/settings" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/alerts/settings" "github.com/spf13/cobra" ) diff --git a/internal/cli/alerts/alerts_test.go b/internal/cli/alerts/alerts_test.go index e2968aba62..b7fbacaeb3 100644 --- a/internal/cli/alerts/alerts_test.go +++ b/internal/cli/alerts/alerts_test.go @@ -19,7 +19,7 @@ package alerts import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/alerts/describe.go b/internal/cli/alerts/describe.go index 71deb60168..690a8d1d2d 100644 --- a/internal/cli/alerts/describe.go +++ b/internal/cli/alerts/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/describe_test.go b/internal/cli/alerts/describe_test.go index 4c46cdffc5..baccf768c7 100644 --- a/internal/cli/alerts/describe_test.go +++ b/internal/cli/alerts/describe_test.go @@ -21,12 +21,12 @@ import ( "errors" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/alerts/list.go b/internal/cli/alerts/list.go index fc8ec12582..c5fed2ab60 100644 --- a/internal/cli/alerts/list.go +++ b/internal/cli/alerts/list.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/list_test.go b/internal/cli/alerts/list_test.go index 5a170c36b0..c75df4d81e 100644 --- a/internal/cli/alerts/list_test.go +++ b/internal/cli/alerts/list_test.go @@ -20,12 +20,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/settings/create.go b/internal/cli/alerts/settings/create.go index fb39155663..f1cffa476a 100644 --- a/internal/cli/alerts/settings/create.go +++ b/internal/cli/alerts/settings/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/alerts/settings/create_test.go b/internal/cli/alerts/settings/create_test.go index 7c0dcb091c..8725d7ca0f 100644 --- a/internal/cli/alerts/settings/create_test.go +++ b/internal/cli/alerts/settings/create_test.go @@ -19,10 +19,10 @@ package settings import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/settings/delete.go b/internal/cli/alerts/settings/delete.go index 4ffb1914b4..41a8f1a893 100644 --- a/internal/cli/alerts/settings/delete.go +++ b/internal/cli/alerts/settings/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/alerts/settings/delete_test.go b/internal/cli/alerts/settings/delete_test.go index c1cfc9f277..92407aceca 100644 --- a/internal/cli/alerts/settings/delete_test.go +++ b/internal/cli/alerts/settings/delete_test.go @@ -19,9 +19,9 @@ package settings import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestConfigsDelete_Run(t *testing.T) { diff --git a/internal/cli/alerts/settings/describe.go b/internal/cli/alerts/settings/describe.go index 6e4e989cde..81538daa86 100644 --- a/internal/cli/alerts/settings/describe.go +++ b/internal/cli/alerts/settings/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/alerts/settings/describe_test.go b/internal/cli/alerts/settings/describe_test.go index c569bbb16a..8ed3bdede4 100644 --- a/internal/cli/alerts/settings/describe_test.go +++ b/internal/cli/alerts/settings/describe_test.go @@ -19,11 +19,11 @@ package settings import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/settings/disable.go b/internal/cli/alerts/settings/disable.go index c678f664e7..2d05269a67 100644 --- a/internal/cli/alerts/settings/disable.go +++ b/internal/cli/alerts/settings/disable.go @@ -17,12 +17,12 @@ package settings import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/alerts/settings/disable_test.go b/internal/cli/alerts/settings/disable_test.go index 6d54a9635b..f11f867cfc 100644 --- a/internal/cli/alerts/settings/disable_test.go +++ b/internal/cli/alerts/settings/disable_test.go @@ -19,11 +19,11 @@ package settings import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/settings/enable.go b/internal/cli/alerts/settings/enable.go index ed60ba9e71..0d0de8ec15 100644 --- a/internal/cli/alerts/settings/enable.go +++ b/internal/cli/alerts/settings/enable.go @@ -17,12 +17,12 @@ package settings import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/alerts/settings/enable_test.go b/internal/cli/alerts/settings/enable_test.go index c040ddca74..163ff977ff 100644 --- a/internal/cli/alerts/settings/enable_test.go +++ b/internal/cli/alerts/settings/enable_test.go @@ -19,11 +19,11 @@ package settings import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/settings/fields.go b/internal/cli/alerts/settings/fields.go index 327557015f..b33d35284f 100644 --- a/internal/cli/alerts/settings/fields.go +++ b/internal/cli/alerts/settings/fields.go @@ -15,7 +15,7 @@ package settings import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/alerts/settings/fields_type.go b/internal/cli/alerts/settings/fields_type.go index d9fd29897f..394e3e127e 100644 --- a/internal/cli/alerts/settings/fields_type.go +++ b/internal/cli/alerts/settings/fields_type.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/alerts/settings/fields_type_test.go b/internal/cli/alerts/settings/fields_type_test.go index be0ffdf689..55c7439bfe 100644 --- a/internal/cli/alerts/settings/fields_type_test.go +++ b/internal/cli/alerts/settings/fields_type_test.go @@ -19,9 +19,9 @@ package settings import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestFieldsType_Run(t *testing.T) { diff --git a/internal/cli/alerts/settings/list.go b/internal/cli/alerts/settings/list.go index 0d946021cf..8c2e0b12f2 100644 --- a/internal/cli/alerts/settings/list.go +++ b/internal/cli/alerts/settings/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/settings/list_test.go b/internal/cli/alerts/settings/list_test.go index 15efd4b346..1c17e6c3c9 100644 --- a/internal/cli/alerts/settings/list_test.go +++ b/internal/cli/alerts/settings/list_test.go @@ -21,11 +21,11 @@ import ( "testing" "time" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/settings/settings_test.go b/internal/cli/alerts/settings/settings_test.go index 0cc44f84e9..256d21c9d4 100644 --- a/internal/cli/alerts/settings/settings_test.go +++ b/internal/cli/alerts/settings/settings_test.go @@ -19,7 +19,7 @@ package settings import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/alerts/settings/update.go b/internal/cli/alerts/settings/update.go index 250e3facb6..ab7c3819ea 100644 --- a/internal/cli/alerts/settings/update.go +++ b/internal/cli/alerts/settings/update.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/alerts/settings/update_test.go b/internal/cli/alerts/settings/update_test.go index a59ada54bc..b32b3e85fa 100644 --- a/internal/cli/alerts/settings/update_test.go +++ b/internal/cli/alerts/settings/update_test.go @@ -19,8 +19,8 @@ package settings import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/settings/validator.go b/internal/cli/alerts/settings/validator.go index f084d7a4e4..30ae7abbb0 100644 --- a/internal/cli/alerts/settings/validator.go +++ b/internal/cli/alerts/settings/validator.go @@ -17,7 +17,7 @@ package settings import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" ) func validateConfigOpts(opts *ConfigOpts) error { diff --git a/internal/cli/alerts/unacknowledge.go b/internal/cli/alerts/unacknowledge.go index aa6408c48f..281d4c063f 100644 --- a/internal/cli/alerts/unacknowledge.go +++ b/internal/cli/alerts/unacknowledge.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/alerts/unacknowledge_test.go b/internal/cli/alerts/unacknowledge_test.go index 57bb3fd6e8..52756f7884 100644 --- a/internal/cli/alerts/unacknowledge_test.go +++ b/internal/cli/alerts/unacknowledge_test.go @@ -19,8 +19,8 @@ package alerts import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/atlas_cluster_opts.go b/internal/cli/atlas_cluster_opts.go index 05d5a6aad2..6f2a9826ef 100644 --- a/internal/cli/atlas_cluster_opts.go +++ b/internal/cli/atlas_cluster_opts.go @@ -15,8 +15,8 @@ package cli import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" ) var defaultMongoDBMajorVersion string diff --git a/internal/cli/auditing/auditing_test.go b/internal/cli/auditing/auditing_test.go index a601dae662..88bab54476 100644 --- a/internal/cli/auditing/auditing_test.go +++ b/internal/cli/auditing/auditing_test.go @@ -19,7 +19,7 @@ package auditing import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/auditing/describe.go b/internal/cli/auditing/describe.go index c6ab3ba4f5..12ef223f47 100644 --- a/internal/cli/auditing/describe.go +++ b/internal/cli/auditing/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/auditing/describe_test.go b/internal/cli/auditing/describe_test.go index 447072622a..c08eef5517 100644 --- a/internal/cli/auditing/describe_test.go +++ b/internal/cli/auditing/describe_test.go @@ -20,9 +20,9 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/auth/login.go b/internal/cli/auth/login.go index 247c206596..ffe03dc40a 100644 --- a/internal/cli/auth/login.go +++ b/internal/cli/auth/login.go @@ -21,20 +21,20 @@ import ( "time" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prerun" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prerun" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/pkg/browser" "github.com/spf13/cobra" "go.mongodb.org/atlas/auth" ) -//go:generate mockgen -destination=../../mocks/mock_login.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/auth LoginConfig +//go:generate mockgen -destination=../../mocks/mock_login.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/auth LoginConfig type LoginConfig interface { config.SetSaver diff --git a/internal/cli/auth/login_test.go b/internal/cli/auth/login_test.go index 2fd8a2d545..ed37fb8b4d 100644 --- a/internal/cli/auth/login_test.go +++ b/internal/cli/auth/login_test.go @@ -24,10 +24,10 @@ import ( "testing" "github.com/AlecAivazis/survey/v2" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/auth/logout.go b/internal/cli/auth/logout.go index ee120096bf..d1dffa21fe 100644 --- a/internal/cli/auth/logout.go +++ b/internal/cli/auth/logout.go @@ -18,17 +18,17 @@ import ( "context" "io" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/oauth" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/oauth" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../../mocks/mock_logout.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/auth Revoker,ConfigDeleter +//go:generate mockgen -destination=../../mocks/mock_logout.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/auth Revoker,ConfigDeleter type ConfigDeleter interface { Delete() error diff --git a/internal/cli/auth/logout_test.go b/internal/cli/auth/logout_test.go index 21922068de..37380d4c2b 100644 --- a/internal/cli/auth/logout_test.go +++ b/internal/cli/auth/logout_test.go @@ -21,11 +21,11 @@ import ( "context" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/auth/register.go b/internal/cli/auth/register.go index 2716c888bf..94046cecff 100644 --- a/internal/cli/auth/register.go +++ b/internal/cli/auth/register.go @@ -18,10 +18,10 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prerun" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prerun" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" atlasauth "go.mongodb.org/atlas/auth" ) diff --git a/internal/cli/auth/register_test.go b/internal/cli/auth/register_test.go index 2379d97d07..6f33509ab5 100644 --- a/internal/cli/auth/register_test.go +++ b/internal/cli/auth/register_test.go @@ -21,10 +21,10 @@ import ( "context" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/auth/whoami.go b/internal/cli/auth/whoami.go index 372475c818..8109460f66 100644 --- a/internal/cli/auth/whoami.go +++ b/internal/cli/auth/whoami.go @@ -19,8 +19,8 @@ import ( "fmt" "io" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" "github.com/spf13/cobra" ) diff --git a/internal/cli/auth/whoami_test.go b/internal/cli/auth/whoami_test.go index 7f5363b82c..9f0b0f68a6 100644 --- a/internal/cli/auth/whoami_test.go +++ b/internal/cli/auth/whoami_test.go @@ -20,7 +20,7 @@ import ( "bytes" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/backup/backup.go b/internal/cli/backup/backup.go index d2dd112859..e084e04740 100644 --- a/internal/cli/backup/backup.go +++ b/internal/cli/backup/backup.go @@ -15,12 +15,12 @@ package backup import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup/exports" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup/restores" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup/schedule" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup/snapshots" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup/exports" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup/restores" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup/schedule" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup/snapshots" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/backup_test.go b/internal/cli/backup/backup_test.go index 51745fe883..87925a7c33 100644 --- a/internal/cli/backup/backup_test.go +++ b/internal/cli/backup/backup_test.go @@ -19,7 +19,7 @@ package backup import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/compliancepolicy/compliancepolicy.go b/internal/cli/backup/compliancepolicy/compliancepolicy.go index 251afe01d6..90e4f6986c 100644 --- a/internal/cli/backup/compliancepolicy/compliancepolicy.go +++ b/internal/cli/backup/compliancepolicy/compliancepolicy.go @@ -15,11 +15,11 @@ package compliancepolicy import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy/copyprotection" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy/encryptionatrest" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy/pointintimerestore" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy/policies" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy/copyprotection" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy/encryptionatrest" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy/pointintimerestore" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy/policies" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/compliancepolicy/compliancepolicy_test.go b/internal/cli/backup/compliancepolicy/compliancepolicy_test.go index bea15caa86..fad1385d96 100644 --- a/internal/cli/backup/compliancepolicy/compliancepolicy_test.go +++ b/internal/cli/backup/compliancepolicy/compliancepolicy_test.go @@ -19,7 +19,7 @@ package compliancepolicy import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/compliancepolicy/copyprotection/copyprotection.go b/internal/cli/backup/compliancepolicy/copyprotection/copyprotection.go index 1d39c74ff7..bf6f73bbc4 100644 --- a/internal/cli/backup/compliancepolicy/copyprotection/copyprotection.go +++ b/internal/cli/backup/compliancepolicy/copyprotection/copyprotection.go @@ -15,7 +15,7 @@ package copyprotection import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/compliancepolicy/copyprotection/copyprotection_test.go b/internal/cli/backup/compliancepolicy/copyprotection/copyprotection_test.go index 66dce1a0fa..6b1f079d73 100644 --- a/internal/cli/backup/compliancepolicy/copyprotection/copyprotection_test.go +++ b/internal/cli/backup/compliancepolicy/copyprotection/copyprotection_test.go @@ -19,7 +19,7 @@ package copyprotection import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/compliancepolicy/copyprotection/disable.go b/internal/cli/backup/compliancepolicy/copyprotection/disable.go index 0f5297b43f..bc6a30585a 100644 --- a/internal/cli/backup/compliancepolicy/copyprotection/disable.go +++ b/internal/cli/backup/compliancepolicy/copyprotection/disable.go @@ -19,12 +19,12 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/copyprotection/disable_test.go b/internal/cli/backup/compliancepolicy/copyprotection/disable_test.go index c3c7b7d1c9..24b3c4a8a8 100644 --- a/internal/cli/backup/compliancepolicy/copyprotection/disable_test.go +++ b/internal/cli/backup/compliancepolicy/copyprotection/disable_test.go @@ -19,11 +19,11 @@ package copyprotection import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/backup/compliancepolicy/copyprotection/enable.go b/internal/cli/backup/compliancepolicy/copyprotection/enable.go index 96141afad9..bac9d3ba80 100644 --- a/internal/cli/backup/compliancepolicy/copyprotection/enable.go +++ b/internal/cli/backup/compliancepolicy/copyprotection/enable.go @@ -19,12 +19,12 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/copyprotection/enable_test.go b/internal/cli/backup/compliancepolicy/copyprotection/enable_test.go index 869901644b..8eaaeed6a9 100644 --- a/internal/cli/backup/compliancepolicy/copyprotection/enable_test.go +++ b/internal/cli/backup/compliancepolicy/copyprotection/enable_test.go @@ -19,11 +19,11 @@ package copyprotection import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/backup/compliancepolicy/describe.go b/internal/cli/backup/compliancepolicy/describe.go index 863a4e2cab..85c38f48f6 100644 --- a/internal/cli/backup/compliancepolicy/describe.go +++ b/internal/cli/backup/compliancepolicy/describe.go @@ -17,11 +17,11 @@ package compliancepolicy import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/compliancepolicy/describe_test.go b/internal/cli/backup/compliancepolicy/describe_test.go index 285489b370..4059807413 100644 --- a/internal/cli/backup/compliancepolicy/describe_test.go +++ b/internal/cli/backup/compliancepolicy/describe_test.go @@ -19,10 +19,10 @@ package compliancepolicy import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/enable.go b/internal/cli/backup/compliancepolicy/enable.go index 619177a29e..47320f1dfb 100644 --- a/internal/cli/backup/compliancepolicy/enable.go +++ b/internal/cli/backup/compliancepolicy/enable.go @@ -21,12 +21,12 @@ import ( "net/mail" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/enable_test.go b/internal/cli/backup/compliancepolicy/enable_test.go index 220a78b292..25f4bf4709 100644 --- a/internal/cli/backup/compliancepolicy/enable_test.go +++ b/internal/cli/backup/compliancepolicy/enable_test.go @@ -19,10 +19,10 @@ package compliancepolicy import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/backup/compliancepolicy/encryptionatrest/disable.go b/internal/cli/backup/compliancepolicy/encryptionatrest/disable.go index 79b310c771..3fa5975b5b 100644 --- a/internal/cli/backup/compliancepolicy/encryptionatrest/disable.go +++ b/internal/cli/backup/compliancepolicy/encryptionatrest/disable.go @@ -19,12 +19,12 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/encryptionatrest/disable_test.go b/internal/cli/backup/compliancepolicy/encryptionatrest/disable_test.go index 68b7b676bd..7c3563d6f1 100644 --- a/internal/cli/backup/compliancepolicy/encryptionatrest/disable_test.go +++ b/internal/cli/backup/compliancepolicy/encryptionatrest/disable_test.go @@ -19,11 +19,11 @@ package encryptionatrest import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/backup/compliancepolicy/encryptionatrest/enable.go b/internal/cli/backup/compliancepolicy/encryptionatrest/enable.go index 96fdebc537..8995c45af5 100644 --- a/internal/cli/backup/compliancepolicy/encryptionatrest/enable.go +++ b/internal/cli/backup/compliancepolicy/encryptionatrest/enable.go @@ -19,12 +19,12 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/encryptionatrest/enable_test.go b/internal/cli/backup/compliancepolicy/encryptionatrest/enable_test.go index 20cee5e79b..275bc01209 100644 --- a/internal/cli/backup/compliancepolicy/encryptionatrest/enable_test.go +++ b/internal/cli/backup/compliancepolicy/encryptionatrest/enable_test.go @@ -19,11 +19,11 @@ package encryptionatrest import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/backup/compliancepolicy/encryptionatrest/encryptionatrest.go b/internal/cli/backup/compliancepolicy/encryptionatrest/encryptionatrest.go index 419a704019..a4d2078b27 100644 --- a/internal/cli/backup/compliancepolicy/encryptionatrest/encryptionatrest.go +++ b/internal/cli/backup/compliancepolicy/encryptionatrest/encryptionatrest.go @@ -15,7 +15,7 @@ package encryptionatrest import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/compliancepolicy/encryptionatrest/encryptionatrest_test.go b/internal/cli/backup/compliancepolicy/encryptionatrest/encryptionatrest_test.go index f374197266..bc30b81085 100644 --- a/internal/cli/backup/compliancepolicy/encryptionatrest/encryptionatrest_test.go +++ b/internal/cli/backup/compliancepolicy/encryptionatrest/encryptionatrest_test.go @@ -19,7 +19,7 @@ package encryptionatrest import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/compliancepolicy/pointintimerestore/enable.go b/internal/cli/backup/compliancepolicy/pointintimerestore/enable.go index a59719d36d..31e5cee6b9 100644 --- a/internal/cli/backup/compliancepolicy/pointintimerestore/enable.go +++ b/internal/cli/backup/compliancepolicy/pointintimerestore/enable.go @@ -19,12 +19,12 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/pointintimerestore/enable_test.go b/internal/cli/backup/compliancepolicy/pointintimerestore/enable_test.go index 245cc0f067..7b7c1010f8 100644 --- a/internal/cli/backup/compliancepolicy/pointintimerestore/enable_test.go +++ b/internal/cli/backup/compliancepolicy/pointintimerestore/enable_test.go @@ -19,11 +19,11 @@ package pointintimerestore import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/backup/compliancepolicy/pointintimerestore/pointintimerestore.go b/internal/cli/backup/compliancepolicy/pointintimerestore/pointintimerestore.go index a4d2559172..cb003a21ef 100644 --- a/internal/cli/backup/compliancepolicy/pointintimerestore/pointintimerestore.go +++ b/internal/cli/backup/compliancepolicy/pointintimerestore/pointintimerestore.go @@ -15,7 +15,7 @@ package pointintimerestore import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/compliancepolicy/pointintimerestore/pointintimerestore_test.go b/internal/cli/backup/compliancepolicy/pointintimerestore/pointintimerestore_test.go index ea9c7293d7..dd3b92f32b 100644 --- a/internal/cli/backup/compliancepolicy/pointintimerestore/pointintimerestore_test.go +++ b/internal/cli/backup/compliancepolicy/pointintimerestore/pointintimerestore_test.go @@ -19,7 +19,7 @@ package pointintimerestore import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/compliancepolicy/policies/describe.go b/internal/cli/backup/compliancepolicy/policies/describe.go index c4e4f52c14..039e7db514 100644 --- a/internal/cli/backup/compliancepolicy/policies/describe.go +++ b/internal/cli/backup/compliancepolicy/policies/describe.go @@ -17,11 +17,11 @@ package policies import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/compliancepolicy/policies/describe_test.go b/internal/cli/backup/compliancepolicy/policies/describe_test.go index c62ee58567..9e62ca8ca1 100644 --- a/internal/cli/backup/compliancepolicy/policies/describe_test.go +++ b/internal/cli/backup/compliancepolicy/policies/describe_test.go @@ -17,10 +17,10 @@ package policies import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/policies/ondemand/create.go b/internal/cli/backup/compliancepolicy/policies/ondemand/create.go index f5074056d1..2539a1aa69 100644 --- a/internal/cli/backup/compliancepolicy/policies/ondemand/create.go +++ b/internal/cli/backup/compliancepolicy/policies/ondemand/create.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/policies/ondemand/create_test.go b/internal/cli/backup/compliancepolicy/policies/ondemand/create_test.go index 9e65330fdb..a4a71da662 100644 --- a/internal/cli/backup/compliancepolicy/policies/ondemand/create_test.go +++ b/internal/cli/backup/compliancepolicy/policies/ondemand/create_test.go @@ -19,10 +19,10 @@ package ondemand import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/policies/ondemand/describe.go b/internal/cli/backup/compliancepolicy/policies/ondemand/describe.go index 2af488744f..5632180e63 100644 --- a/internal/cli/backup/compliancepolicy/policies/ondemand/describe.go +++ b/internal/cli/backup/compliancepolicy/policies/ondemand/describe.go @@ -17,11 +17,11 @@ package ondemand import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/compliancepolicy/policies/ondemand/describe_test.go b/internal/cli/backup/compliancepolicy/policies/ondemand/describe_test.go index ba97691ca6..ddbafc5eae 100644 --- a/internal/cli/backup/compliancepolicy/policies/ondemand/describe_test.go +++ b/internal/cli/backup/compliancepolicy/policies/ondemand/describe_test.go @@ -19,10 +19,10 @@ package ondemand import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/policies/ondemand/ondemand.go b/internal/cli/backup/compliancepolicy/policies/ondemand/ondemand.go index 76939c31be..b3cf22ff73 100644 --- a/internal/cli/backup/compliancepolicy/policies/ondemand/ondemand.go +++ b/internal/cli/backup/compliancepolicy/policies/ondemand/ondemand.go @@ -15,7 +15,7 @@ package ondemand import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/compliancepolicy/policies/ondemand/ondemand_test.go b/internal/cli/backup/compliancepolicy/policies/ondemand/ondemand_test.go index 2ee339292d..33004cd076 100644 --- a/internal/cli/backup/compliancepolicy/policies/ondemand/ondemand_test.go +++ b/internal/cli/backup/compliancepolicy/policies/ondemand/ondemand_test.go @@ -19,7 +19,7 @@ package ondemand import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/compliancepolicy/policies/ondemand/update.go b/internal/cli/backup/compliancepolicy/policies/ondemand/update.go index e4aa8a5733..2340692276 100644 --- a/internal/cli/backup/compliancepolicy/policies/ondemand/update.go +++ b/internal/cli/backup/compliancepolicy/policies/ondemand/update.go @@ -15,8 +15,8 @@ package ondemand import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/compliancepolicy/policies/ondemand/update_test.go b/internal/cli/backup/compliancepolicy/policies/ondemand/update_test.go index b575198e8f..3b4bfe79ad 100644 --- a/internal/cli/backup/compliancepolicy/policies/ondemand/update_test.go +++ b/internal/cli/backup/compliancepolicy/policies/ondemand/update_test.go @@ -19,8 +19,8 @@ package ondemand import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestUpdateBuilder(t *testing.T) { diff --git a/internal/cli/backup/compliancepolicy/policies/policies.go b/internal/cli/backup/compliancepolicy/policies/policies.go index 23ab7c91fd..8fed2fd782 100644 --- a/internal/cli/backup/compliancepolicy/policies/policies.go +++ b/internal/cli/backup/compliancepolicy/policies/policies.go @@ -15,9 +15,9 @@ package policies import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy/policies/ondemand" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy/policies/scheduled" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy/policies/ondemand" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup/compliancepolicy/policies/scheduled" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/compliancepolicy/policies/policies_test.go b/internal/cli/backup/compliancepolicy/policies/policies_test.go index 41c42756ae..4e52fb9c8e 100644 --- a/internal/cli/backup/compliancepolicy/policies/policies_test.go +++ b/internal/cli/backup/compliancepolicy/policies/policies_test.go @@ -19,7 +19,7 @@ package policies import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/compliancepolicy/policies/scheduled/create.go b/internal/cli/backup/compliancepolicy/policies/scheduled/create.go index a850e7faf8..6ce1b400a9 100644 --- a/internal/cli/backup/compliancepolicy/policies/scheduled/create.go +++ b/internal/cli/backup/compliancepolicy/policies/scheduled/create.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/policies/scheduled/create_test.go b/internal/cli/backup/compliancepolicy/policies/scheduled/create_test.go index a863c6cb94..81e6b326dc 100644 --- a/internal/cli/backup/compliancepolicy/policies/scheduled/create_test.go +++ b/internal/cli/backup/compliancepolicy/policies/scheduled/create_test.go @@ -19,10 +19,10 @@ package scheduled import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/policies/scheduled/describe.go b/internal/cli/backup/compliancepolicy/policies/scheduled/describe.go index 5a99eb372b..ed7106e909 100644 --- a/internal/cli/backup/compliancepolicy/policies/scheduled/describe.go +++ b/internal/cli/backup/compliancepolicy/policies/scheduled/describe.go @@ -17,11 +17,11 @@ package scheduled import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/compliancepolicy/policies/scheduled/describe_test.go b/internal/cli/backup/compliancepolicy/policies/scheduled/describe_test.go index 20933b36f6..fc0c25a4f1 100644 --- a/internal/cli/backup/compliancepolicy/policies/scheduled/describe_test.go +++ b/internal/cli/backup/compliancepolicy/policies/scheduled/describe_test.go @@ -19,10 +19,10 @@ package scheduled import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/compliancepolicy/policies/scheduled/scheduled.go b/internal/cli/backup/compliancepolicy/policies/scheduled/scheduled.go index 3d1ff90a29..9bc520ad3d 100644 --- a/internal/cli/backup/compliancepolicy/policies/scheduled/scheduled.go +++ b/internal/cli/backup/compliancepolicy/policies/scheduled/scheduled.go @@ -15,7 +15,7 @@ package scheduled import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/compliancepolicy/policies/scheduled/scheduled_test.go b/internal/cli/backup/compliancepolicy/policies/scheduled/scheduled_test.go index db3ed9da14..ab51a1c61b 100644 --- a/internal/cli/backup/compliancepolicy/policies/scheduled/scheduled_test.go +++ b/internal/cli/backup/compliancepolicy/policies/scheduled/scheduled_test.go @@ -19,7 +19,7 @@ package scheduled import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/compliancepolicy/setup.go b/internal/cli/backup/compliancepolicy/setup.go index 6c611a9ebc..0d212781b0 100644 --- a/internal/cli/backup/compliancepolicy/setup.go +++ b/internal/cli/backup/compliancepolicy/setup.go @@ -20,13 +20,13 @@ import ( "fmt" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/backup/compliancepolicy/setup_test.go b/internal/cli/backup/compliancepolicy/setup_test.go index a78d87986a..065080a4cb 100644 --- a/internal/cli/backup/compliancepolicy/setup_test.go +++ b/internal/cli/backup/compliancepolicy/setup_test.go @@ -19,11 +19,11 @@ package compliancepolicy import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/backup/exports/buckets/buckets.go b/internal/cli/backup/exports/buckets/buckets.go index e32601ea25..a6bed1c2c2 100644 --- a/internal/cli/backup/exports/buckets/buckets.go +++ b/internal/cli/backup/exports/buckets/buckets.go @@ -15,7 +15,7 @@ package buckets import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/exports/buckets/buckets_test.go b/internal/cli/backup/exports/buckets/buckets_test.go index 4f4f7e71ee..fd2e61996d 100644 --- a/internal/cli/backup/exports/buckets/buckets_test.go +++ b/internal/cli/backup/exports/buckets/buckets_test.go @@ -19,7 +19,7 @@ package buckets import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/exports/buckets/create.go b/internal/cli/backup/exports/buckets/create.go index 0326f7e7c4..edb11394fb 100644 --- a/internal/cli/backup/exports/buckets/create.go +++ b/internal/cli/backup/exports/buckets/create.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/exports/buckets/create_test.go b/internal/cli/backup/exports/buckets/create_test.go index 8139ed43fa..6d110046fe 100644 --- a/internal/cli/backup/exports/buckets/create_test.go +++ b/internal/cli/backup/exports/buckets/create_test.go @@ -19,10 +19,10 @@ package buckets import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/exports/buckets/delete.go b/internal/cli/backup/exports/buckets/delete.go index 6ca03d051a..310861e3b3 100644 --- a/internal/cli/backup/exports/buckets/delete.go +++ b/internal/cli/backup/exports/buckets/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/exports/buckets/delete_test.go b/internal/cli/backup/exports/buckets/delete_test.go index 41bf982b06..37b7725e2f 100644 --- a/internal/cli/backup/exports/buckets/delete_test.go +++ b/internal/cli/backup/exports/buckets/delete_test.go @@ -19,9 +19,9 @@ package buckets import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/backup/exports/buckets/describe.go b/internal/cli/backup/exports/buckets/describe.go index b5cb08dab4..4b4e30c214 100644 --- a/internal/cli/backup/exports/buckets/describe.go +++ b/internal/cli/backup/exports/buckets/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/exports/buckets/describe_test.go b/internal/cli/backup/exports/buckets/describe_test.go index b4d6d45c42..3ac29e1398 100644 --- a/internal/cli/backup/exports/buckets/describe_test.go +++ b/internal/cli/backup/exports/buckets/describe_test.go @@ -19,9 +19,9 @@ package buckets import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/exports/buckets/list.go b/internal/cli/backup/exports/buckets/list.go index 3f149dbc4d..dfb5b84c3e 100644 --- a/internal/cli/backup/exports/buckets/list.go +++ b/internal/cli/backup/exports/buckets/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/exports/buckets/list_test.go b/internal/cli/backup/exports/buckets/list_test.go index 95f0296ef2..c179125601 100644 --- a/internal/cli/backup/exports/buckets/list_test.go +++ b/internal/cli/backup/exports/buckets/list_test.go @@ -20,12 +20,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/exports/exports.go b/internal/cli/backup/exports/exports.go index 971358a354..b6f45892f7 100644 --- a/internal/cli/backup/exports/exports.go +++ b/internal/cli/backup/exports/exports.go @@ -15,9 +15,9 @@ package exports import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup/exports/buckets" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup/exports/jobs" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup/exports/buckets" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup/exports/jobs" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/exports/exports_test.go b/internal/cli/backup/exports/exports_test.go index df03308144..bd0b1d2ce0 100644 --- a/internal/cli/backup/exports/exports_test.go +++ b/internal/cli/backup/exports/exports_test.go @@ -19,7 +19,7 @@ package exports import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/exports/jobs/create.go b/internal/cli/backup/exports/jobs/create.go index 193bff5ac6..5f5a2d05a7 100644 --- a/internal/cli/backup/exports/jobs/create.go +++ b/internal/cli/backup/exports/jobs/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/exports/jobs/create_test.go b/internal/cli/backup/exports/jobs/create_test.go index 043b5e8029..56fcc09a08 100644 --- a/internal/cli/backup/exports/jobs/create_test.go +++ b/internal/cli/backup/exports/jobs/create_test.go @@ -19,10 +19,10 @@ package jobs import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/exports/jobs/describe.go b/internal/cli/backup/exports/jobs/describe.go index 21c00440e5..202591594a 100644 --- a/internal/cli/backup/exports/jobs/describe.go +++ b/internal/cli/backup/exports/jobs/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/exports/jobs/describe_test.go b/internal/cli/backup/exports/jobs/describe_test.go index 41158c82fa..5e6ac7fc3a 100644 --- a/internal/cli/backup/exports/jobs/describe_test.go +++ b/internal/cli/backup/exports/jobs/describe_test.go @@ -19,10 +19,10 @@ package jobs import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/exports/jobs/jobs.go b/internal/cli/backup/exports/jobs/jobs.go index a64fd337d5..0ec184e190 100644 --- a/internal/cli/backup/exports/jobs/jobs.go +++ b/internal/cli/backup/exports/jobs/jobs.go @@ -15,7 +15,7 @@ package jobs import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/exports/jobs/jobs_test.go b/internal/cli/backup/exports/jobs/jobs_test.go index 213f757687..1255a2c278 100644 --- a/internal/cli/backup/exports/jobs/jobs_test.go +++ b/internal/cli/backup/exports/jobs/jobs_test.go @@ -19,7 +19,7 @@ package jobs import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/exports/jobs/list.go b/internal/cli/backup/exports/jobs/list.go index 4f10effb9e..ffa995f871 100644 --- a/internal/cli/backup/exports/jobs/list.go +++ b/internal/cli/backup/exports/jobs/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/exports/jobs/list_test.go b/internal/cli/backup/exports/jobs/list_test.go index c71680367f..750c9aa782 100644 --- a/internal/cli/backup/exports/jobs/list_test.go +++ b/internal/cli/backup/exports/jobs/list_test.go @@ -19,10 +19,10 @@ package jobs import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/exports/jobs/watch.go b/internal/cli/backup/exports/jobs/watch.go index 000f8012a1..07cf96a5d5 100644 --- a/internal/cli/backup/exports/jobs/watch.go +++ b/internal/cli/backup/exports/jobs/watch.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/exports/jobs/watch_test.go b/internal/cli/backup/exports/jobs/watch_test.go index d0dfac2bec..120917a194 100644 --- a/internal/cli/backup/exports/jobs/watch_test.go +++ b/internal/cli/backup/exports/jobs/watch_test.go @@ -19,11 +19,11 @@ package jobs import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/restores/describe.go b/internal/cli/backup/restores/describe.go index fd2a3b14a6..e99d2af7ba 100644 --- a/internal/cli/backup/restores/describe.go +++ b/internal/cli/backup/restores/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/restores/describe_test.go b/internal/cli/backup/restores/describe_test.go index ebdf68301e..baff8d0c9f 100644 --- a/internal/cli/backup/restores/describe_test.go +++ b/internal/cli/backup/restores/describe_test.go @@ -19,11 +19,11 @@ package restores import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/restores/list.go b/internal/cli/backup/restores/list.go index 1b85b09e2b..24d017753d 100644 --- a/internal/cli/backup/restores/list.go +++ b/internal/cli/backup/restores/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/restores/list_test.go b/internal/cli/backup/restores/list_test.go index 09114141ed..541c87d2c7 100644 --- a/internal/cli/backup/restores/list_test.go +++ b/internal/cli/backup/restores/list_test.go @@ -19,10 +19,10 @@ package restores import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/restores/restores.go b/internal/cli/backup/restores/restores.go index 730ab072aa..48db55f199 100644 --- a/internal/cli/backup/restores/restores.go +++ b/internal/cli/backup/restores/restores.go @@ -15,7 +15,7 @@ package restores import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/restores/restores_test.go b/internal/cli/backup/restores/restores_test.go index 0333d814ea..576ebe4cbb 100644 --- a/internal/cli/backup/restores/restores_test.go +++ b/internal/cli/backup/restores/restores_test.go @@ -19,7 +19,7 @@ package restores import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/restores/start.go b/internal/cli/backup/restores/start.go index f7993fbfd9..30ad372cc9 100644 --- a/internal/cli/backup/restores/start.go +++ b/internal/cli/backup/restores/start.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/restores/start_test.go b/internal/cli/backup/restores/start_test.go index c53a11a57b..8e93909d38 100644 --- a/internal/cli/backup/restores/start_test.go +++ b/internal/cli/backup/restores/start_test.go @@ -19,10 +19,10 @@ package restores import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/restores/watch.go b/internal/cli/backup/restores/watch.go index 5a4700a5ec..0afdca7937 100644 --- a/internal/cli/backup/restores/watch.go +++ b/internal/cli/backup/restores/watch.go @@ -17,12 +17,12 @@ package restores import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/restores/watch_test.go b/internal/cli/backup/restores/watch_test.go index 12fec566df..2705009f51 100644 --- a/internal/cli/backup/restores/watch_test.go +++ b/internal/cli/backup/restores/watch_test.go @@ -19,11 +19,11 @@ package restores import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/schedule/delete.go b/internal/cli/backup/schedule/delete.go index 9f376678f5..4ec9d5238f 100644 --- a/internal/cli/backup/schedule/delete.go +++ b/internal/cli/backup/schedule/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/schedule/delete_test.go b/internal/cli/backup/schedule/delete_test.go index 26cf7af123..150c13198b 100644 --- a/internal/cli/backup/schedule/delete_test.go +++ b/internal/cli/backup/schedule/delete_test.go @@ -19,9 +19,9 @@ package schedule import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/backup/schedule/describe.go b/internal/cli/backup/schedule/describe.go index d7497129f5..4fb0cbeb29 100644 --- a/internal/cli/backup/schedule/describe.go +++ b/internal/cli/backup/schedule/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/schedule/describe_test.go b/internal/cli/backup/schedule/describe_test.go index 4462155b70..9febb92f3d 100644 --- a/internal/cli/backup/schedule/describe_test.go +++ b/internal/cli/backup/schedule/describe_test.go @@ -19,10 +19,10 @@ package schedule import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/schedule/schedule.go b/internal/cli/backup/schedule/schedule.go index 8b20e6fb18..b67366513b 100644 --- a/internal/cli/backup/schedule/schedule.go +++ b/internal/cli/backup/schedule/schedule.go @@ -15,7 +15,7 @@ package schedule import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/schedule/schedule_test.go b/internal/cli/backup/schedule/schedule_test.go index 8965088b7d..8aa6e62e2a 100644 --- a/internal/cli/backup/schedule/schedule_test.go +++ b/internal/cli/backup/schedule/schedule_test.go @@ -19,7 +19,7 @@ package schedule import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/schedule/update.go b/internal/cli/backup/schedule/update.go index c3e53b3294..e6cd73f3df 100644 --- a/internal/cli/backup/schedule/update.go +++ b/internal/cli/backup/schedule/update.go @@ -22,12 +22,12 @@ import ( "strconv" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/backup/schedule/update_test.go b/internal/cli/backup/schedule/update_test.go index 5830139663..ad218309fd 100644 --- a/internal/cli/backup/schedule/update_test.go +++ b/internal/cli/backup/schedule/update_test.go @@ -19,12 +19,12 @@ package schedule import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" diff --git a/internal/cli/backup/snapshots/create.go b/internal/cli/backup/snapshots/create.go index a783c7ace2..208f1f49d1 100644 --- a/internal/cli/backup/snapshots/create.go +++ b/internal/cli/backup/snapshots/create.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/snapshots/create_test.go b/internal/cli/backup/snapshots/create_test.go index 3b8523a443..5ea025ff08 100644 --- a/internal/cli/backup/snapshots/create_test.go +++ b/internal/cli/backup/snapshots/create_test.go @@ -20,10 +20,10 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/snapshots/delete.go b/internal/cli/backup/snapshots/delete.go index acef67bbd7..816c4f8c76 100644 --- a/internal/cli/backup/snapshots/delete.go +++ b/internal/cli/backup/snapshots/delete.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/snapshots/delete_test.go b/internal/cli/backup/snapshots/delete_test.go index c5980ea891..840c2d174d 100644 --- a/internal/cli/backup/snapshots/delete_test.go +++ b/internal/cli/backup/snapshots/delete_test.go @@ -19,9 +19,9 @@ package snapshots import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/backup/snapshots/describe.go b/internal/cli/backup/snapshots/describe.go index 21afc2896b..6e447a8698 100644 --- a/internal/cli/backup/snapshots/describe.go +++ b/internal/cli/backup/snapshots/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/snapshots/describe_test.go b/internal/cli/backup/snapshots/describe_test.go index c480dc861a..94011bfb7c 100644 --- a/internal/cli/backup/snapshots/describe_test.go +++ b/internal/cli/backup/snapshots/describe_test.go @@ -19,9 +19,9 @@ package snapshots import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/snapshots/list.go b/internal/cli/backup/snapshots/list.go index 051ece5d15..8320747e53 100644 --- a/internal/cli/backup/snapshots/list.go +++ b/internal/cli/backup/snapshots/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/snapshots/list_test.go b/internal/cli/backup/snapshots/list_test.go index 0039dbd6e1..4b09dfe5ca 100644 --- a/internal/cli/backup/snapshots/list_test.go +++ b/internal/cli/backup/snapshots/list_test.go @@ -20,12 +20,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/backup/snapshots/snapshots.go b/internal/cli/backup/snapshots/snapshots.go index 41dd211e27..ae5122ae57 100644 --- a/internal/cli/backup/snapshots/snapshots.go +++ b/internal/cli/backup/snapshots/snapshots.go @@ -15,7 +15,7 @@ package snapshots import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/snapshots/snapshots_test.go b/internal/cli/backup/snapshots/snapshots_test.go index e9ac58c165..6e077919ba 100644 --- a/internal/cli/backup/snapshots/snapshots_test.go +++ b/internal/cli/backup/snapshots/snapshots_test.go @@ -19,7 +19,7 @@ package snapshots import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/backup/snapshots/watch.go b/internal/cli/backup/snapshots/watch.go index 83027efdb3..63fc005fab 100644 --- a/internal/cli/backup/snapshots/watch.go +++ b/internal/cli/backup/snapshots/watch.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/backup/snapshots/watch_test.go b/internal/cli/backup/snapshots/watch_test.go index 794f71084e..70df1b30f4 100644 --- a/internal/cli/backup/snapshots/watch_test.go +++ b/internal/cli/backup/snapshots/watch_test.go @@ -19,9 +19,9 @@ package snapshots import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/cloudproviders/accessroles/access_roles.go b/internal/cli/cloudproviders/accessroles/access_roles.go index 2e027d51bf..fe04352c09 100644 --- a/internal/cli/cloudproviders/accessroles/access_roles.go +++ b/internal/cli/cloudproviders/accessroles/access_roles.go @@ -15,8 +15,8 @@ package accessroles import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/cloudproviders/accessroles/aws" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/cloudproviders/accessroles/aws" "github.com/spf13/cobra" ) diff --git a/internal/cli/cloudproviders/accessroles/access_roles_test.go b/internal/cli/cloudproviders/accessroles/access_roles_test.go index 4a1b3c7a28..829ae96b75 100644 --- a/internal/cli/cloudproviders/accessroles/access_roles_test.go +++ b/internal/cli/cloudproviders/accessroles/access_roles_test.go @@ -19,7 +19,7 @@ package accessroles import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/cloudproviders/accessroles/aws/authorize.go b/internal/cli/cloudproviders/accessroles/aws/authorize.go index 22397d2852..587dd9dfa6 100644 --- a/internal/cli/cloudproviders/accessroles/aws/authorize.go +++ b/internal/cli/cloudproviders/accessroles/aws/authorize.go @@ -17,12 +17,12 @@ package aws import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlas "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/cloudproviders/accessroles/aws/authorize_test.go b/internal/cli/cloudproviders/accessroles/aws/authorize_test.go index b44e8796b8..79ed8f0569 100644 --- a/internal/cli/cloudproviders/accessroles/aws/authorize_test.go +++ b/internal/cli/cloudproviders/accessroles/aws/authorize_test.go @@ -19,10 +19,10 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/cloudproviders/accessroles/aws/aws_test.go b/internal/cli/cloudproviders/accessroles/aws/aws_test.go index d659552929..bd9d024c9e 100644 --- a/internal/cli/cloudproviders/accessroles/aws/aws_test.go +++ b/internal/cli/cloudproviders/accessroles/aws/aws_test.go @@ -19,7 +19,7 @@ package aws import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/cloudproviders/accessroles/aws/create.go b/internal/cli/cloudproviders/accessroles/aws/create.go index c845d87fcd..2bf16513de 100644 --- a/internal/cli/cloudproviders/accessroles/aws/create.go +++ b/internal/cli/cloudproviders/accessroles/aws/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/cloudproviders/accessroles/aws/create_test.go b/internal/cli/cloudproviders/accessroles/aws/create_test.go index acc6534ce0..1417f67ee3 100644 --- a/internal/cli/cloudproviders/accessroles/aws/create_test.go +++ b/internal/cli/cloudproviders/accessroles/aws/create_test.go @@ -19,10 +19,10 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/cloudproviders/accessroles/aws/deauthorize.go b/internal/cli/cloudproviders/accessroles/aws/deauthorize.go index a084762f5b..5dbb2df1fa 100644 --- a/internal/cli/cloudproviders/accessroles/aws/deauthorize.go +++ b/internal/cli/cloudproviders/accessroles/aws/deauthorize.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlas "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/cloudproviders/accessroles/aws/deauthorize_test.go b/internal/cli/cloudproviders/accessroles/aws/deauthorize_test.go index 7b2c6e4e18..5d04cf7078 100644 --- a/internal/cli/cloudproviders/accessroles/aws/deauthorize_test.go +++ b/internal/cli/cloudproviders/accessroles/aws/deauthorize_test.go @@ -19,11 +19,11 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/cloudproviders/accessroles/list.go b/internal/cli/cloudproviders/accessroles/list.go index 51a5472001..9c93c9fc29 100644 --- a/internal/cli/cloudproviders/accessroles/list.go +++ b/internal/cli/cloudproviders/accessroles/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/cloudproviders/accessroles/list_test.go b/internal/cli/cloudproviders/accessroles/list_test.go index a1e16f50af..612daf1fa4 100644 --- a/internal/cli/cloudproviders/accessroles/list_test.go +++ b/internal/cli/cloudproviders/accessroles/list_test.go @@ -20,12 +20,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/cloudproviders/cloud_providers.go b/internal/cli/cloudproviders/cloud_providers.go index 9d167fb081..5504f6a20e 100644 --- a/internal/cli/cloudproviders/cloud_providers.go +++ b/internal/cli/cloudproviders/cloud_providers.go @@ -15,8 +15,8 @@ package cloudproviders import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/cloudproviders/accessroles" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/cloudproviders/accessroles" "github.com/spf13/cobra" ) diff --git a/internal/cli/cloudproviders/cloud_providers_test.go b/internal/cli/cloudproviders/cloud_providers_test.go index ae4986214d..b2f26b85c1 100644 --- a/internal/cli/cloudproviders/cloud_providers_test.go +++ b/internal/cli/cloudproviders/cloud_providers_test.go @@ -19,7 +19,7 @@ package cloudproviders import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/clusters/advancedsettings/advanced_settings.go b/internal/cli/clusters/advancedsettings/advanced_settings.go index 67bc209a48..51cd1c73a1 100644 --- a/internal/cli/clusters/advancedsettings/advanced_settings.go +++ b/internal/cli/clusters/advancedsettings/advanced_settings.go @@ -15,7 +15,7 @@ package advancedsettings import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/advancedsettings/advanced_settings_test.go b/internal/cli/clusters/advancedsettings/advanced_settings_test.go index 894ab0c682..ca49f0cbf4 100644 --- a/internal/cli/clusters/advancedsettings/advanced_settings_test.go +++ b/internal/cli/clusters/advancedsettings/advanced_settings_test.go @@ -19,7 +19,7 @@ package advancedsettings import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/clusters/advancedsettings/describe.go b/internal/cli/clusters/advancedsettings/describe.go index 31dfa176aa..715861c97e 100644 --- a/internal/cli/clusters/advancedsettings/describe.go +++ b/internal/cli/clusters/advancedsettings/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/advancedsettings/describe_test.go b/internal/cli/clusters/advancedsettings/describe_test.go index b6ec2c2c81..07f4a1a8eb 100644 --- a/internal/cli/clusters/advancedsettings/describe_test.go +++ b/internal/cli/clusters/advancedsettings/describe_test.go @@ -19,10 +19,10 @@ package advancedsettings import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/advancedsettings/update.go b/internal/cli/clusters/advancedsettings/update.go index b7b11aa574..a18d9493e8 100644 --- a/internal/cli/clusters/advancedsettings/update.go +++ b/internal/cli/clusters/advancedsettings/update.go @@ -17,13 +17,13 @@ package advancedsettings import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/advancedsettings/update_test.go b/internal/cli/clusters/advancedsettings/update_test.go index 8ce7a04376..558d60855f 100644 --- a/internal/cli/clusters/advancedsettings/update_test.go +++ b/internal/cli/clusters/advancedsettings/update_test.go @@ -19,11 +19,11 @@ package advancedsettings import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/availableregions/available_regions.go b/internal/cli/clusters/availableregions/available_regions.go index bd3fbb195b..b80d0d595e 100644 --- a/internal/cli/clusters/availableregions/available_regions.go +++ b/internal/cli/clusters/availableregions/available_regions.go @@ -15,7 +15,7 @@ package availableregions import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/availableregions/available_regions_test.go b/internal/cli/clusters/availableregions/available_regions_test.go index 66fbb254fa..411799ddb0 100644 --- a/internal/cli/clusters/availableregions/available_regions_test.go +++ b/internal/cli/clusters/availableregions/available_regions_test.go @@ -19,7 +19,7 @@ package availableregions import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/clusters/availableregions/list.go b/internal/cli/clusters/availableregions/list.go index e729aacab5..8955523651 100644 --- a/internal/cli/clusters/availableregions/list.go +++ b/internal/cli/clusters/availableregions/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/availableregions/list_test.go b/internal/cli/clusters/availableregions/list_test.go index e6c80fd706..b7495955fc 100644 --- a/internal/cli/clusters/availableregions/list_test.go +++ b/internal/cli/clusters/availableregions/list_test.go @@ -19,10 +19,10 @@ package availableregions import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/clusters.go b/internal/cli/clusters/clusters.go index 5fb1574d57..67ed7778ad 100644 --- a/internal/cli/clusters/clusters.go +++ b/internal/cli/clusters/clusters.go @@ -15,14 +15,14 @@ package clusters import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/clusters/advancedsettings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/clusters/availableregions" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/clusters/connectionstring" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/clusters/indexes" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/clusters/onlinearchive" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/clusters/sampledata" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/clusters/advancedsettings" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/clusters/availableregions" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/clusters/connectionstring" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/clusters/indexes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/clusters/onlinearchive" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/clusters/sampledata" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/search" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" atlas "go.mongodb.org/atlas/mongodbatlas" diff --git a/internal/cli/clusters/clusters_test.go b/internal/cli/clusters/clusters_test.go index f3c4b8e97b..fa6e4b9254 100644 --- a/internal/cli/clusters/clusters_test.go +++ b/internal/cli/clusters/clusters_test.go @@ -20,8 +20,8 @@ import ( "testing" "time" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/go-test/deep" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/connectionstring/connection_string.go b/internal/cli/clusters/connectionstring/connection_string.go index 3d49bf93ec..b41fdb6811 100644 --- a/internal/cli/clusters/connectionstring/connection_string.go +++ b/internal/cli/clusters/connectionstring/connection_string.go @@ -15,7 +15,7 @@ package connectionstring import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/connectionstring/connection_string_test.go b/internal/cli/clusters/connectionstring/connection_string_test.go index 722e3d466e..403f6b2f4b 100644 --- a/internal/cli/clusters/connectionstring/connection_string_test.go +++ b/internal/cli/clusters/connectionstring/connection_string_test.go @@ -19,7 +19,7 @@ package connectionstring import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/clusters/connectionstring/describe.go b/internal/cli/clusters/connectionstring/describe.go index c683669e05..229b26b5b4 100644 --- a/internal/cli/clusters/connectionstring/describe.go +++ b/internal/cli/clusters/connectionstring/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/connectionstring/describe_test.go b/internal/cli/clusters/connectionstring/describe_test.go index 0f449a6451..4f2bb31b6a 100644 --- a/internal/cli/clusters/connectionstring/describe_test.go +++ b/internal/cli/clusters/connectionstring/describe_test.go @@ -19,10 +19,10 @@ package connectionstring import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/create.go b/internal/cli/clusters/create.go index 41483c83f9..c91b1561b7 100644 --- a/internal/cli/clusters/create.go +++ b/internal/cli/clusters/create.go @@ -21,15 +21,15 @@ import ( "strings" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/watchers" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/watchers" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/clusters/create_test.go b/internal/cli/clusters/create_test.go index 72de8c4443..b53b3783b2 100644 --- a/internal/cli/clusters/create_test.go +++ b/internal/cli/clusters/create_test.go @@ -21,12 +21,12 @@ import ( "testing" "time" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/clusters/delete.go b/internal/cli/clusters/delete.go index bd2698f39f..777b8fc692 100644 --- a/internal/cli/clusters/delete.go +++ b/internal/cli/clusters/delete.go @@ -19,13 +19,13 @@ import ( "fmt" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/watchers" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/watchers" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/delete_test.go b/internal/cli/clusters/delete_test.go index 44b222eff0..fbb981c98d 100644 --- a/internal/cli/clusters/delete_test.go +++ b/internal/cli/clusters/delete_test.go @@ -19,11 +19,11 @@ package clusters import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/clusters/describe.go b/internal/cli/clusters/describe.go index c1ee2e9d7d..dadfe31eca 100644 --- a/internal/cli/clusters/describe.go +++ b/internal/cli/clusters/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/describe_test.go b/internal/cli/clusters/describe_test.go index 7b010eee94..32328c957d 100644 --- a/internal/cli/clusters/describe_test.go +++ b/internal/cli/clusters/describe_test.go @@ -19,10 +19,10 @@ package clusters import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/failover.go b/internal/cli/clusters/failover.go index 9055dc89db..cd23eefb49 100644 --- a/internal/cli/clusters/failover.go +++ b/internal/cli/clusters/failover.go @@ -17,12 +17,12 @@ package clusters import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/failover_test.go b/internal/cli/clusters/failover_test.go index 2fa8a20b1c..80da5127e5 100644 --- a/internal/cli/clusters/failover_test.go +++ b/internal/cli/clusters/failover_test.go @@ -19,11 +19,11 @@ package clusters import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestFailoverBuilder(t *testing.T) { diff --git a/internal/cli/clusters/indexes/create.go b/internal/cli/clusters/indexes/create.go index 2f22eb4ac1..d2fe47ef72 100644 --- a/internal/cli/clusters/indexes/create.go +++ b/internal/cli/clusters/indexes/create.go @@ -19,13 +19,13 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/clusters/indexes/create_test.go b/internal/cli/clusters/indexes/create_test.go index a11920ea87..e1871534e8 100644 --- a/internal/cli/clusters/indexes/create_test.go +++ b/internal/cli/clusters/indexes/create_test.go @@ -19,10 +19,10 @@ package indexes import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" ) diff --git a/internal/cli/clusters/indexes/indexes.go b/internal/cli/clusters/indexes/indexes.go index 544d2b85ba..983b1ef8cf 100644 --- a/internal/cli/clusters/indexes/indexes.go +++ b/internal/cli/clusters/indexes/indexes.go @@ -15,7 +15,7 @@ package indexes import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/indexes/indexes_test.go b/internal/cli/clusters/indexes/indexes_test.go index 623d97508e..cf54c9104a 100644 --- a/internal/cli/clusters/indexes/indexes_test.go +++ b/internal/cli/clusters/indexes/indexes_test.go @@ -19,7 +19,7 @@ package indexes import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/clusters/list.go b/internal/cli/clusters/list.go index 7c1477f5c1..f11c6aa120 100644 --- a/internal/cli/clusters/list.go +++ b/internal/cli/clusters/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/list_test.go b/internal/cli/clusters/list_test.go index df806b7344..98bad776e0 100644 --- a/internal/cli/clusters/list_test.go +++ b/internal/cli/clusters/list_test.go @@ -19,11 +19,11 @@ package clusters import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/load_sample_data.go b/internal/cli/clusters/load_sample_data.go index 93980862a0..706416984c 100644 --- a/internal/cli/clusters/load_sample_data.go +++ b/internal/cli/clusters/load_sample_data.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/load_sample_data_test.go b/internal/cli/clusters/load_sample_data_test.go index a95d216e2c..77638d81ad 100644 --- a/internal/cli/clusters/load_sample_data_test.go +++ b/internal/cli/clusters/load_sample_data_test.go @@ -19,10 +19,10 @@ package clusters import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/onlinearchive/create.go b/internal/cli/clusters/onlinearchive/create.go index 5b4425afac..f98656a06d 100644 --- a/internal/cli/clusters/onlinearchive/create.go +++ b/internal/cli/clusters/onlinearchive/create.go @@ -18,14 +18,14 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/clusters/onlinearchive/create_test.go b/internal/cli/clusters/onlinearchive/create_test.go index eb2fd883af..f1d4804c99 100644 --- a/internal/cli/clusters/onlinearchive/create_test.go +++ b/internal/cli/clusters/onlinearchive/create_test.go @@ -19,10 +19,10 @@ package onlinearchive import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/onlinearchive/delete.go b/internal/cli/clusters/onlinearchive/delete.go index 86e6955391..a8762bcbe4 100644 --- a/internal/cli/clusters/onlinearchive/delete.go +++ b/internal/cli/clusters/onlinearchive/delete.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/onlinearchive/delete_test.go b/internal/cli/clusters/onlinearchive/delete_test.go index 79ecee34b7..b3b300674f 100644 --- a/internal/cli/clusters/onlinearchive/delete_test.go +++ b/internal/cli/clusters/onlinearchive/delete_test.go @@ -19,11 +19,11 @@ package onlinearchive import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDeleteBuilder(t *testing.T) { diff --git a/internal/cli/clusters/onlinearchive/describe.go b/internal/cli/clusters/onlinearchive/describe.go index 0bfdd1f87a..4ca0d5b233 100644 --- a/internal/cli/clusters/onlinearchive/describe.go +++ b/internal/cli/clusters/onlinearchive/describe.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/onlinearchive/describe_test.go b/internal/cli/clusters/onlinearchive/describe_test.go index ba2c764a4f..64637ecad5 100644 --- a/internal/cli/clusters/onlinearchive/describe_test.go +++ b/internal/cli/clusters/onlinearchive/describe_test.go @@ -19,11 +19,11 @@ package onlinearchive import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/onlinearchive/list.go b/internal/cli/clusters/onlinearchive/list.go index 8116fdb3fb..14fdf5be07 100644 --- a/internal/cli/clusters/onlinearchive/list.go +++ b/internal/cli/clusters/onlinearchive/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/onlinearchive/list_test.go b/internal/cli/clusters/onlinearchive/list_test.go index 511b2dfff2..2d1e1845d0 100644 --- a/internal/cli/clusters/onlinearchive/list_test.go +++ b/internal/cli/clusters/onlinearchive/list_test.go @@ -19,11 +19,11 @@ package onlinearchive import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/onlinearchive/online_archive.go b/internal/cli/clusters/onlinearchive/online_archive.go index c10c4e3ddd..dcfac1071a 100644 --- a/internal/cli/clusters/onlinearchive/online_archive.go +++ b/internal/cli/clusters/onlinearchive/online_archive.go @@ -15,7 +15,7 @@ package onlinearchive import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/onlinearchive/online_archive_test.go b/internal/cli/clusters/onlinearchive/online_archive_test.go index 43d126e60c..a0bd55747f 100644 --- a/internal/cli/clusters/onlinearchive/online_archive_test.go +++ b/internal/cli/clusters/onlinearchive/online_archive_test.go @@ -19,7 +19,7 @@ package onlinearchive import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/clusters/onlinearchive/pause.go b/internal/cli/clusters/onlinearchive/pause.go index 267be9b290..a3c7fbf98b 100644 --- a/internal/cli/clusters/onlinearchive/pause.go +++ b/internal/cli/clusters/onlinearchive/pause.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/onlinearchive/pause_test.go b/internal/cli/clusters/onlinearchive/pause_test.go index 2c26d33711..9b6cc22c30 100644 --- a/internal/cli/clusters/onlinearchive/pause_test.go +++ b/internal/cli/clusters/onlinearchive/pause_test.go @@ -19,11 +19,11 @@ package onlinearchive import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/onlinearchive/start.go b/internal/cli/clusters/onlinearchive/start.go index 29846f8cfe..a6b841e8ca 100644 --- a/internal/cli/clusters/onlinearchive/start.go +++ b/internal/cli/clusters/onlinearchive/start.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/onlinearchive/start_test.go b/internal/cli/clusters/onlinearchive/start_test.go index 4020d233b7..f71b31d3e7 100644 --- a/internal/cli/clusters/onlinearchive/start_test.go +++ b/internal/cli/clusters/onlinearchive/start_test.go @@ -19,11 +19,11 @@ package onlinearchive import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/onlinearchive/update.go b/internal/cli/clusters/onlinearchive/update.go index 78f8650308..f7a67f6c3d 100644 --- a/internal/cli/clusters/onlinearchive/update.go +++ b/internal/cli/clusters/onlinearchive/update.go @@ -18,14 +18,14 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/clusters/onlinearchive/update_test.go b/internal/cli/clusters/onlinearchive/update_test.go index be5083494c..aa855f15a4 100644 --- a/internal/cli/clusters/onlinearchive/update_test.go +++ b/internal/cli/clusters/onlinearchive/update_test.go @@ -19,10 +19,10 @@ package onlinearchive import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/onlinearchive/watch.go b/internal/cli/clusters/onlinearchive/watch.go index c6e0467d2b..e172da717c 100644 --- a/internal/cli/clusters/onlinearchive/watch.go +++ b/internal/cli/clusters/onlinearchive/watch.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/onlinearchive/watch_test.go b/internal/cli/clusters/onlinearchive/watch_test.go index fa0bf81c0d..a2f39a5855 100644 --- a/internal/cli/clusters/onlinearchive/watch_test.go +++ b/internal/cli/clusters/onlinearchive/watch_test.go @@ -19,11 +19,11 @@ package onlinearchive import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/pause.go b/internal/cli/clusters/pause.go index e59ef0d0ed..993fbd7fdb 100644 --- a/internal/cli/clusters/pause.go +++ b/internal/cli/clusters/pause.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/pause_test.go b/internal/cli/clusters/pause_test.go index cfd4918091..19d0babef2 100644 --- a/internal/cli/clusters/pause_test.go +++ b/internal/cli/clusters/pause_test.go @@ -19,10 +19,10 @@ package clusters import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/region_tier_autocomplete.go b/internal/cli/clusters/region_tier_autocomplete.go index 66b152a47a..98a2b5e280 100644 --- a/internal/cli/clusters/region_tier_autocomplete.go +++ b/internal/cli/clusters/region_tier_autocomplete.go @@ -20,11 +20,11 @@ import ( "sort" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/region_tier_autocomplete_test.go b/internal/cli/clusters/region_tier_autocomplete_test.go index 371851883f..da0c2b6694 100644 --- a/internal/cli/clusters/region_tier_autocomplete_test.go +++ b/internal/cli/clusters/region_tier_autocomplete_test.go @@ -19,9 +19,9 @@ package clusters import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/sampledata/describe.go b/internal/cli/clusters/sampledata/describe.go index c8f3098de7..396f03770e 100644 --- a/internal/cli/clusters/sampledata/describe.go +++ b/internal/cli/clusters/sampledata/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/sampledata/describe_test.go b/internal/cli/clusters/sampledata/describe_test.go index 6d06358ea2..90f4f32fe7 100644 --- a/internal/cli/clusters/sampledata/describe_test.go +++ b/internal/cli/clusters/sampledata/describe_test.go @@ -20,12 +20,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/sampledata/load.go b/internal/cli/clusters/sampledata/load.go index a362e5122c..1bb3abbb87 100644 --- a/internal/cli/clusters/sampledata/load.go +++ b/internal/cli/clusters/sampledata/load.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/sampledata/load_test.go b/internal/cli/clusters/sampledata/load_test.go index d4c6238eb4..9976e63f57 100644 --- a/internal/cli/clusters/sampledata/load_test.go +++ b/internal/cli/clusters/sampledata/load_test.go @@ -19,10 +19,10 @@ package sampledata import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/sampledata/sample_data.go b/internal/cli/clusters/sampledata/sample_data.go index e4702c6b53..9d6d09bc8d 100644 --- a/internal/cli/clusters/sampledata/sample_data.go +++ b/internal/cli/clusters/sampledata/sample_data.go @@ -15,7 +15,7 @@ package sampledata import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/sampledata/sample_data_test.go b/internal/cli/clusters/sampledata/sample_data_test.go index 2f5de3dd87..75830a7b89 100644 --- a/internal/cli/clusters/sampledata/sample_data_test.go +++ b/internal/cli/clusters/sampledata/sample_data_test.go @@ -19,7 +19,7 @@ package sampledata import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/clusters/sampledata/watch.go b/internal/cli/clusters/sampledata/watch.go index a65c534aae..42e6517166 100644 --- a/internal/cli/clusters/sampledata/watch.go +++ b/internal/cli/clusters/sampledata/watch.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/sampledata/watch_test.go b/internal/cli/clusters/sampledata/watch_test.go index ed620148b7..6c9c2f7148 100644 --- a/internal/cli/clusters/sampledata/watch_test.go +++ b/internal/cli/clusters/sampledata/watch_test.go @@ -19,11 +19,11 @@ package sampledata import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/start.go b/internal/cli/clusters/start.go index 2518818ae7..d2c8b33eeb 100644 --- a/internal/cli/clusters/start.go +++ b/internal/cli/clusters/start.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/clusters/start_test.go b/internal/cli/clusters/start_test.go index 29bb6aad25..866ea885b3 100644 --- a/internal/cli/clusters/start_test.go +++ b/internal/cli/clusters/start_test.go @@ -19,10 +19,10 @@ package clusters import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/update.go b/internal/cli/clusters/update.go index 287c6259fd..a9ec5c3a3f 100644 --- a/internal/cli/clusters/update.go +++ b/internal/cli/clusters/update.go @@ -18,14 +18,14 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/clusters/update_test.go b/internal/cli/clusters/update_test.go index 9c8269c6d5..7384e0f5d2 100644 --- a/internal/cli/clusters/update_test.go +++ b/internal/cli/clusters/update_test.go @@ -20,11 +20,11 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/clusters/upgrade.go b/internal/cli/clusters/upgrade.go index 5b31ef2116..ece12098f6 100644 --- a/internal/cli/clusters/upgrade.go +++ b/internal/cli/clusters/upgrade.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlas "go.mongodb.org/atlas/mongodbatlas" diff --git a/internal/cli/clusters/upgrade_test.go b/internal/cli/clusters/upgrade_test.go index d76efcd64a..a804f1602b 100644 --- a/internal/cli/clusters/upgrade_test.go +++ b/internal/cli/clusters/upgrade_test.go @@ -19,10 +19,10 @@ package clusters import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/clusters/watch.go b/internal/cli/clusters/watch.go index d2268b3362..8ab8da90f0 100644 --- a/internal/cli/clusters/watch.go +++ b/internal/cli/clusters/watch.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/clusters/watch_test.go b/internal/cli/clusters/watch_test.go index 188eb3af4e..9a1a0831ae 100644 --- a/internal/cli/clusters/watch_test.go +++ b/internal/cli/clusters/watch_test.go @@ -19,11 +19,11 @@ package clusters import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/commonerrors/errors_test.go b/internal/cli/commonerrors/errors_test.go index a960872038..6c3a590008 100644 --- a/internal/cli/commonerrors/errors_test.go +++ b/internal/cli/commonerrors/errors_test.go @@ -20,7 +20,7 @@ import ( "errors" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/config/config.go b/internal/cli/config/config.go index 8de83a8ef6..a791fec129 100644 --- a/internal/cli/config/config.go +++ b/internal/cli/config/config.go @@ -15,7 +15,7 @@ package config import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" "github.com/spf13/cobra" ) diff --git a/internal/cli/config/config_test.go b/internal/cli/config/config_test.go index 137de19bcc..dfc6716d8b 100644 --- a/internal/cli/config/config_test.go +++ b/internal/cli/config/config_test.go @@ -19,7 +19,7 @@ package config import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/config/delete.go b/internal/cli/config/delete.go index 15c40c20a8..529d7b7609 100644 --- a/internal/cli/config/delete.go +++ b/internal/cli/config/delete.go @@ -17,11 +17,11 @@ package config import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/config/describe.go b/internal/cli/config/describe.go index 840820505c..3f4edbe0f3 100644 --- a/internal/cli/config/describe.go +++ b/internal/cli/config/describe.go @@ -17,11 +17,11 @@ package config import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/config/edit.go b/internal/cli/config/edit.go index f7ad7d63b7..921112fc18 100644 --- a/internal/cli/config/edit.go +++ b/internal/cli/config/edit.go @@ -18,8 +18,8 @@ import ( "os" "os/exec" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" "github.com/spf13/cobra" ) diff --git a/internal/cli/config/init.go b/internal/cli/config/init.go index dccb59a99e..b6a90b3d4b 100644 --- a/internal/cli/config/init.go +++ b/internal/cli/config/init.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prompt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prompt" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/config/init_test.go b/internal/cli/config/init_test.go index 2dcb38d7f7..b79faa7cfd 100644 --- a/internal/cli/config/init_test.go +++ b/internal/cli/config/init_test.go @@ -19,8 +19,8 @@ package config import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestInitBuilder(t *testing.T) { diff --git a/internal/cli/config/list.go b/internal/cli/config/list.go index be72b78972..1fda27731e 100644 --- a/internal/cli/config/list.go +++ b/internal/cli/config/list.go @@ -15,10 +15,10 @@ package config import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/config/rename.go b/internal/cli/config/rename.go index d2bce69833..938e0e5c37 100644 --- a/internal/cli/config/rename.go +++ b/internal/cli/config/rename.go @@ -17,10 +17,10 @@ package config import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prompt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prompt" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" "github.com/spf13/cobra" ) diff --git a/internal/cli/config/set.go b/internal/cli/config/set.go index 4c02deab24..995ce5aae2 100644 --- a/internal/cli/config/set.go +++ b/internal/cli/config/set.go @@ -19,11 +19,11 @@ import ( "slices" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mongosh" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mongosh" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" ) diff --git a/internal/cli/config/set_test.go b/internal/cli/config/set_test.go index 86356658da..376040531b 100644 --- a/internal/cli/config/set_test.go +++ b/internal/cli/config/set_test.go @@ -19,8 +19,8 @@ package config import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestSet_Run(t *testing.T) { diff --git a/internal/cli/customdbroles/create.go b/internal/cli/customdbroles/create.go index c46dd83b66..331ad41100 100644 --- a/internal/cli/customdbroles/create.go +++ b/internal/cli/customdbroles/create.go @@ -19,13 +19,13 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/customdbroles/create_test.go b/internal/cli/customdbroles/create_test.go index b0c13ded87..3218638e0d 100644 --- a/internal/cli/customdbroles/create_test.go +++ b/internal/cli/customdbroles/create_test.go @@ -19,10 +19,10 @@ package customdbroles import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/customdbroles/custom_db_roles.go b/internal/cli/customdbroles/custom_db_roles.go index 2b7d514ec2..f0825e9bb4 100644 --- a/internal/cli/customdbroles/custom_db_roles.go +++ b/internal/cli/customdbroles/custom_db_roles.go @@ -15,7 +15,7 @@ package customdbroles import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/customdbroles/custom_db_roles_test.go b/internal/cli/customdbroles/custom_db_roles_test.go index a506c29bbb..8320033a45 100644 --- a/internal/cli/customdbroles/custom_db_roles_test.go +++ b/internal/cli/customdbroles/custom_db_roles_test.go @@ -19,7 +19,7 @@ package customdbroles import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/customdbroles/delete.go b/internal/cli/customdbroles/delete.go index dfc8c01ac8..e9f26ea0c1 100644 --- a/internal/cli/customdbroles/delete.go +++ b/internal/cli/customdbroles/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/customdbroles/delete_test.go b/internal/cli/customdbroles/delete_test.go index 7f11019cc2..081e34306e 100644 --- a/internal/cli/customdbroles/delete_test.go +++ b/internal/cli/customdbroles/delete_test.go @@ -19,11 +19,11 @@ package customdbroles import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDBUsersDelete_Run(t *testing.T) { diff --git a/internal/cli/customdbroles/describe.go b/internal/cli/customdbroles/describe.go index 637e3dfcb9..15e2dbe588 100644 --- a/internal/cli/customdbroles/describe.go +++ b/internal/cli/customdbroles/describe.go @@ -17,12 +17,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/customdbroles/describe_test.go b/internal/cli/customdbroles/describe_test.go index 0ee8ae3157..88a8f139ad 100644 --- a/internal/cli/customdbroles/describe_test.go +++ b/internal/cli/customdbroles/describe_test.go @@ -20,11 +20,11 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/customdbroles/list.go b/internal/cli/customdbroles/list.go index d2abd5bb7b..37ed78de63 100644 --- a/internal/cli/customdbroles/list.go +++ b/internal/cli/customdbroles/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/customdbroles/list_test.go b/internal/cli/customdbroles/list_test.go index d810f8a95e..e77bc7a921 100644 --- a/internal/cli/customdbroles/list_test.go +++ b/internal/cli/customdbroles/list_test.go @@ -20,11 +20,11 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/customdbroles/update.go b/internal/cli/customdbroles/update.go index e9b35b187f..ca8fd5e0f8 100644 --- a/internal/cli/customdbroles/update.go +++ b/internal/cli/customdbroles/update.go @@ -19,13 +19,13 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/customdbroles/update_test.go b/internal/cli/customdbroles/update_test.go index 27364c3fe5..ca3f2bbc23 100644 --- a/internal/cli/customdbroles/update_test.go +++ b/internal/cli/customdbroles/update_test.go @@ -19,10 +19,10 @@ package customdbroles import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/customdns/aws/aws.go b/internal/cli/customdns/aws/aws.go index f145b3fe2f..0ebeec38ab 100644 --- a/internal/cli/customdns/aws/aws.go +++ b/internal/cli/customdns/aws/aws.go @@ -15,7 +15,7 @@ package aws import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/customdns/aws/aws_test.go b/internal/cli/customdns/aws/aws_test.go index 0e99970035..b824360e5c 100644 --- a/internal/cli/customdns/aws/aws_test.go +++ b/internal/cli/customdns/aws/aws_test.go @@ -19,7 +19,7 @@ package aws import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestAWSBuilder(t *testing.T) { diff --git a/internal/cli/customdns/aws/describe.go b/internal/cli/customdns/aws/describe.go index 9631793857..42ec0cdae5 100644 --- a/internal/cli/customdns/aws/describe.go +++ b/internal/cli/customdns/aws/describe.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/customdns/aws/describe_test.go b/internal/cli/customdns/aws/describe_test.go index 0601902802..4d6183ef7f 100644 --- a/internal/cli/customdns/aws/describe_test.go +++ b/internal/cli/customdns/aws/describe_test.go @@ -19,10 +19,10 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/customdns/aws/disable.go b/internal/cli/customdns/aws/disable.go index dd6d004f3e..8ab5dd2f28 100644 --- a/internal/cli/customdns/aws/disable.go +++ b/internal/cli/customdns/aws/disable.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/customdns/aws/disable_test.go b/internal/cli/customdns/aws/disable_test.go index 25f7d2fb82..e3fba3841c 100644 --- a/internal/cli/customdns/aws/disable_test.go +++ b/internal/cli/customdns/aws/disable_test.go @@ -19,10 +19,10 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/customdns/aws/enable.go b/internal/cli/customdns/aws/enable.go index 8e81aa12f7..f06f1975f4 100644 --- a/internal/cli/customdns/aws/enable.go +++ b/internal/cli/customdns/aws/enable.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/customdns/aws/enable_test.go b/internal/cli/customdns/aws/enable_test.go index 69209b4da5..4a8e05626f 100644 --- a/internal/cli/customdns/aws/enable_test.go +++ b/internal/cli/customdns/aws/enable_test.go @@ -19,10 +19,10 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/customdns/custom_dns.go b/internal/cli/customdns/custom_dns.go index 1397e759cc..709980ee4b 100644 --- a/internal/cli/customdns/custom_dns.go +++ b/internal/cli/customdns/custom_dns.go @@ -15,8 +15,8 @@ package customdns import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/customdns/aws" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/customdns/aws" "github.com/spf13/cobra" ) diff --git a/internal/cli/customdns/custom_dns_test.go b/internal/cli/customdns/custom_dns_test.go index 98b2541c34..b2ea12ecb5 100644 --- a/internal/cli/customdns/custom_dns_test.go +++ b/internal/cli/customdns/custom_dns_test.go @@ -19,7 +19,7 @@ package customdns import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestCustomDNSBuilder(t *testing.T) { diff --git a/internal/cli/datafederation/create.go b/internal/cli/datafederation/create.go index b6afd960ab..4216d42004 100644 --- a/internal/cli/datafederation/create.go +++ b/internal/cli/datafederation/create.go @@ -20,13 +20,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/datafederation/create_test.go b/internal/cli/datafederation/create_test.go index 69b5e69e33..f33eaddefa 100644 --- a/internal/cli/datafederation/create_test.go +++ b/internal/cli/datafederation/create_test.go @@ -21,11 +21,11 @@ package datafederation import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datafederation/data_federation.go b/internal/cli/datafederation/data_federation.go index 636aadb9ec..64fc3305ee 100644 --- a/internal/cli/datafederation/data_federation.go +++ b/internal/cli/datafederation/data_federation.go @@ -17,9 +17,9 @@ package datafederation import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/datafederation/privateendpoints" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/datafederation/querylimits" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/datafederation/privateendpoints" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/datafederation/querylimits" "github.com/spf13/cobra" ) diff --git a/internal/cli/datafederation/data_federation_test.go b/internal/cli/datafederation/data_federation_test.go index 7ce923deaf..db6fc2a5c5 100644 --- a/internal/cli/datafederation/data_federation_test.go +++ b/internal/cli/datafederation/data_federation_test.go @@ -21,7 +21,7 @@ package datafederation import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/datafederation/delete.go b/internal/cli/datafederation/delete.go index 5ae6713895..8abe900939 100644 --- a/internal/cli/datafederation/delete.go +++ b/internal/cli/datafederation/delete.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datafederation/delete_test.go b/internal/cli/datafederation/delete_test.go index 415031f377..b8781cbd90 100644 --- a/internal/cli/datafederation/delete_test.go +++ b/internal/cli/datafederation/delete_test.go @@ -21,11 +21,11 @@ package datafederation import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/datafederation/describe.go b/internal/cli/datafederation/describe.go index 01aee5edf9..20f8d3b708 100644 --- a/internal/cli/datafederation/describe.go +++ b/internal/cli/datafederation/describe.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datafederation/describe_test.go b/internal/cli/datafederation/describe_test.go index 0cc34ce3c3..7fcade8226 100644 --- a/internal/cli/datafederation/describe_test.go +++ b/internal/cli/datafederation/describe_test.go @@ -22,12 +22,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datafederation/list.go b/internal/cli/datafederation/list.go index ace354682a..3062f3fe93 100644 --- a/internal/cli/datafederation/list.go +++ b/internal/cli/datafederation/list.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datafederation/list_test.go b/internal/cli/datafederation/list_test.go index 2f97153b61..72bcbc6bb5 100644 --- a/internal/cli/datafederation/list_test.go +++ b/internal/cli/datafederation/list_test.go @@ -22,12 +22,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datafederation/logs.go b/internal/cli/datafederation/logs.go index d80ecb5509..0fc68815f2 100644 --- a/internal/cli/datafederation/logs.go +++ b/internal/cli/datafederation/logs.go @@ -21,12 +21,12 @@ import ( "fmt" "io" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datafederation/logs_test.go b/internal/cli/datafederation/logs_test.go index 5777e2ebfe..5c3f8a74c9 100644 --- a/internal/cli/datafederation/logs_test.go +++ b/internal/cli/datafederation/logs_test.go @@ -23,11 +23,11 @@ import ( "os" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/datafederation/privateendpoints/create.go b/internal/cli/datafederation/privateendpoints/create.go index e5629f5c73..9f33acac1f 100644 --- a/internal/cli/datafederation/privateendpoints/create.go +++ b/internal/cli/datafederation/privateendpoints/create.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datafederation/privateendpoints/create_test.go b/internal/cli/datafederation/privateendpoints/create_test.go index 31778459e5..5f256d37f1 100644 --- a/internal/cli/datafederation/privateendpoints/create_test.go +++ b/internal/cli/datafederation/privateendpoints/create_test.go @@ -22,12 +22,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datafederation/privateendpoints/delete.go b/internal/cli/datafederation/privateendpoints/delete.go index c638e74260..67d065bb68 100644 --- a/internal/cli/datafederation/privateendpoints/delete.go +++ b/internal/cli/datafederation/privateendpoints/delete.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datafederation/privateendpoints/delete_test.go b/internal/cli/datafederation/privateendpoints/delete_test.go index 14068b7883..b568294854 100644 --- a/internal/cli/datafederation/privateendpoints/delete_test.go +++ b/internal/cli/datafederation/privateendpoints/delete_test.go @@ -21,11 +21,11 @@ package privateendpoints import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/datafederation/privateendpoints/describe.go b/internal/cli/datafederation/privateendpoints/describe.go index a038989227..df3dc9a590 100644 --- a/internal/cli/datafederation/privateendpoints/describe.go +++ b/internal/cli/datafederation/privateendpoints/describe.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datafederation/privateendpoints/describe_test.go b/internal/cli/datafederation/privateendpoints/describe_test.go index 0fb9a78d41..a8b627e5b0 100644 --- a/internal/cli/datafederation/privateendpoints/describe_test.go +++ b/internal/cli/datafederation/privateendpoints/describe_test.go @@ -22,12 +22,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datafederation/privateendpoints/list.go b/internal/cli/datafederation/privateendpoints/list.go index ff17d5305f..2e4abd84c2 100644 --- a/internal/cli/datafederation/privateendpoints/list.go +++ b/internal/cli/datafederation/privateendpoints/list.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datafederation/privateendpoints/list_test.go b/internal/cli/datafederation/privateendpoints/list_test.go index 07479e899e..37d93a2fd3 100644 --- a/internal/cli/datafederation/privateendpoints/list_test.go +++ b/internal/cli/datafederation/privateendpoints/list_test.go @@ -22,12 +22,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datafederation/privateendpoints/private_endpoints.go b/internal/cli/datafederation/privateendpoints/private_endpoints.go index 58fbb2c65e..b0c7296081 100644 --- a/internal/cli/datafederation/privateendpoints/private_endpoints.go +++ b/internal/cli/datafederation/privateendpoints/private_endpoints.go @@ -17,7 +17,7 @@ package privateendpoints import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/datafederation/privateendpoints/private_endpoints_test.go b/internal/cli/datafederation/privateendpoints/private_endpoints_test.go index f5bdaf0bcd..b8da1f70e8 100644 --- a/internal/cli/datafederation/privateendpoints/private_endpoints_test.go +++ b/internal/cli/datafederation/privateendpoints/private_endpoints_test.go @@ -21,7 +21,7 @@ package privateendpoints import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/datafederation/querylimits/create.go b/internal/cli/datafederation/querylimits/create.go index 5fdf46dcaa..e064365fa5 100644 --- a/internal/cli/datafederation/querylimits/create.go +++ b/internal/cli/datafederation/querylimits/create.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datafederation/querylimits/create_test.go b/internal/cli/datafederation/querylimits/create_test.go index 5585252bbc..14c7dff8fa 100644 --- a/internal/cli/datafederation/querylimits/create_test.go +++ b/internal/cli/datafederation/querylimits/create_test.go @@ -21,11 +21,11 @@ package querylimits import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datafederation/querylimits/delete.go b/internal/cli/datafederation/querylimits/delete.go index a45cc8216b..0d2617b47a 100644 --- a/internal/cli/datafederation/querylimits/delete.go +++ b/internal/cli/datafederation/querylimits/delete.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datafederation/querylimits/delete_test.go b/internal/cli/datafederation/querylimits/delete_test.go index c9f2ca52b3..123a24a056 100644 --- a/internal/cli/datafederation/querylimits/delete_test.go +++ b/internal/cli/datafederation/querylimits/delete_test.go @@ -21,11 +21,11 @@ package querylimits import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/datafederation/querylimits/describe.go b/internal/cli/datafederation/querylimits/describe.go index 9362b5e0b1..b50be2e611 100644 --- a/internal/cli/datafederation/querylimits/describe.go +++ b/internal/cli/datafederation/querylimits/describe.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datafederation/querylimits/describe_test.go b/internal/cli/datafederation/querylimits/describe_test.go index d9e18dcd48..4108fe578c 100644 --- a/internal/cli/datafederation/querylimits/describe_test.go +++ b/internal/cli/datafederation/querylimits/describe_test.go @@ -22,12 +22,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datafederation/querylimits/list.go b/internal/cli/datafederation/querylimits/list.go index 4072702966..3a9665e990 100644 --- a/internal/cli/datafederation/querylimits/list.go +++ b/internal/cli/datafederation/querylimits/list.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datafederation/querylimits/list_test.go b/internal/cli/datafederation/querylimits/list_test.go index 94bbcfe001..c3e8a2bf61 100644 --- a/internal/cli/datafederation/querylimits/list_test.go +++ b/internal/cli/datafederation/querylimits/list_test.go @@ -22,12 +22,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datafederation/querylimits/query_limits.go b/internal/cli/datafederation/querylimits/query_limits.go index 13bbe807f4..432dab1bc2 100644 --- a/internal/cli/datafederation/querylimits/query_limits.go +++ b/internal/cli/datafederation/querylimits/query_limits.go @@ -17,7 +17,7 @@ package querylimits import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/datafederation/querylimits/query_limits_test.go b/internal/cli/datafederation/querylimits/query_limits_test.go index 1b5a2bf283..7fb4a624d8 100644 --- a/internal/cli/datafederation/querylimits/query_limits_test.go +++ b/internal/cli/datafederation/querylimits/query_limits_test.go @@ -21,7 +21,7 @@ package querylimits import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/datafederation/update.go b/internal/cli/datafederation/update.go index a12e3a312e..ed7603b1ae 100644 --- a/internal/cli/datafederation/update.go +++ b/internal/cli/datafederation/update.go @@ -20,13 +20,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/datafederation/update_test.go b/internal/cli/datafederation/update_test.go index 97beda351d..89c210e5ba 100644 --- a/internal/cli/datafederation/update_test.go +++ b/internal/cli/datafederation/update_test.go @@ -21,11 +21,11 @@ package datafederation import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datalake/create.go b/internal/cli/datalake/create.go index ee6bf69ac7..3c639352d6 100644 --- a/internal/cli/datalake/create.go +++ b/internal/cli/datalake/create.go @@ -17,12 +17,12 @@ package datalake import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/datalake/create_test.go b/internal/cli/datalake/create_test.go index 874b458e72..377501390f 100644 --- a/internal/cli/datalake/create_test.go +++ b/internal/cli/datalake/create_test.go @@ -19,8 +19,8 @@ package datalake import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/datalake/data_lake.go b/internal/cli/datalake/data_lake.go index 5b0c8f2409..6d878d4dd5 100644 --- a/internal/cli/datalake/data_lake.go +++ b/internal/cli/datalake/data_lake.go @@ -15,7 +15,7 @@ package datalake import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalake/delete.go b/internal/cli/datalake/delete.go index 11fcbe4c2b..9db25804d4 100644 --- a/internal/cli/datalake/delete.go +++ b/internal/cli/datalake/delete.go @@ -17,12 +17,12 @@ package datalake import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalake/delete_test.go b/internal/cli/datalake/delete_test.go index 91b1d26a52..73269b06b2 100644 --- a/internal/cli/datalake/delete_test.go +++ b/internal/cli/datalake/delete_test.go @@ -19,9 +19,9 @@ package datalake import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/datalake/describe.go b/internal/cli/datalake/describe.go index 1f76f0b6df..0861fcf371 100644 --- a/internal/cli/datalake/describe.go +++ b/internal/cli/datalake/describe.go @@ -17,12 +17,12 @@ package datalake import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalake/describe_test.go b/internal/cli/datalake/describe_test.go index 4b6dacffaa..9cbec5eda9 100644 --- a/internal/cli/datalake/describe_test.go +++ b/internal/cli/datalake/describe_test.go @@ -19,9 +19,9 @@ package datalake import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/datalake/list.go b/internal/cli/datalake/list.go index 900ebe2526..8def1c728a 100644 --- a/internal/cli/datalake/list.go +++ b/internal/cli/datalake/list.go @@ -17,12 +17,12 @@ package datalake import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalake/list_test.go b/internal/cli/datalake/list_test.go index 7525f324a4..b0d80dc1ce 100644 --- a/internal/cli/datalake/list_test.go +++ b/internal/cli/datalake/list_test.go @@ -19,8 +19,8 @@ package datalake import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/datalake/update.go b/internal/cli/datalake/update.go index fcf7190d75..9d49aaeb38 100644 --- a/internal/cli/datalake/update.go +++ b/internal/cli/datalake/update.go @@ -18,12 +18,12 @@ import ( "context" "errors" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/datalake/update_test.go b/internal/cli/datalake/update_test.go index 4b99df560c..0df090ccf9 100644 --- a/internal/cli/datalake/update_test.go +++ b/internal/cli/datalake/update_test.go @@ -19,8 +19,8 @@ package datalake import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/datalakepipelines/availableschedules/available_schedules.go b/internal/cli/datalakepipelines/availableschedules/available_schedules.go index ae1ae87459..12ee5e54ee 100644 --- a/internal/cli/datalakepipelines/availableschedules/available_schedules.go +++ b/internal/cli/datalakepipelines/availableschedules/available_schedules.go @@ -17,7 +17,7 @@ package availableschedules import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/availableschedules/available_schedules_test.go b/internal/cli/datalakepipelines/availableschedules/available_schedules_test.go index 852434ab7d..2b2082be8f 100644 --- a/internal/cli/datalakepipelines/availableschedules/available_schedules_test.go +++ b/internal/cli/datalakepipelines/availableschedules/available_schedules_test.go @@ -21,7 +21,7 @@ package availableschedules import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/datalakepipelines/availableschedules/list.go b/internal/cli/datalakepipelines/availableschedules/list.go index 22a4cf05fc..9b88254fab 100644 --- a/internal/cli/datalakepipelines/availableschedules/list.go +++ b/internal/cli/datalakepipelines/availableschedules/list.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/availableschedules/list_test.go b/internal/cli/datalakepipelines/availableschedules/list_test.go index 09bc3d8b9c..7224e9f7b9 100644 --- a/internal/cli/datalakepipelines/availableschedules/list_test.go +++ b/internal/cli/datalakepipelines/availableschedules/list_test.go @@ -22,12 +22,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datalakepipelines/availablesnapshots/available_snapshots.go b/internal/cli/datalakepipelines/availablesnapshots/available_snapshots.go index e671873272..d20f358820 100644 --- a/internal/cli/datalakepipelines/availablesnapshots/available_snapshots.go +++ b/internal/cli/datalakepipelines/availablesnapshots/available_snapshots.go @@ -17,7 +17,7 @@ package availablesnapshots import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/availablesnapshots/available_snapshots_test.go b/internal/cli/datalakepipelines/availablesnapshots/available_snapshots_test.go index a1080940e0..b2bcbba65e 100644 --- a/internal/cli/datalakepipelines/availablesnapshots/available_snapshots_test.go +++ b/internal/cli/datalakepipelines/availablesnapshots/available_snapshots_test.go @@ -21,7 +21,7 @@ package availablesnapshots import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/datalakepipelines/availablesnapshots/list.go b/internal/cli/datalakepipelines/availablesnapshots/list.go index f7dd160443..802868dbce 100644 --- a/internal/cli/datalakepipelines/availablesnapshots/list.go +++ b/internal/cli/datalakepipelines/availablesnapshots/list.go @@ -22,13 +22,13 @@ import ( "fmt" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/availablesnapshots/list_test.go b/internal/cli/datalakepipelines/availablesnapshots/list_test.go index 428faa4e06..8b6c1de91e 100644 --- a/internal/cli/datalakepipelines/availablesnapshots/list_test.go +++ b/internal/cli/datalakepipelines/availablesnapshots/list_test.go @@ -22,12 +22,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datalakepipelines/create.go b/internal/cli/datalakepipelines/create.go index 88878bca36..30f87cb1cf 100644 --- a/internal/cli/datalakepipelines/create.go +++ b/internal/cli/datalakepipelines/create.go @@ -22,13 +22,13 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/datalakepipelines/create_test.go b/internal/cli/datalakepipelines/create_test.go index 73c01934e4..c7a3f6bf61 100644 --- a/internal/cli/datalakepipelines/create_test.go +++ b/internal/cli/datalakepipelines/create_test.go @@ -21,10 +21,10 @@ package datalakepipelines import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datalakepipelines/data_lake_pipelines.go b/internal/cli/datalakepipelines/data_lake_pipelines.go index 9c734fef68..27520ad491 100644 --- a/internal/cli/datalakepipelines/data_lake_pipelines.go +++ b/internal/cli/datalakepipelines/data_lake_pipelines.go @@ -17,11 +17,11 @@ package datalakepipelines import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/datalakepipelines/availableschedules" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/datalakepipelines/availablesnapshots" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/datalakepipelines/datasets" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/datalakepipelines/runs" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/datalakepipelines/availableschedules" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/datalakepipelines/availablesnapshots" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/datalakepipelines/datasets" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/datalakepipelines/runs" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/data_lake_pipelines_test.go b/internal/cli/datalakepipelines/data_lake_pipelines_test.go index cbb0e7e3e6..523b63fcca 100644 --- a/internal/cli/datalakepipelines/data_lake_pipelines_test.go +++ b/internal/cli/datalakepipelines/data_lake_pipelines_test.go @@ -21,7 +21,7 @@ package datalakepipelines import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/datalakepipelines/datasets/datasets.go b/internal/cli/datalakepipelines/datasets/datasets.go index c4c88a2e39..a45d17c0ef 100644 --- a/internal/cli/datalakepipelines/datasets/datasets.go +++ b/internal/cli/datalakepipelines/datasets/datasets.go @@ -17,7 +17,7 @@ package datasets import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/datasets/datasets_test.go b/internal/cli/datalakepipelines/datasets/datasets_test.go index f5c061854f..3953eaa019 100644 --- a/internal/cli/datalakepipelines/datasets/datasets_test.go +++ b/internal/cli/datalakepipelines/datasets/datasets_test.go @@ -21,7 +21,7 @@ package datasets import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/datalakepipelines/datasets/delete.go b/internal/cli/datalakepipelines/datasets/delete.go index 3291a4a010..86023e31b2 100644 --- a/internal/cli/datalakepipelines/datasets/delete.go +++ b/internal/cli/datalakepipelines/datasets/delete.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/datasets/delete_test.go b/internal/cli/datalakepipelines/datasets/delete_test.go index 139b51127c..88cebd99e2 100644 --- a/internal/cli/datalakepipelines/datasets/delete_test.go +++ b/internal/cli/datalakepipelines/datasets/delete_test.go @@ -21,11 +21,11 @@ package datasets import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/datalakepipelines/delete.go b/internal/cli/datalakepipelines/delete.go index 81023002fc..9ac4572b80 100644 --- a/internal/cli/datalakepipelines/delete.go +++ b/internal/cli/datalakepipelines/delete.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/delete_test.go b/internal/cli/datalakepipelines/delete_test.go index d8486b0fa2..42880116ad 100644 --- a/internal/cli/datalakepipelines/delete_test.go +++ b/internal/cli/datalakepipelines/delete_test.go @@ -21,11 +21,11 @@ package datalakepipelines import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/datalakepipelines/describe.go b/internal/cli/datalakepipelines/describe.go index 606dc94bc6..805165e43c 100644 --- a/internal/cli/datalakepipelines/describe.go +++ b/internal/cli/datalakepipelines/describe.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/describe_test.go b/internal/cli/datalakepipelines/describe_test.go index cc5b56c3b1..d5fac91275 100644 --- a/internal/cli/datalakepipelines/describe_test.go +++ b/internal/cli/datalakepipelines/describe_test.go @@ -22,12 +22,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datalakepipelines/list.go b/internal/cli/datalakepipelines/list.go index dc641d3ddf..4738c8059e 100644 --- a/internal/cli/datalakepipelines/list.go +++ b/internal/cli/datalakepipelines/list.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/list_test.go b/internal/cli/datalakepipelines/list_test.go index dc1ec8c340..2787318184 100644 --- a/internal/cli/datalakepipelines/list_test.go +++ b/internal/cli/datalakepipelines/list_test.go @@ -22,12 +22,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datalakepipelines/pause.go b/internal/cli/datalakepipelines/pause.go index 41c576a299..61525f8178 100644 --- a/internal/cli/datalakepipelines/pause.go +++ b/internal/cli/datalakepipelines/pause.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/pause_test.go b/internal/cli/datalakepipelines/pause_test.go index 3f97140849..a38fd5e892 100644 --- a/internal/cli/datalakepipelines/pause_test.go +++ b/internal/cli/datalakepipelines/pause_test.go @@ -20,12 +20,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datalakepipelines/runs/describe.go b/internal/cli/datalakepipelines/runs/describe.go index e1af08b76c..b566d668d1 100644 --- a/internal/cli/datalakepipelines/runs/describe.go +++ b/internal/cli/datalakepipelines/runs/describe.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/runs/describe_test.go b/internal/cli/datalakepipelines/runs/describe_test.go index 62d9bb166d..44e6c51dcd 100644 --- a/internal/cli/datalakepipelines/runs/describe_test.go +++ b/internal/cli/datalakepipelines/runs/describe_test.go @@ -22,12 +22,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datalakepipelines/runs/list.go b/internal/cli/datalakepipelines/runs/list.go index 22b6401111..ef5fe40948 100644 --- a/internal/cli/datalakepipelines/runs/list.go +++ b/internal/cli/datalakepipelines/runs/list.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/runs/list_test.go b/internal/cli/datalakepipelines/runs/list_test.go index 2aaa0272f8..a7e3447317 100644 --- a/internal/cli/datalakepipelines/runs/list_test.go +++ b/internal/cli/datalakepipelines/runs/list_test.go @@ -22,12 +22,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datalakepipelines/runs/runs.go b/internal/cli/datalakepipelines/runs/runs.go index 510ce7d801..d2b4b17540 100644 --- a/internal/cli/datalakepipelines/runs/runs.go +++ b/internal/cli/datalakepipelines/runs/runs.go @@ -17,7 +17,7 @@ package runs import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/runs/runs_test.go b/internal/cli/datalakepipelines/runs/runs_test.go index aeacea9d33..c9ffcb6b65 100644 --- a/internal/cli/datalakepipelines/runs/runs_test.go +++ b/internal/cli/datalakepipelines/runs/runs_test.go @@ -21,7 +21,7 @@ package runs import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/datalakepipelines/runs/watch.go b/internal/cli/datalakepipelines/runs/watch.go index a08d4b9611..caea131bce 100644 --- a/internal/cli/datalakepipelines/runs/watch.go +++ b/internal/cli/datalakepipelines/runs/watch.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/runs/watch_test.go b/internal/cli/datalakepipelines/runs/watch_test.go index 555644e299..b8184c7b22 100644 --- a/internal/cli/datalakepipelines/runs/watch_test.go +++ b/internal/cli/datalakepipelines/runs/watch_test.go @@ -21,11 +21,11 @@ package runs import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datalakepipelines/start.go b/internal/cli/datalakepipelines/start.go index ac5a1e5feb..667494d4f3 100644 --- a/internal/cli/datalakepipelines/start.go +++ b/internal/cli/datalakepipelines/start.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/start_test.go b/internal/cli/datalakepipelines/start_test.go index ffebe16bec..a6c6b02ed1 100644 --- a/internal/cli/datalakepipelines/start_test.go +++ b/internal/cli/datalakepipelines/start_test.go @@ -20,12 +20,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datalakepipelines/trigger.go b/internal/cli/datalakepipelines/trigger.go index 8c801c25cd..f90a223f67 100644 --- a/internal/cli/datalakepipelines/trigger.go +++ b/internal/cli/datalakepipelines/trigger.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/trigger_test.go b/internal/cli/datalakepipelines/trigger_test.go index d292ef0a0e..c52e42db17 100644 --- a/internal/cli/datalakepipelines/trigger_test.go +++ b/internal/cli/datalakepipelines/trigger_test.go @@ -20,12 +20,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datalakepipelines/update.go b/internal/cli/datalakepipelines/update.go index b52eb7dfd9..f88beed883 100644 --- a/internal/cli/datalakepipelines/update.go +++ b/internal/cli/datalakepipelines/update.go @@ -21,13 +21,13 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/datalakepipelines/update_test.go b/internal/cli/datalakepipelines/update_test.go index d9a2921159..80b39a3e80 100644 --- a/internal/cli/datalakepipelines/update_test.go +++ b/internal/cli/datalakepipelines/update_test.go @@ -21,10 +21,10 @@ package datalakepipelines import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/datalakepipelines/watch.go b/internal/cli/datalakepipelines/watch.go index 00f2fb12c4..3c2cfbe1a0 100644 --- a/internal/cli/datalakepipelines/watch.go +++ b/internal/cli/datalakepipelines/watch.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/datalakepipelines/watch_test.go b/internal/cli/datalakepipelines/watch_test.go index cef41f98ca..658d953b61 100644 --- a/internal/cli/datalakepipelines/watch_test.go +++ b/internal/cli/datalakepipelines/watch_test.go @@ -21,11 +21,11 @@ package datalakepipelines import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/dbusers/certs/certs.go b/internal/cli/dbusers/certs/certs.go index dce14c4f80..530d72adee 100644 --- a/internal/cli/dbusers/certs/certs.go +++ b/internal/cli/dbusers/certs/certs.go @@ -15,7 +15,7 @@ package certs import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/dbusers/certs/create.go b/internal/cli/dbusers/certs/create.go index eea951f6fb..eadae3b3b0 100644 --- a/internal/cli/dbusers/certs/create.go +++ b/internal/cli/dbusers/certs/create.go @@ -17,12 +17,12 @@ package certs import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/dbusers/certs/create_test.go b/internal/cli/dbusers/certs/create_test.go index 2ecfeeadd0..4f175ea038 100644 --- a/internal/cli/dbusers/certs/create_test.go +++ b/internal/cli/dbusers/certs/create_test.go @@ -19,9 +19,9 @@ package certs import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/dbusers/certs/list.go b/internal/cli/dbusers/certs/list.go index 6c350f82c8..fbf15ced46 100644 --- a/internal/cli/dbusers/certs/list.go +++ b/internal/cli/dbusers/certs/list.go @@ -17,12 +17,12 @@ package certs import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/dbusers/certs/list_test.go b/internal/cli/dbusers/certs/list_test.go index 528127bf9d..6e6c669106 100644 --- a/internal/cli/dbusers/certs/list_test.go +++ b/internal/cli/dbusers/certs/list_test.go @@ -19,9 +19,9 @@ package certs import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/dbusers/create.go b/internal/cli/dbusers/create.go index 38837d0596..08dcfe4091 100644 --- a/internal/cli/dbusers/create.go +++ b/internal/cli/dbusers/create.go @@ -20,14 +20,14 @@ import ( "fmt" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/dbusers/create_test.go b/internal/cli/dbusers/create_test.go index a71a62a068..a89d21365d 100644 --- a/internal/cli/dbusers/create_test.go +++ b/internal/cli/dbusers/create_test.go @@ -19,8 +19,8 @@ package dbusers import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/dbusers/dbusers.go b/internal/cli/dbusers/dbusers.go index 0fc50d7e61..178abd613d 100644 --- a/internal/cli/dbusers/dbusers.go +++ b/internal/cli/dbusers/dbusers.go @@ -15,8 +15,8 @@ package dbusers import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/dbusers/certs" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/dbusers/certs" "github.com/spf13/cobra" ) diff --git a/internal/cli/dbusers/dbusers_test.go b/internal/cli/dbusers/dbusers_test.go index 3329794a9f..1a11e487bd 100644 --- a/internal/cli/dbusers/dbusers_test.go +++ b/internal/cli/dbusers/dbusers_test.go @@ -19,7 +19,7 @@ package dbusers import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/dbusers/delete.go b/internal/cli/dbusers/delete.go index bba5f07215..a73cf3c4bb 100644 --- a/internal/cli/dbusers/delete.go +++ b/internal/cli/dbusers/delete.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/dbusers/delete_test.go b/internal/cli/dbusers/delete_test.go index ed59fd331c..cffd9826e5 100644 --- a/internal/cli/dbusers/delete_test.go +++ b/internal/cli/dbusers/delete_test.go @@ -19,9 +19,9 @@ package dbusers import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDBUsersDelete_Run(t *testing.T) { diff --git a/internal/cli/dbusers/describe.go b/internal/cli/dbusers/describe.go index 4779345412..4ccde00e3b 100644 --- a/internal/cli/dbusers/describe.go +++ b/internal/cli/dbusers/describe.go @@ -18,14 +18,14 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" ) diff --git a/internal/cli/dbusers/describe_test.go b/internal/cli/dbusers/describe_test.go index f314416829..b6820c7b07 100644 --- a/internal/cli/dbusers/describe_test.go +++ b/internal/cli/dbusers/describe_test.go @@ -19,10 +19,10 @@ package dbusers import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/dbusers/list.go b/internal/cli/dbusers/list.go index f0450ee73e..b72940afc7 100644 --- a/internal/cli/dbusers/list.go +++ b/internal/cli/dbusers/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/dbusers/list_test.go b/internal/cli/dbusers/list_test.go index cf1dce55f0..272d450d8f 100644 --- a/internal/cli/dbusers/list_test.go +++ b/internal/cli/dbusers/list_test.go @@ -19,10 +19,10 @@ package dbusers import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/dbusers/update.go b/internal/cli/dbusers/update.go index 726c1b073d..711cb47b50 100644 --- a/internal/cli/dbusers/update.go +++ b/internal/cli/dbusers/update.go @@ -18,14 +18,14 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/dbusers/update_test.go b/internal/cli/dbusers/update_test.go index be3505302f..ed70332972 100644 --- a/internal/cli/dbusers/update_test.go +++ b/internal/cli/dbusers/update_test.go @@ -19,9 +19,9 @@ package dbusers import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/decryption/key_providers.go b/internal/cli/decryption/key_providers.go index d8012247c1..428565b3ad 100644 --- a/internal/cli/decryption/key_providers.go +++ b/internal/cli/decryption/key_providers.go @@ -15,7 +15,7 @@ package decryption import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/decryption/key_providers_test.go b/internal/cli/decryption/key_providers_test.go index d06a159d00..7ba11640c9 100644 --- a/internal/cli/decryption/key_providers_test.go +++ b/internal/cli/decryption/key_providers_test.go @@ -19,7 +19,7 @@ package decryption import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestKeyProvidersBuilder(t *testing.T) { diff --git a/internal/cli/decryption/list_key_provider.go b/internal/cli/decryption/list_key_provider.go index e540a4a535..9f3181be3b 100644 --- a/internal/cli/decryption/list_key_provider.go +++ b/internal/cli/decryption/list_key_provider.go @@ -15,10 +15,10 @@ package decryption import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/decryption" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/decryption" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" ) diff --git a/internal/cli/decryption/list_key_provider_test.go b/internal/cli/decryption/list_key_provider_test.go index ac7d33b13c..aea7c83498 100644 --- a/internal/cli/decryption/list_key_provider_test.go +++ b/internal/cli/decryption/list_key_provider_test.go @@ -19,8 +19,8 @@ package decryption import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestListKeyProviderBuilder(t *testing.T) { diff --git a/internal/cli/default_setter_opts.go b/internal/cli/default_setter_opts.go index eb67f3335a..bc8628cdfc 100644 --- a/internal/cli/default_setter_opts.go +++ b/internal/cli/default_setter_opts.go @@ -22,18 +22,18 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/briandowns/spinner" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prompt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prompt" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_default_opts.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli ProjectOrgsLister +//go:generate mockgen -destination=../mocks/mock_default_opts.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli ProjectOrgsLister type ProjectOrgsLister interface { Project(id string) (*atlasv2.Group, error) diff --git a/internal/cli/default_setter_opts_test.go b/internal/cli/default_setter_opts_test.go index 00d2e97270..cd6bd7f3f5 100644 --- a/internal/cli/default_setter_opts_test.go +++ b/internal/cli/default_setter_opts_test.go @@ -19,9 +19,9 @@ package cli import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/delete_opts.go b/internal/cli/delete_opts.go index 0017836d9e..b108831ad7 100644 --- a/internal/cli/delete_opts.go +++ b/internal/cli/delete_opts.go @@ -18,8 +18,8 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prompt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prompt" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" ) const ( diff --git a/internal/cli/deployments/connect.go b/internal/cli/deployments/connect.go index 8a3aa3ef2f..303508aeb6 100644 --- a/internal/cli/deployments/connect.go +++ b/internal/cli/deployments/connect.go @@ -17,10 +17,10 @@ package deployments import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/deployments/connect_test.go b/internal/cli/deployments/connect_test.go index 09aaff9384..0cd3fe8747 100644 --- a/internal/cli/deployments/connect_test.go +++ b/internal/cli/deployments/connect_test.go @@ -21,15 +21,15 @@ import ( "context" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/deployments/delete.go b/internal/cli/deployments/delete.go index 99645b9565..0f6d5f92e1 100644 --- a/internal/cli/deployments/delete.go +++ b/internal/cli/deployments/delete.go @@ -19,15 +19,15 @@ import ( "fmt" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/watchers" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/watchers" "github.com/spf13/cobra" ) diff --git a/internal/cli/deployments/delete_test.go b/internal/cli/deployments/delete_test.go index 094e123f4d..e44f03e90d 100644 --- a/internal/cli/deployments/delete_test.go +++ b/internal/cli/deployments/delete_test.go @@ -21,14 +21,14 @@ import ( "context" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run_Atlas(t *testing.T) { diff --git a/internal/cli/deployments/deployments.go b/internal/cli/deployments/deployments.go index e4cfce2fa0..390b1ee975 100644 --- a/internal/cli/deployments/deployments.go +++ b/internal/cli/deployments/deployments.go @@ -15,8 +15,8 @@ package deployments import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/search" "github.com/spf13/cobra" ) diff --git a/internal/cli/deployments/deployments_test.go b/internal/cli/deployments/deployments_test.go index 57d9f185c8..8eaf155b77 100644 --- a/internal/cli/deployments/deployments_test.go +++ b/internal/cli/deployments/deployments_test.go @@ -19,7 +19,7 @@ package deployments import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/deployments/diagnostics.go b/internal/cli/deployments/diagnostics.go index 4519a8c003..556f8ba5b7 100644 --- a/internal/cli/deployments/diagnostics.go +++ b/internal/cli/deployments/diagnostics.go @@ -18,10 +18,10 @@ import ( "context" "runtime" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" "github.com/spf13/cobra" ) diff --git a/internal/cli/deployments/list.go b/internal/cli/deployments/list.go index dd6e12dadb..9f3161ffe5 100644 --- a/internal/cli/deployments/list.go +++ b/internal/cli/deployments/list.go @@ -19,12 +19,12 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/deployments/list_test.go b/internal/cli/deployments/list_test.go index 7b94078ada..737238433b 100644 --- a/internal/cli/deployments/list_test.go +++ b/internal/cli/deployments/list_test.go @@ -21,17 +21,17 @@ import ( "context" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/deployments/logs.go b/internal/cli/deployments/logs.go index 9c96b8929a..39a6f9a00f 100644 --- a/internal/cli/deployments/logs.go +++ b/internal/cli/deployments/logs.go @@ -23,14 +23,14 @@ import ( "path/filepath" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/search" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/deployments/logs_test.go b/internal/cli/deployments/logs_test.go index f37b153f91..c285371091 100644 --- a/internal/cli/deployments/logs_test.go +++ b/internal/cli/deployments/logs_test.go @@ -24,13 +24,13 @@ import ( "strings" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" ) diff --git a/internal/cli/deployments/options/connect_opts.go b/internal/cli/deployments/options/connect_opts.go index b56effc094..1e7eb1daa0 100644 --- a/internal/cli/deployments/options/connect_opts.go +++ b/internal/cli/deployments/options/connect_opts.go @@ -20,11 +20,11 @@ import ( "fmt" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/compass" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mongosh" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/compass" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mongosh" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" ) var ( diff --git a/internal/cli/deployments/options/connect_opts_atlas.go b/internal/cli/deployments/options/connect_opts_atlas.go index 4306e02eae..d3802ce56f 100644 --- a/internal/cli/deployments/options/connect_opts_atlas.go +++ b/internal/cli/deployments/options/connect_opts_atlas.go @@ -19,12 +19,12 @@ import ( "fmt" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/search" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" ) type ConnectToAtlasOpts struct { diff --git a/internal/cli/deployments/options/deployment_opts.go b/internal/cli/deployments/options/deployment_opts.go index 858322d664..f4abed7c34 100644 --- a/internal/cli/deployments/options/deployment_opts.go +++ b/internal/cli/deployments/options/deployment_opts.go @@ -26,16 +26,16 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/briandowns/spinner" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/setup" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/search" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/terminal" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/setup" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/terminal" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" ) const ( diff --git a/internal/cli/deployments/options/deployment_opts_connect_string.go b/internal/cli/deployments/options/deployment_opts_connect_string.go index ddab9e44d0..1a57608b9c 100644 --- a/internal/cli/deployments/options/deployment_opts_connect_string.go +++ b/internal/cli/deployments/options/deployment_opts_connect_string.go @@ -20,7 +20,7 @@ import ( "net/url" "strconv" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" ) const deploymentTypeLocal = "local" diff --git a/internal/cli/deployments/options/deployment_opts_connect_with.go b/internal/cli/deployments/options/deployment_opts_connect_with.go index 49555c365d..b5f4e9408d 100644 --- a/internal/cli/deployments/options/deployment_opts_connect_with.go +++ b/internal/cli/deployments/options/deployment_opts_connect_with.go @@ -19,8 +19,8 @@ import ( "fmt" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/search" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" ) const ( diff --git a/internal/cli/deployments/options/deployment_opts_post_run.go b/internal/cli/deployments/options/deployment_opts_post_run.go index 87e5cda9d1..371f09aeb2 100644 --- a/internal/cli/deployments/options/deployment_opts_post_run.go +++ b/internal/cli/deployments/options/deployment_opts_post_run.go @@ -17,8 +17,8 @@ package options import ( "errors" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" ) func (opts *DeploymentOpts) PostRunMessages() error { diff --git a/internal/cli/deployments/options/deployment_opts_pre_run.go b/internal/cli/deployments/options/deployment_opts_pre_run.go index 949c86b872..3cb02bda44 100644 --- a/internal/cli/deployments/options/deployment_opts_pre_run.go +++ b/internal/cli/deployments/options/deployment_opts_pre_run.go @@ -20,9 +20,9 @@ import ( "runtime" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" "github.com/shirou/gopsutil/v3/host" ) diff --git a/internal/cli/deployments/options/deployment_opts_select.go b/internal/cli/deployments/options/deployment_opts_select.go index 01e5b6f080..b4f5fe411a 100644 --- a/internal/cli/deployments/options/deployment_opts_select.go +++ b/internal/cli/deployments/options/deployment_opts_select.go @@ -22,10 +22,10 @@ import ( "strings" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" ) var errEmptyLocalDeployments = errors.New("currently there are no deployment in your local system") diff --git a/internal/cli/deployments/options/deployment_opts_telemetry.go b/internal/cli/deployments/options/deployment_opts_telemetry.go index 6072c53236..a522ea423c 100644 --- a/internal/cli/deployments/options/deployment_opts_telemetry.go +++ b/internal/cli/deployments/options/deployment_opts_telemetry.go @@ -15,10 +15,10 @@ package options import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" ) -//go:generate mockgen -destination=../../../mocks/mock_deployment_opts_telemetry.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options DeploymentTelemetry +//go:generate mockgen -destination=../../../mocks/mock_deployment_opts_telemetry.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options DeploymentTelemetry type DeploymentTelemetry interface { AppendDeploymentType() } diff --git a/internal/cli/deployments/pause.go b/internal/cli/deployments/pause.go index f9e24387eb..034b14a636 100644 --- a/internal/cli/deployments/pause.go +++ b/internal/cli/deployments/pause.go @@ -19,15 +19,15 @@ import ( "errors" "os/exec" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/setup" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/setup" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/deployments/pause_test.go b/internal/cli/deployments/pause_test.go index ba50342937..2bda2512fb 100644 --- a/internal/cli/deployments/pause_test.go +++ b/internal/cli/deployments/pause_test.go @@ -22,13 +22,13 @@ import ( "fmt" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/deployments/search/indexes/create.go b/internal/cli/deployments/search/indexes/create.go index 05c23a5133..49d037bfb9 100644 --- a/internal/cli/deployments/search/indexes/create.go +++ b/internal/cli/deployments/search/indexes/create.go @@ -19,16 +19,16 @@ import ( "errors" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/search" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mongodbclient" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mongodbclient" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/deployments/search/indexes/create_test.go b/internal/cli/deployments/search/indexes/create_test.go index 07cab920b1..31f16aa7c4 100644 --- a/internal/cli/deployments/search/indexes/create_test.go +++ b/internal/cli/deployments/search/indexes/create_test.go @@ -22,17 +22,17 @@ import ( "errors" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mongodbclient" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/search" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mongodbclient" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/deployments/search/indexes/delete.go b/internal/cli/deployments/search/indexes/delete.go index 6202217736..40c3c802b3 100644 --- a/internal/cli/deployments/search/indexes/delete.go +++ b/internal/cli/deployments/search/indexes/delete.go @@ -17,15 +17,15 @@ package indexes import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/search" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mongodbclient" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mongodbclient" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/deployments/search/indexes/delete_test.go b/internal/cli/deployments/search/indexes/delete_test.go index adf93f23e2..f6eb1af1bd 100644 --- a/internal/cli/deployments/search/indexes/delete_test.go +++ b/internal/cli/deployments/search/indexes/delete_test.go @@ -20,14 +20,14 @@ import ( "context" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_RunLocal(t *testing.T) { diff --git a/internal/cli/deployments/search/indexes/describe.go b/internal/cli/deployments/search/indexes/describe.go index 45d3be8a7f..f08f9d3875 100644 --- a/internal/cli/deployments/search/indexes/describe.go +++ b/internal/cli/deployments/search/indexes/describe.go @@ -17,15 +17,15 @@ package indexes import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/search" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mongodbclient" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mongodbclient" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/deployments/search/indexes/describe_test.go b/internal/cli/deployments/search/indexes/describe_test.go index 7b95fe6fc8..44e6349360 100644 --- a/internal/cli/deployments/search/indexes/describe_test.go +++ b/internal/cli/deployments/search/indexes/describe_test.go @@ -21,15 +21,15 @@ import ( "context" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/deployments/search/indexes/indexes.go b/internal/cli/deployments/search/indexes/indexes.go index 29d94e13f8..db67cc4555 100644 --- a/internal/cli/deployments/search/indexes/indexes.go +++ b/internal/cli/deployments/search/indexes/indexes.go @@ -15,7 +15,7 @@ package indexes import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/deployments/search/indexes/indexes_test.go b/internal/cli/deployments/search/indexes/indexes_test.go index 61eb2e0ff4..ef4d4b035e 100644 --- a/internal/cli/deployments/search/indexes/indexes_test.go +++ b/internal/cli/deployments/search/indexes/indexes_test.go @@ -19,7 +19,7 @@ package indexes import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/deployments/search/indexes/list.go b/internal/cli/deployments/search/indexes/list.go index 8efbecb247..71eada3d23 100644 --- a/internal/cli/deployments/search/indexes/list.go +++ b/internal/cli/deployments/search/indexes/list.go @@ -17,15 +17,15 @@ package indexes import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/search" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mongodbclient" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mongodbclient" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/deployments/search/indexes/list_test.go b/internal/cli/deployments/search/indexes/list_test.go index 0d5ac0328a..2cf48e8ed4 100644 --- a/internal/cli/deployments/search/indexes/list_test.go +++ b/internal/cli/deployments/search/indexes/list_test.go @@ -22,16 +22,16 @@ import ( "fmt" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/search" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/deployments/search/search.go b/internal/cli/deployments/search/search.go index 09ae7016af..1870a823d6 100644 --- a/internal/cli/deployments/search/search.go +++ b/internal/cli/deployments/search/search.go @@ -15,7 +15,7 @@ package search import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/search/indexes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/search/indexes" "github.com/spf13/cobra" ) diff --git a/internal/cli/deployments/search/search_test.go b/internal/cli/deployments/search/search_test.go index 810ec20811..437ab3f87f 100644 --- a/internal/cli/deployments/search/search_test.go +++ b/internal/cli/deployments/search/search_test.go @@ -19,7 +19,7 @@ package search import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/deployments/setup.go b/internal/cli/deployments/setup.go index d26b78b1ce..6217748358 100644 --- a/internal/cli/deployments/setup.go +++ b/internal/cli/deployments/setup.go @@ -30,22 +30,22 @@ import ( "github.com/AlecAivazis/survey/v2" "github.com/briandowns/spinner" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/setup" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/workflows" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/compass" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mongodbclient" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mongosh" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/templatewriter" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/google/uuid" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/setup" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/workflows" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/compass" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mongodbclient" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mongosh" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/search" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/templatewriter" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/mongo-driver/bson" ) diff --git a/internal/cli/deployments/setup_test.go b/internal/cli/deployments/setup_test.go index 4268734881..7830a6a982 100644 --- a/internal/cli/deployments/setup_test.go +++ b/internal/cli/deployments/setup_test.go @@ -20,9 +20,9 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" ) func TestSetupOpts_PostRun(t *testing.T) { diff --git a/internal/cli/deployments/start.go b/internal/cli/deployments/start.go index e1cf717f0c..73681800a3 100644 --- a/internal/cli/deployments/start.go +++ b/internal/cli/deployments/start.go @@ -18,13 +18,13 @@ import ( "context" "errors" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/deployments/start_test.go b/internal/cli/deployments/start_test.go index c21759e2dd..4caba9abce 100644 --- a/internal/cli/deployments/start_test.go +++ b/internal/cli/deployments/start_test.go @@ -22,14 +22,14 @@ import ( "fmt" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/test/fixture" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/deployments/test/fixture/deployment.go b/internal/cli/deployments/test/fixture/deployment.go index 98ae6aef69..32161cbf4d 100644 --- a/internal/cli/deployments/test/fixture/deployment.go +++ b/internal/cli/deployments/test/fixture/deployment.go @@ -14,9 +14,9 @@ package fixture import ( + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) type MockDeploymentOpts struct { diff --git a/internal/cli/deployments/test/fixture/deployment_atlas.go b/internal/cli/deployments/test/fixture/deployment_atlas.go index 35001008b8..337c69d8d2 100644 --- a/internal/cli/deployments/test/fixture/deployment_atlas.go +++ b/internal/cli/deployments/test/fixture/deployment_atlas.go @@ -14,11 +14,11 @@ package fixture import ( + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/deployments/test/fixture/deployment_local.go b/internal/cli/deployments/test/fixture/deployment_local.go index 8cb39074cf..3b2c2f24b5 100644 --- a/internal/cli/deployments/test/fixture/deployment_local.go +++ b/internal/cli/deployments/test/fixture/deployment_local.go @@ -16,10 +16,10 @@ package fixture import ( "context" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" ) func NewMockLocalDeploymentOpts(ctrl *gomock.Controller, deploymentName string) MockDeploymentOpts { diff --git a/internal/cli/digest_config_opts.go b/internal/cli/digest_config_opts.go index 5e774e2c72..daeee8492c 100644 --- a/internal/cli/digest_config_opts.go +++ b/internal/cli/digest_config_opts.go @@ -15,7 +15,7 @@ package cli import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" ) type DigestConfigOpts struct { diff --git a/internal/cli/errors.go b/internal/cli/errors.go index 07811e2c04..5b4449aebe 100644 --- a/internal/cli/errors.go +++ b/internal/cli/errors.go @@ -18,7 +18,7 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" ) const requiredF = `required flag(s) "%s" not set` diff --git a/internal/cli/events/events.go b/internal/cli/events/events.go index 14ea32d1cf..9a2e3be41c 100644 --- a/internal/cli/events/events.go +++ b/internal/cli/events/events.go @@ -15,7 +15,7 @@ package events import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/events/events_test.go b/internal/cli/events/events_test.go index 28f490bfb6..56652381af 100644 --- a/internal/cli/events/events_test.go +++ b/internal/cli/events/events_test.go @@ -19,7 +19,7 @@ package events import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/events/list.go b/internal/cli/events/list.go index e4b2a6020d..755f863259 100644 --- a/internal/cli/events/list.go +++ b/internal/cli/events/list.go @@ -19,14 +19,14 @@ import ( "fmt" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/events/list_test.go b/internal/cli/events/list_test.go index caaaacde9c..c267eaa576 100644 --- a/internal/cli/events/list_test.go +++ b/internal/cli/events/list_test.go @@ -20,10 +20,10 @@ import ( "strings" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/events/orgs_list.go b/internal/cli/events/orgs_list.go index ddbd2c3365..9eb3db8b5b 100644 --- a/internal/cli/events/orgs_list.go +++ b/internal/cli/events/orgs_list.go @@ -17,13 +17,13 @@ package events import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/events/orgs_list_test.go b/internal/cli/events/orgs_list_test.go index 96b74bc8f1..bacfee309e 100644 --- a/internal/cli/events/orgs_list_test.go +++ b/internal/cli/events/orgs_list_test.go @@ -19,10 +19,10 @@ package events import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/events/projects_list.go b/internal/cli/events/projects_list.go index 14e6ec10db..b97098ec62 100644 --- a/internal/cli/events/projects_list.go +++ b/internal/cli/events/projects_list.go @@ -17,13 +17,13 @@ package events import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/events/projects_list_test.go b/internal/cli/events/projects_list_test.go index 0b10901228..f25e1d539a 100644 --- a/internal/cli/events/projects_list_test.go +++ b/internal/cli/events/projects_list_test.go @@ -20,10 +20,10 @@ import ( "strings" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/global_opts.go b/internal/cli/global_opts.go index 8d6165a0f4..dca22784e4 100644 --- a/internal/cli/global_opts.go +++ b/internal/cli/global_opts.go @@ -17,9 +17,9 @@ package cli import ( "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prerun" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prerun" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" "github.com/tangzero/inflector" ) diff --git a/internal/cli/input_opts.go b/internal/cli/input_opts.go index d8fb201785..07efb50063 100644 --- a/internal/cli/input_opts.go +++ b/internal/cli/input_opts.go @@ -18,7 +18,7 @@ import ( "io" "os" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/terminal" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/terminal" ) type InputOpts struct { diff --git a/internal/cli/integrations/create/create_test.go b/internal/cli/integrations/create/create_test.go index 2a2bd8fcf9..adbc1f0ea0 100644 --- a/internal/cli/integrations/create/create_test.go +++ b/internal/cli/integrations/create/create_test.go @@ -19,7 +19,7 @@ package create import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/integrations/create/datadog.go b/internal/cli/integrations/create/datadog.go index c96091f47e..43b3974481 100644 --- a/internal/cli/integrations/create/datadog.go +++ b/internal/cli/integrations/create/datadog.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/integrations/create/datadog_test.go b/internal/cli/integrations/create/datadog_test.go index 3a8b7f629a..415be061c0 100644 --- a/internal/cli/integrations/create/datadog_test.go +++ b/internal/cli/integrations/create/datadog_test.go @@ -19,10 +19,10 @@ package create import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/integrations/create/new_relic.go b/internal/cli/integrations/create/new_relic.go index c92fa2fea4..703ee1dd09 100644 --- a/internal/cli/integrations/create/new_relic.go +++ b/internal/cli/integrations/create/new_relic.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/integrations/create/new_relic_test.go b/internal/cli/integrations/create/new_relic_test.go index d7fe5218c0..82a94dda67 100644 --- a/internal/cli/integrations/create/new_relic_test.go +++ b/internal/cli/integrations/create/new_relic_test.go @@ -19,10 +19,10 @@ package create import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/integrations/create/ops_genie.go b/internal/cli/integrations/create/ops_genie.go index 09c56817e9..85b017ce31 100644 --- a/internal/cli/integrations/create/ops_genie.go +++ b/internal/cli/integrations/create/ops_genie.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/integrations/create/ops_genie_test.go b/internal/cli/integrations/create/ops_genie_test.go index 70f14e51fc..88d9a47fe0 100644 --- a/internal/cli/integrations/create/ops_genie_test.go +++ b/internal/cli/integrations/create/ops_genie_test.go @@ -19,10 +19,10 @@ package create import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/integrations/create/pager_duty.go b/internal/cli/integrations/create/pager_duty.go index 6363ccabbd..5047e16199 100644 --- a/internal/cli/integrations/create/pager_duty.go +++ b/internal/cli/integrations/create/pager_duty.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/integrations/create/pager_duty_test.go b/internal/cli/integrations/create/pager_duty_test.go index e08c2352ca..24579b444f 100644 --- a/internal/cli/integrations/create/pager_duty_test.go +++ b/internal/cli/integrations/create/pager_duty_test.go @@ -19,10 +19,10 @@ package create import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/integrations/create/victor_ops.go b/internal/cli/integrations/create/victor_ops.go index 1ea1691c26..6480b0a7f5 100644 --- a/internal/cli/integrations/create/victor_ops.go +++ b/internal/cli/integrations/create/victor_ops.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/integrations/create/victor_ops_test.go b/internal/cli/integrations/create/victor_ops_test.go index dbf159cdc9..261fae0ed9 100644 --- a/internal/cli/integrations/create/victor_ops_test.go +++ b/internal/cli/integrations/create/victor_ops_test.go @@ -19,10 +19,10 @@ package create import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/integrations/create/webhook.go b/internal/cli/integrations/create/webhook.go index 04457ef675..49e546a29e 100644 --- a/internal/cli/integrations/create/webhook.go +++ b/internal/cli/integrations/create/webhook.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/integrations/create/webhook_test.go b/internal/cli/integrations/create/webhook_test.go index 49153b2bce..560ceaf352 100644 --- a/internal/cli/integrations/create/webhook_test.go +++ b/internal/cli/integrations/create/webhook_test.go @@ -19,10 +19,10 @@ package create import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/integrations/delete.go b/internal/cli/integrations/delete.go index dd07193b84..176e929bef 100644 --- a/internal/cli/integrations/delete.go +++ b/internal/cli/integrations/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/integrations/delete_test.go b/internal/cli/integrations/delete_test.go index cfc9bde998..5f47b93ff4 100644 --- a/internal/cli/integrations/delete_test.go +++ b/internal/cli/integrations/delete_test.go @@ -19,11 +19,11 @@ package integrations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/integrations/describe.go b/internal/cli/integrations/describe.go index 66e6b1212a..494e45d207 100644 --- a/internal/cli/integrations/describe.go +++ b/internal/cli/integrations/describe.go @@ -19,12 +19,12 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/integrations/describe_test.go b/internal/cli/integrations/describe_test.go index 64283f7600..2988e1cde5 100644 --- a/internal/cli/integrations/describe_test.go +++ b/internal/cli/integrations/describe_test.go @@ -20,12 +20,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/integrations/integrations.go b/internal/cli/integrations/integrations.go index e90f7afec1..a07d1d8a66 100644 --- a/internal/cli/integrations/integrations.go +++ b/internal/cli/integrations/integrations.go @@ -15,8 +15,8 @@ package integrations import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/integrations/create" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/integrations/create" "github.com/spf13/cobra" ) diff --git a/internal/cli/integrations/integrations_test.go b/internal/cli/integrations/integrations_test.go index 2c9fc83694..cc08538f7d 100644 --- a/internal/cli/integrations/integrations_test.go +++ b/internal/cli/integrations/integrations_test.go @@ -19,7 +19,7 @@ package integrations import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/integrations/list.go b/internal/cli/integrations/list.go index d62c19f656..1fc578f97f 100644 --- a/internal/cli/integrations/list.go +++ b/internal/cli/integrations/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/integrations/list_test.go b/internal/cli/integrations/list_test.go index 590edb03ed..f018899483 100644 --- a/internal/cli/integrations/list_test.go +++ b/internal/cli/integrations/list_test.go @@ -20,12 +20,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/kubernetes/config/apply.go b/internal/cli/kubernetes/config/apply.go index ad1596753b..85543cbfef 100644 --- a/internal/cli/kubernetes/config/apply.go +++ b/internal/cli/kubernetes/config/apply.go @@ -20,13 +20,13 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/kubernetes/config/apply_test.go b/internal/cli/kubernetes/config/apply_test.go index 15797070e5..e1e53d02f9 100644 --- a/internal/cli/kubernetes/config/apply_test.go +++ b/internal/cli/kubernetes/config/apply_test.go @@ -19,8 +19,8 @@ package config import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" ) diff --git a/internal/cli/kubernetes/config/config_test.go b/internal/cli/kubernetes/config/config_test.go index 12d6b20a35..98f9a105c6 100644 --- a/internal/cli/kubernetes/config/config_test.go +++ b/internal/cli/kubernetes/config/config_test.go @@ -19,7 +19,7 @@ package config import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/kubernetes/config/generate.go b/internal/cli/kubernetes/config/generate.go index 73968ea954..8b43e8df23 100644 --- a/internal/cli/kubernetes/config/generate.go +++ b/internal/cli/kubernetes/config/generate.go @@ -18,15 +18,15 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/crds" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/crds" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/util/validation" ) diff --git a/internal/cli/kubernetes/config/generate_test.go b/internal/cli/kubernetes/config/generate_test.go index 94d4380290..1128c3c707 100644 --- a/internal/cli/kubernetes/config/generate_test.go +++ b/internal/cli/kubernetes/config/generate_test.go @@ -19,8 +19,8 @@ package config import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestGenerateBuilder(t *testing.T) { diff --git a/internal/cli/kubernetes/kubernetes.go b/internal/cli/kubernetes/kubernetes.go index a6fd92c6ac..be007b3992 100644 --- a/internal/cli/kubernetes/kubernetes.go +++ b/internal/cli/kubernetes/kubernetes.go @@ -15,8 +15,8 @@ package kubernetes import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/kubernetes/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/kubernetes/operator" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/kubernetes/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/kubernetes/operator" "github.com/spf13/cobra" ) diff --git a/internal/cli/kubernetes/kubernetes_test.go b/internal/cli/kubernetes/kubernetes_test.go index a4490133e0..816b58f291 100644 --- a/internal/cli/kubernetes/kubernetes_test.go +++ b/internal/cli/kubernetes/kubernetes_test.go @@ -19,7 +19,7 @@ package kubernetes import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/kubernetes/operator/install.go b/internal/cli/kubernetes/operator/install.go index 502c7cb77e..491af39fd8 100644 --- a/internal/cli/kubernetes/operator/install.go +++ b/internal/cli/kubernetes/operator/install.go @@ -18,18 +18,18 @@ import ( "context" "fmt" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/crds" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/version" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/google/go-github/v50/github" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/crds" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/version" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/util/validation" ) diff --git a/internal/cli/kubernetes/operator/install_test.go b/internal/cli/kubernetes/operator/install_test.go index b63022db56..2915f322d8 100644 --- a/internal/cli/kubernetes/operator/install_test.go +++ b/internal/cli/kubernetes/operator/install_test.go @@ -19,8 +19,8 @@ package operator import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestInstallBuilder(t *testing.T) { diff --git a/internal/cli/kubernetes/operator/operator_test.go b/internal/cli/kubernetes/operator/operator_test.go index 9a099bf247..8b80b6a663 100644 --- a/internal/cli/kubernetes/operator/operator_test.go +++ b/internal/cli/kubernetes/operator/operator_test.go @@ -19,7 +19,7 @@ package operator import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/list_opts.go b/internal/cli/list_opts.go index fd7af611ec..187834603a 100644 --- a/internal/cli/list_opts.go +++ b/internal/cli/list_opts.go @@ -15,7 +15,7 @@ package cli import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/livemigrations/create.go b/internal/cli/livemigrations/create.go index 129e7e9a9f..6567f81588 100644 --- a/internal/cli/livemigrations/create.go +++ b/internal/cli/livemigrations/create.go @@ -17,9 +17,9 @@ package livemigrations import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/livemigrations/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/livemigrations/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" "github.com/spf13/cobra" ) diff --git a/internal/cli/livemigrations/create_test.go b/internal/cli/livemigrations/create_test.go index 202bcbf74d..e929fe8f16 100644 --- a/internal/cli/livemigrations/create_test.go +++ b/internal/cli/livemigrations/create_test.go @@ -19,12 +19,12 @@ package livemigrations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/livemigrations/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/livemigrations/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/livemigrations/cutover.go b/internal/cli/livemigrations/cutover.go index 5dec1d9694..616de524b3 100644 --- a/internal/cli/livemigrations/cutover.go +++ b/internal/cli/livemigrations/cutover.go @@ -17,11 +17,11 @@ package livemigrations import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/livemigrations/cutover_test.go b/internal/cli/livemigrations/cutover_test.go index 82ac439d09..e9ead1ea9b 100644 --- a/internal/cli/livemigrations/cutover_test.go +++ b/internal/cli/livemigrations/cutover_test.go @@ -18,10 +18,10 @@ package livemigrations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestCutoverOpts_Run(t *testing.T) { diff --git a/internal/cli/livemigrations/describe.go b/internal/cli/livemigrations/describe.go index 5fca47ede0..3858fe848e 100644 --- a/internal/cli/livemigrations/describe.go +++ b/internal/cli/livemigrations/describe.go @@ -17,11 +17,11 @@ package livemigrations import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/livemigrations/describe_test.go b/internal/cli/livemigrations/describe_test.go index 13d95f23ca..3ae8430107 100644 --- a/internal/cli/livemigrations/describe_test.go +++ b/internal/cli/livemigrations/describe_test.go @@ -19,10 +19,10 @@ package livemigrations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/livemigrations/link/create.go b/internal/cli/livemigrations/link/create.go index 01c29897df..280d8df997 100644 --- a/internal/cli/livemigrations/link/create.go +++ b/internal/cli/livemigrations/link/create.go @@ -17,11 +17,11 @@ package link import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/livemigrations/link/create_test.go b/internal/cli/livemigrations/link/create_test.go index 876f11cdff..671267ca8f 100644 --- a/internal/cli/livemigrations/link/create_test.go +++ b/internal/cli/livemigrations/link/create_test.go @@ -18,11 +18,11 @@ package link import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/livemigrations/link/delete.go b/internal/cli/livemigrations/link/delete.go index c9491ccc89..af6fbb61cb 100644 --- a/internal/cli/livemigrations/link/delete.go +++ b/internal/cli/livemigrations/link/delete.go @@ -17,11 +17,11 @@ package link import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/livemigrations/link/delete_test.go b/internal/cli/livemigrations/link/delete_test.go index 1045dafcf2..557ce87020 100644 --- a/internal/cli/livemigrations/link/delete_test.go +++ b/internal/cli/livemigrations/link/delete_test.go @@ -19,11 +19,11 @@ package link import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestLinkTokenDeleteOpts_Run(t *testing.T) { diff --git a/internal/cli/livemigrations/link/link_test.go b/internal/cli/livemigrations/link/link_test.go index 4c26f248fc..52067b8062 100644 --- a/internal/cli/livemigrations/link/link_test.go +++ b/internal/cli/livemigrations/link/link_test.go @@ -19,7 +19,7 @@ package link import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/livemigrations/live_migrations.go b/internal/cli/livemigrations/live_migrations.go index 8ed465e6e8..67506b154e 100644 --- a/internal/cli/livemigrations/live_migrations.go +++ b/internal/cli/livemigrations/live_migrations.go @@ -15,9 +15,9 @@ package livemigrations import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/livemigrations/link" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/livemigrations/validation" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/livemigrations/link" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/livemigrations/validation" "github.com/spf13/cobra" ) diff --git a/internal/cli/livemigrations/live_migrations_test.go b/internal/cli/livemigrations/live_migrations_test.go index 2ecd7f57d9..42ceee21b7 100644 --- a/internal/cli/livemigrations/live_migrations_test.go +++ b/internal/cli/livemigrations/live_migrations_test.go @@ -19,7 +19,7 @@ package livemigrations import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/livemigrations/options/live_migrations_opts.go b/internal/cli/livemigrations/options/live_migrations_opts.go index 2ab191b7f7..bf1aa92165 100644 --- a/internal/cli/livemigrations/options/live_migrations_opts.go +++ b/internal/cli/livemigrations/options/live_migrations_opts.go @@ -19,11 +19,11 @@ import ( "fmt" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prompt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prompt" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/livemigrations/validation/create.go b/internal/cli/livemigrations/validation/create.go index 07dd961942..db001d3a81 100644 --- a/internal/cli/livemigrations/validation/create.go +++ b/internal/cli/livemigrations/validation/create.go @@ -17,9 +17,9 @@ package validation import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/livemigrations/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/livemigrations/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" "github.com/spf13/cobra" ) diff --git a/internal/cli/livemigrations/validation/create_test.go b/internal/cli/livemigrations/validation/create_test.go index ea31c8c052..13a8a9a20a 100644 --- a/internal/cli/livemigrations/validation/create_test.go +++ b/internal/cli/livemigrations/validation/create_test.go @@ -19,12 +19,12 @@ package validation import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/livemigrations/options" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/livemigrations/options" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/livemigrations/validation/describe.go b/internal/cli/livemigrations/validation/describe.go index cfb3db8542..accb5870d0 100644 --- a/internal/cli/livemigrations/validation/describe.go +++ b/internal/cli/livemigrations/validation/describe.go @@ -17,11 +17,11 @@ package validation import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/livemigrations/validation/describe_test.go b/internal/cli/livemigrations/validation/describe_test.go index d3af9ad221..ab47d58216 100644 --- a/internal/cli/livemigrations/validation/describe_test.go +++ b/internal/cli/livemigrations/validation/describe_test.go @@ -19,11 +19,11 @@ package validation import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/livemigrations/validation/validation_test.go b/internal/cli/livemigrations/validation/validation_test.go index a88d860097..b67120fa95 100644 --- a/internal/cli/livemigrations/validation/validation_test.go +++ b/internal/cli/livemigrations/validation/validation_test.go @@ -19,7 +19,7 @@ package validation import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/logs/decrypt.go b/internal/cli/logs/decrypt.go index ad6dd83622..eb0966045f 100644 --- a/internal/cli/logs/decrypt.go +++ b/internal/cli/logs/decrypt.go @@ -17,10 +17,10 @@ package logs import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/decryption" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/decryption" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" ) diff --git a/internal/cli/logs/decrypt_test.go b/internal/cli/logs/decrypt_test.go index ddabef19eb..6d0c62374b 100644 --- a/internal/cli/logs/decrypt_test.go +++ b/internal/cli/logs/decrypt_test.go @@ -19,8 +19,8 @@ package logs import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" ) diff --git a/internal/cli/logs/download.go b/internal/cli/logs/download.go index 490b14f7b0..21ef6deaad 100644 --- a/internal/cli/logs/download.go +++ b/internal/cli/logs/download.go @@ -24,12 +24,12 @@ import ( "slices" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/logs/download_test.go b/internal/cli/logs/download_test.go index 8f596aa9b6..57ca267657 100644 --- a/internal/cli/logs/download_test.go +++ b/internal/cli/logs/download_test.go @@ -21,10 +21,10 @@ import ( "strings" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/cli/logs/logs.go b/internal/cli/logs/logs.go index 5b7a998d12..a61453aba7 100644 --- a/internal/cli/logs/logs.go +++ b/internal/cli/logs/logs.go @@ -15,8 +15,8 @@ package logs import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/decryption" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/decryption" "github.com/spf13/cobra" ) diff --git a/internal/cli/logs/logs_test.go b/internal/cli/logs/logs_test.go index c7ad131158..a02e6f3570 100644 --- a/internal/cli/logs/logs_test.go +++ b/internal/cli/logs/logs_test.go @@ -19,7 +19,7 @@ package logs import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/maintenance/clear.go b/internal/cli/maintenance/clear.go index 095bcfcae2..700079bcc7 100644 --- a/internal/cli/maintenance/clear.go +++ b/internal/cli/maintenance/clear.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prompt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prompt" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/maintenance/clear_test.go b/internal/cli/maintenance/clear_test.go index 6bd935cbe4..a657056d80 100644 --- a/internal/cli/maintenance/clear_test.go +++ b/internal/cli/maintenance/clear_test.go @@ -19,11 +19,11 @@ package maintenance import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestClearOpts_Run(t *testing.T) { diff --git a/internal/cli/maintenance/defer.go b/internal/cli/maintenance/defer.go index b12e2577c8..5645218dc0 100644 --- a/internal/cli/maintenance/defer.go +++ b/internal/cli/maintenance/defer.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/maintenance/defer_test.go b/internal/cli/maintenance/defer_test.go index 60521e19eb..dfbf7e29df 100644 --- a/internal/cli/maintenance/defer_test.go +++ b/internal/cli/maintenance/defer_test.go @@ -19,10 +19,10 @@ package maintenance import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDeferOpts_Run(t *testing.T) { diff --git a/internal/cli/maintenance/describe.go b/internal/cli/maintenance/describe.go index faf6b83b04..fc26302a1b 100644 --- a/internal/cli/maintenance/describe.go +++ b/internal/cli/maintenance/describe.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/maintenance/describe_test.go b/internal/cli/maintenance/describe_test.go index 0d0da71531..b18cfbcc44 100644 --- a/internal/cli/maintenance/describe_test.go +++ b/internal/cli/maintenance/describe_test.go @@ -19,10 +19,10 @@ package maintenance import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/maintenance/maintenance.go b/internal/cli/maintenance/maintenance.go index a98a5da686..3518da2ef1 100644 --- a/internal/cli/maintenance/maintenance.go +++ b/internal/cli/maintenance/maintenance.go @@ -15,7 +15,7 @@ package maintenance import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/maintenance/maintenance_test.go b/internal/cli/maintenance/maintenance_test.go index 51de51e183..10f0a0c347 100644 --- a/internal/cli/maintenance/maintenance_test.go +++ b/internal/cli/maintenance/maintenance_test.go @@ -19,7 +19,7 @@ package maintenance import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/maintenance/update.go b/internal/cli/maintenance/update.go index 99a2c2a7f7..523fd5c776 100644 --- a/internal/cli/maintenance/update.go +++ b/internal/cli/maintenance/update.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/maintenance/update_test.go b/internal/cli/maintenance/update_test.go index c751a2ac12..69fe76f2bf 100644 --- a/internal/cli/maintenance/update_test.go +++ b/internal/cli/maintenance/update_test.go @@ -19,10 +19,10 @@ package maintenance import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestUpdateOpts_Run(t *testing.T) { diff --git a/internal/cli/metrics/databases/databases.go b/internal/cli/metrics/databases/databases.go index 729dac575f..6f8dcdc6e7 100644 --- a/internal/cli/metrics/databases/databases.go +++ b/internal/cli/metrics/databases/databases.go @@ -15,7 +15,7 @@ package databases import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/metrics/databases/databases_test.go b/internal/cli/metrics/databases/databases_test.go index afcedeec46..19ca8670c1 100644 --- a/internal/cli/metrics/databases/databases_test.go +++ b/internal/cli/metrics/databases/databases_test.go @@ -19,7 +19,7 @@ package databases import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/metrics/databases/describe.go b/internal/cli/metrics/databases/describe.go index a4284ab987..16764a3a30 100644 --- a/internal/cli/metrics/databases/describe.go +++ b/internal/cli/metrics/databases/describe.go @@ -18,12 +18,12 @@ import ( "context" "strconv" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/metrics/databases/describe_test.go b/internal/cli/metrics/databases/describe_test.go index a92986d69e..9ac9646a6f 100644 --- a/internal/cli/metrics/databases/describe_test.go +++ b/internal/cli/metrics/databases/describe_test.go @@ -19,11 +19,11 @@ package databases import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/metrics/databases/list.go b/internal/cli/metrics/databases/list.go index 5a81982658..11e5010df7 100644 --- a/internal/cli/metrics/databases/list.go +++ b/internal/cli/metrics/databases/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/metrics/databases/list_test.go b/internal/cli/metrics/databases/list_test.go index e6a605b397..b5fab84eae 100644 --- a/internal/cli/metrics/databases/list_test.go +++ b/internal/cli/metrics/databases/list_test.go @@ -19,11 +19,11 @@ package databases import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/metrics/disks/describe.go b/internal/cli/metrics/disks/describe.go index aaefe0d264..61a0b34270 100644 --- a/internal/cli/metrics/disks/describe.go +++ b/internal/cli/metrics/disks/describe.go @@ -19,12 +19,12 @@ import ( "fmt" "strconv" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/metrics/disks/describe_test.go b/internal/cli/metrics/disks/describe_test.go index 01d4939e07..ce4bfed624 100644 --- a/internal/cli/metrics/disks/describe_test.go +++ b/internal/cli/metrics/disks/describe_test.go @@ -19,10 +19,10 @@ package disks import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/metrics/disks/disks.go b/internal/cli/metrics/disks/disks.go index 9ba3436c69..a4b8abae2c 100644 --- a/internal/cli/metrics/disks/disks.go +++ b/internal/cli/metrics/disks/disks.go @@ -15,7 +15,7 @@ package disks import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/metrics/disks/disks_test.go b/internal/cli/metrics/disks/disks_test.go index 03f947c09a..cb2c2fc98f 100644 --- a/internal/cli/metrics/disks/disks_test.go +++ b/internal/cli/metrics/disks/disks_test.go @@ -19,7 +19,7 @@ package disks import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/metrics/disks/list.go b/internal/cli/metrics/disks/list.go index 9ef994b873..75e3355a5e 100644 --- a/internal/cli/metrics/disks/list.go +++ b/internal/cli/metrics/disks/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/metrics/disks/list_test.go b/internal/cli/metrics/disks/list_test.go index 0f0c6778c9..ab97010cc6 100644 --- a/internal/cli/metrics/disks/list_test.go +++ b/internal/cli/metrics/disks/list_test.go @@ -19,11 +19,11 @@ package disks import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/metrics/metrics.go b/internal/cli/metrics/metrics.go index d7fe789bc1..a394e24697 100644 --- a/internal/cli/metrics/metrics.go +++ b/internal/cli/metrics/metrics.go @@ -15,10 +15,10 @@ package metrics import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/metrics/databases" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/metrics/disks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/metrics/processes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/metrics/databases" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/metrics/disks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/metrics/processes" "github.com/spf13/cobra" ) diff --git a/internal/cli/metrics/metrics_test.go b/internal/cli/metrics/metrics_test.go index c99409f3c6..5a02a5f82a 100644 --- a/internal/cli/metrics/metrics_test.go +++ b/internal/cli/metrics/metrics_test.go @@ -19,7 +19,7 @@ package metrics import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/metrics/processes/processes.go b/internal/cli/metrics/processes/processes.go index efb6383f44..829e14b848 100644 --- a/internal/cli/metrics/processes/processes.go +++ b/internal/cli/metrics/processes/processes.go @@ -19,12 +19,12 @@ import ( "fmt" "strconv" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/metrics/processes/processes_test.go b/internal/cli/metrics/processes/processes_test.go index c8a5f4bc6e..4770258458 100644 --- a/internal/cli/metrics/processes/processes_test.go +++ b/internal/cli/metrics/processes/processes_test.go @@ -19,10 +19,10 @@ package processes import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/metrics_opt.go b/internal/cli/metrics_opt.go index 7f3f89f5fb..aae36c84f3 100644 --- a/internal/cli/metrics_opt.go +++ b/internal/cli/metrics_opt.go @@ -19,9 +19,9 @@ import ( "strconv" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/networking/containers/containers.go b/internal/cli/networking/containers/containers.go index 4321846a16..5922534a8d 100644 --- a/internal/cli/networking/containers/containers.go +++ b/internal/cli/networking/containers/containers.go @@ -15,7 +15,7 @@ package containers import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/networking/containers/delete.go b/internal/cli/networking/containers/delete.go index ef6f0ef29c..d908521060 100644 --- a/internal/cli/networking/containers/delete.go +++ b/internal/cli/networking/containers/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/networking/containers/delete_test.go b/internal/cli/networking/containers/delete_test.go index 27628bbd2e..b8b319e3ee 100644 --- a/internal/cli/networking/containers/delete_test.go +++ b/internal/cli/networking/containers/delete_test.go @@ -19,9 +19,9 @@ package containers import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/networking/containers/list.go b/internal/cli/networking/containers/list.go index b358098ee2..e81ee50a81 100644 --- a/internal/cli/networking/containers/list.go +++ b/internal/cli/networking/containers/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" atlas "go.mongodb.org/atlas/mongodbatlas" diff --git a/internal/cli/networking/containers/list_test.go b/internal/cli/networking/containers/list_test.go index 6249eda81b..eae0288fc1 100644 --- a/internal/cli/networking/containers/list_test.go +++ b/internal/cli/networking/containers/list_test.go @@ -20,12 +20,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/networking/networking.go b/internal/cli/networking/networking.go index b3e38136a4..e44d9288ee 100644 --- a/internal/cli/networking/networking.go +++ b/internal/cli/networking/networking.go @@ -15,8 +15,8 @@ package networking import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/networking/containers" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/networking/peering" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/networking/containers" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/networking/peering" "github.com/spf13/cobra" ) diff --git a/internal/cli/networking/peering/create/aws.go b/internal/cli/networking/peering/create/aws.go index 668fceca01..14986b946f 100644 --- a/internal/cli/networking/peering/create/aws.go +++ b/internal/cli/networking/peering/create/aws.go @@ -19,13 +19,13 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/networking/peering/create/aws_test.go b/internal/cli/networking/peering/create/aws_test.go index 06eb81a434..d17b1f423a 100644 --- a/internal/cli/networking/peering/create/aws_test.go +++ b/internal/cli/networking/peering/create/aws_test.go @@ -19,11 +19,11 @@ package create import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/networking/peering/create/azure.go b/internal/cli/networking/peering/create/azure.go index 79ebfee33d..47782e2553 100644 --- a/internal/cli/networking/peering/create/azure.go +++ b/internal/cli/networking/peering/create/azure.go @@ -19,13 +19,13 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/networking/peering/create/azure_test.go b/internal/cli/networking/peering/create/azure_test.go index 7fd7ebbbbb..89ce218fe2 100644 --- a/internal/cli/networking/peering/create/azure_test.go +++ b/internal/cli/networking/peering/create/azure_test.go @@ -19,11 +19,11 @@ package create import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/networking/peering/create/gcp.go b/internal/cli/networking/peering/create/gcp.go index 593ba5d2ff..ca0a9383ea 100644 --- a/internal/cli/networking/peering/create/gcp.go +++ b/internal/cli/networking/peering/create/gcp.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/networking/peering/create/gcp_test.go b/internal/cli/networking/peering/create/gcp_test.go index df1cace2d1..aa3c4fe128 100644 --- a/internal/cli/networking/peering/create/gcp_test.go +++ b/internal/cli/networking/peering/create/gcp_test.go @@ -19,11 +19,11 @@ package create import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/networking/peering/delete.go b/internal/cli/networking/peering/delete.go index 5e08d08e33..0803605aa3 100644 --- a/internal/cli/networking/peering/delete.go +++ b/internal/cli/networking/peering/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/networking/peering/delete_test.go b/internal/cli/networking/peering/delete_test.go index 6820b296ee..37ced29c85 100644 --- a/internal/cli/networking/peering/delete_test.go +++ b/internal/cli/networking/peering/delete_test.go @@ -19,9 +19,9 @@ package peering import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/networking/peering/list.go b/internal/cli/networking/peering/list.go index 9998bbb579..a4a52f9a98 100644 --- a/internal/cli/networking/peering/list.go +++ b/internal/cli/networking/peering/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/networking/peering/list_test.go b/internal/cli/networking/peering/list_test.go index e77cbf4c8f..572113904c 100644 --- a/internal/cli/networking/peering/list_test.go +++ b/internal/cli/networking/peering/list_test.go @@ -20,12 +20,12 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/networking/peering/peering.go b/internal/cli/networking/peering/peering.go index 10cad1d26d..ae3d00fb31 100644 --- a/internal/cli/networking/peering/peering.go +++ b/internal/cli/networking/peering/peering.go @@ -15,7 +15,7 @@ package peering import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/networking/peering/create" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/networking/peering/create" "github.com/spf13/cobra" ) diff --git a/internal/cli/networking/peering/watch.go b/internal/cli/networking/peering/watch.go index d55c83dd76..ae549b27b2 100644 --- a/internal/cli/networking/peering/watch.go +++ b/internal/cli/networking/peering/watch.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/networking/peering/watch_test.go b/internal/cli/networking/peering/watch_test.go index 5c3e0efdea..57ddaf7883 100644 --- a/internal/cli/networking/peering/watch_test.go +++ b/internal/cli/networking/peering/watch_test.go @@ -19,11 +19,11 @@ package peering import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/apikeys/accesslists/access_lists.go b/internal/cli/organizations/apikeys/accesslists/access_lists.go index d5a6c4ba80..ae984f0293 100644 --- a/internal/cli/organizations/apikeys/accesslists/access_lists.go +++ b/internal/cli/organizations/apikeys/accesslists/access_lists.go @@ -15,7 +15,7 @@ package accesslists import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/organizations/apikeys/accesslists/access_lists_test.go b/internal/cli/organizations/apikeys/accesslists/access_lists_test.go index 3d7f0704d7..9f9dbc0e65 100644 --- a/internal/cli/organizations/apikeys/accesslists/access_lists_test.go +++ b/internal/cli/organizations/apikeys/accesslists/access_lists_test.go @@ -19,7 +19,7 @@ package accesslists import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/organizations/apikeys/accesslists/create.go b/internal/cli/organizations/apikeys/accesslists/create.go index 9ad9192156..78d3276a21 100644 --- a/internal/cli/organizations/apikeys/accesslists/create.go +++ b/internal/cli/organizations/apikeys/accesslists/create.go @@ -19,11 +19,11 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/apikeys/accesslists/create_test.go b/internal/cli/organizations/apikeys/accesslists/create_test.go index 13a48e7fe3..a1857ef017 100644 --- a/internal/cli/organizations/apikeys/accesslists/create_test.go +++ b/internal/cli/organizations/apikeys/accesslists/create_test.go @@ -19,10 +19,10 @@ package accesslists import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/apikeys/accesslists/delete.go b/internal/cli/organizations/apikeys/accesslists/delete.go index 48c685a2a6..1b282b7e94 100644 --- a/internal/cli/organizations/apikeys/accesslists/delete.go +++ b/internal/cli/organizations/apikeys/accesslists/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/organizations/apikeys/accesslists/delete_test.go b/internal/cli/organizations/apikeys/accesslists/delete_test.go index faecfbf372..4768bf84a2 100644 --- a/internal/cli/organizations/apikeys/accesslists/delete_test.go +++ b/internal/cli/organizations/apikeys/accesslists/delete_test.go @@ -19,11 +19,11 @@ package accesslists import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/organizations/apikeys/accesslists/list.go b/internal/cli/organizations/apikeys/accesslists/list.go index 5560f58eaf..d5d25d4ea3 100644 --- a/internal/cli/organizations/apikeys/accesslists/list.go +++ b/internal/cli/organizations/apikeys/accesslists/list.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/apikeys/accesslists/list_test.go b/internal/cli/organizations/apikeys/accesslists/list_test.go index 10d1113a31..1cbf0e3699 100644 --- a/internal/cli/organizations/apikeys/accesslists/list_test.go +++ b/internal/cli/organizations/apikeys/accesslists/list_test.go @@ -19,11 +19,11 @@ package accesslists import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/apikeys/apikeys.go b/internal/cli/organizations/apikeys/apikeys.go index caa44c2cb8..aac2d3eff5 100644 --- a/internal/cli/organizations/apikeys/apikeys.go +++ b/internal/cli/organizations/apikeys/apikeys.go @@ -15,8 +15,8 @@ package apikeys import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/organizations/apikeys/accesslists" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/organizations/apikeys/accesslists" "github.com/spf13/cobra" ) diff --git a/internal/cli/organizations/apikeys/create.go b/internal/cli/organizations/apikeys/create.go index ca7944d74e..8a80aeceba 100644 --- a/internal/cli/organizations/apikeys/create.go +++ b/internal/cli/organizations/apikeys/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/apikeys/create_test.go b/internal/cli/organizations/apikeys/create_test.go index 30c52ba372..5d262a10dc 100644 --- a/internal/cli/organizations/apikeys/create_test.go +++ b/internal/cli/organizations/apikeys/create_test.go @@ -20,9 +20,9 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/organizations/apikeys/delete.go b/internal/cli/organizations/apikeys/delete.go index 3498afaa8e..ce58162676 100644 --- a/internal/cli/organizations/apikeys/delete.go +++ b/internal/cli/organizations/apikeys/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/organizations/apikeys/delete_test.go b/internal/cli/organizations/apikeys/delete_test.go index cb1921f2a2..5bf19d23cf 100644 --- a/internal/cli/organizations/apikeys/delete_test.go +++ b/internal/cli/organizations/apikeys/delete_test.go @@ -19,9 +19,9 @@ package apikeys import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/organizations/apikeys/describe.go b/internal/cli/organizations/apikeys/describe.go index c9ad288195..129b6afe37 100644 --- a/internal/cli/organizations/apikeys/describe.go +++ b/internal/cli/organizations/apikeys/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/organizations/apikeys/describe_test.go b/internal/cli/organizations/apikeys/describe_test.go index 1c2fb8fb99..40f03e1c3a 100644 --- a/internal/cli/organizations/apikeys/describe_test.go +++ b/internal/cli/organizations/apikeys/describe_test.go @@ -19,10 +19,10 @@ package apikeys import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/apikeys/list.go b/internal/cli/organizations/apikeys/list.go index eec0b9cda4..f1a82d1f32 100644 --- a/internal/cli/organizations/apikeys/list.go +++ b/internal/cli/organizations/apikeys/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/organizations/apikeys/list_test.go b/internal/cli/organizations/apikeys/list_test.go index 8f22233173..415e62a531 100644 --- a/internal/cli/organizations/apikeys/list_test.go +++ b/internal/cli/organizations/apikeys/list_test.go @@ -19,10 +19,10 @@ package apikeys import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/apikeys/update.go b/internal/cli/organizations/apikeys/update.go index 737ed73a84..411d2ce9d0 100644 --- a/internal/cli/organizations/apikeys/update.go +++ b/internal/cli/organizations/apikeys/update.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/apikeys/update_test.go b/internal/cli/organizations/apikeys/update_test.go index 86c4745cb1..fda6eb27e6 100644 --- a/internal/cli/organizations/apikeys/update_test.go +++ b/internal/cli/organizations/apikeys/update_test.go @@ -19,9 +19,9 @@ package apikeys import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/create_atlas.go b/internal/cli/organizations/create_atlas.go index 0e7ddccd88..375b1129b8 100644 --- a/internal/cli/organizations/create_atlas.go +++ b/internal/cli/organizations/create_atlas.go @@ -19,13 +19,13 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prerun" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prerun" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/create_atlas_test.go b/internal/cli/organizations/create_atlas_test.go index b73fffcc82..0fb42298cb 100644 --- a/internal/cli/organizations/create_atlas_test.go +++ b/internal/cli/organizations/create_atlas_test.go @@ -19,10 +19,10 @@ package organizations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/delete.go b/internal/cli/organizations/delete.go index 38a73e9ae8..8fdf131522 100644 --- a/internal/cli/organizations/delete.go +++ b/internal/cli/organizations/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/organizations/delete_test.go b/internal/cli/organizations/delete_test.go index f96d7765dc..287937f448 100644 --- a/internal/cli/organizations/delete_test.go +++ b/internal/cli/organizations/delete_test.go @@ -19,11 +19,11 @@ package organizations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/organizations/describe.go b/internal/cli/organizations/describe.go index df417a2b1c..d1fc60810c 100644 --- a/internal/cli/organizations/describe.go +++ b/internal/cli/organizations/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/organizations/describe_test.go b/internal/cli/organizations/describe_test.go index f75efc05dd..7db592d65e 100644 --- a/internal/cli/organizations/describe_test.go +++ b/internal/cli/organizations/describe_test.go @@ -20,10 +20,10 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/invitations/delete.go b/internal/cli/organizations/invitations/delete.go index 9cb33e5306..55b81a91c9 100644 --- a/internal/cli/organizations/invitations/delete.go +++ b/internal/cli/organizations/invitations/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/organizations/invitations/delete_test.go b/internal/cli/organizations/invitations/delete_test.go index e64a171a51..deb11d7eb2 100644 --- a/internal/cli/organizations/invitations/delete_test.go +++ b/internal/cli/organizations/invitations/delete_test.go @@ -19,11 +19,11 @@ package invitations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/organizations/invitations/describe.go b/internal/cli/organizations/invitations/describe.go index 7e6ed24c71..e5feaa6f54 100644 --- a/internal/cli/organizations/invitations/describe.go +++ b/internal/cli/organizations/invitations/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/organizations/invitations/describe_test.go b/internal/cli/organizations/invitations/describe_test.go index 630adfe915..4c0c03f6e3 100644 --- a/internal/cli/organizations/invitations/describe_test.go +++ b/internal/cli/organizations/invitations/describe_test.go @@ -19,11 +19,11 @@ package invitations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/invitations/invitations.go b/internal/cli/organizations/invitations/invitations.go index 4e1ca24b2a..f0f6795405 100644 --- a/internal/cli/organizations/invitations/invitations.go +++ b/internal/cli/organizations/invitations/invitations.go @@ -15,7 +15,7 @@ package invitations import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/organizations/invitations/invitations_test.go b/internal/cli/organizations/invitations/invitations_test.go index 4b8f34d9c8..a6da71c0c9 100644 --- a/internal/cli/organizations/invitations/invitations_test.go +++ b/internal/cli/organizations/invitations/invitations_test.go @@ -19,7 +19,7 @@ package invitations import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/organizations/invitations/invite.go b/internal/cli/organizations/invitations/invite.go index dacadfa8da..b28a1d4457 100644 --- a/internal/cli/organizations/invitations/invite.go +++ b/internal/cli/organizations/invitations/invite.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/invitations/invite_test.go b/internal/cli/organizations/invitations/invite_test.go index 99c000daf9..5797676d14 100644 --- a/internal/cli/organizations/invitations/invite_test.go +++ b/internal/cli/organizations/invitations/invite_test.go @@ -19,10 +19,10 @@ package invitations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/invitations/list.go b/internal/cli/organizations/invitations/list.go index c8e801b588..c948642f48 100644 --- a/internal/cli/organizations/invitations/list.go +++ b/internal/cli/organizations/invitations/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/invitations/list_test.go b/internal/cli/organizations/invitations/list_test.go index c199d27ea8..231c06196f 100644 --- a/internal/cli/organizations/invitations/list_test.go +++ b/internal/cli/organizations/invitations/list_test.go @@ -19,10 +19,10 @@ package invitations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/invitations/update.go b/internal/cli/organizations/invitations/update.go index 4610f96afc..63edcc59c3 100644 --- a/internal/cli/organizations/invitations/update.go +++ b/internal/cli/organizations/invitations/update.go @@ -19,11 +19,11 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/invitations/update_test.go b/internal/cli/organizations/invitations/update_test.go index e4e4a8673c..1ca5556cc5 100644 --- a/internal/cli/organizations/invitations/update_test.go +++ b/internal/cli/organizations/invitations/update_test.go @@ -19,11 +19,11 @@ package invitations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/list.go b/internal/cli/organizations/list.go index 87b93e556d..014959a972 100644 --- a/internal/cli/organizations/list.go +++ b/internal/cli/organizations/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/list_test.go b/internal/cli/organizations/list_test.go index c8e7514590..8d4c39f305 100644 --- a/internal/cli/organizations/list_test.go +++ b/internal/cli/organizations/list_test.go @@ -19,10 +19,10 @@ package organizations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/organizations/organizations.go b/internal/cli/organizations/organizations.go index 4b1f3d930f..6f7b65af86 100644 --- a/internal/cli/organizations/organizations.go +++ b/internal/cli/organizations/organizations.go @@ -15,10 +15,10 @@ package organizations import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/organizations/apikeys" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/organizations/invitations" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/organizations/users" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/organizations/apikeys" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/organizations/invitations" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/organizations/users" "github.com/spf13/cobra" ) diff --git a/internal/cli/organizations/organizations_test.go b/internal/cli/organizations/organizations_test.go index 1d0f20dad1..1b4dc34bad 100644 --- a/internal/cli/organizations/organizations_test.go +++ b/internal/cli/organizations/organizations_test.go @@ -19,7 +19,7 @@ package organizations import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/organizations/users/list.go b/internal/cli/organizations/users/list.go index 8d3b254852..75ad2b421e 100644 --- a/internal/cli/organizations/users/list.go +++ b/internal/cli/organizations/users/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/organizations/users/list_test.go b/internal/cli/organizations/users/list_test.go index 8c7543ed22..08802d538b 100644 --- a/internal/cli/organizations/users/list_test.go +++ b/internal/cli/organizations/users/list_test.go @@ -19,12 +19,12 @@ package users import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/output_opts.go b/internal/cli/output_opts.go index ad9f2fd4b8..79bd9df85c 100644 --- a/internal/cli/output_opts.go +++ b/internal/cli/output_opts.go @@ -23,11 +23,11 @@ import ( "strings" "github.com/PaesslerAG/jsonpath" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/jsonpathwriter" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/jsonwriter" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/templatewriter" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/terminal" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/jsonpathwriter" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/jsonwriter" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/templatewriter" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/terminal" "github.com/spf13/cobra" ) diff --git a/internal/cli/output_opts_test.go b/internal/cli/output_opts_test.go index d8f5320b83..0d7ff12665 100644 --- a/internal/cli/output_opts_test.go +++ b/internal/cli/output_opts_test.go @@ -21,7 +21,7 @@ import ( "reflect" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/performanceadvisor/namespaces/list.go b/internal/cli/performanceadvisor/namespaces/list.go index cdc37d4652..e06636cfea 100644 --- a/internal/cli/performanceadvisor/namespaces/list.go +++ b/internal/cli/performanceadvisor/namespaces/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/performanceadvisor/namespaces/list_test.go b/internal/cli/performanceadvisor/namespaces/list_test.go index 46ce83f92f..218bc9089e 100644 --- a/internal/cli/performanceadvisor/namespaces/list_test.go +++ b/internal/cli/performanceadvisor/namespaces/list_test.go @@ -19,11 +19,11 @@ package namespaces import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/performanceadvisor/performance_advisor.go b/internal/cli/performanceadvisor/performance_advisor.go index 85a37ae86b..bfc93d6f38 100644 --- a/internal/cli/performanceadvisor/performance_advisor.go +++ b/internal/cli/performanceadvisor/performance_advisor.go @@ -15,11 +15,11 @@ package performanceadvisor import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/performanceadvisor/namespaces" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/performanceadvisor/slowoperationthreshold" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/performanceadvisor/slowquerylogs" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/performanceadvisor/suggestedindexes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/performanceadvisor/namespaces" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/performanceadvisor/slowoperationthreshold" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/performanceadvisor/slowquerylogs" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/performanceadvisor/suggestedindexes" "github.com/spf13/cobra" ) diff --git a/internal/cli/performanceadvisor/performance_advisor_test.go b/internal/cli/performanceadvisor/performance_advisor_test.go index ac1efb14a6..1eb3f380f4 100644 --- a/internal/cli/performanceadvisor/performance_advisor_test.go +++ b/internal/cli/performanceadvisor/performance_advisor_test.go @@ -19,7 +19,7 @@ package performanceadvisor import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/performanceadvisor/slowoperationthreshold/disable.go b/internal/cli/performanceadvisor/slowoperationthreshold/disable.go index 9f5e9aa198..1f460254ba 100644 --- a/internal/cli/performanceadvisor/slowoperationthreshold/disable.go +++ b/internal/cli/performanceadvisor/slowoperationthreshold/disable.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/performanceadvisor/slowoperationthreshold/disable_test.go b/internal/cli/performanceadvisor/slowoperationthreshold/disable_test.go index 86d250c122..efa0a5bcf7 100644 --- a/internal/cli/performanceadvisor/slowoperationthreshold/disable_test.go +++ b/internal/cli/performanceadvisor/slowoperationthreshold/disable_test.go @@ -19,10 +19,10 @@ package slowoperationthreshold import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDisable_Run(t *testing.T) { diff --git a/internal/cli/performanceadvisor/slowoperationthreshold/enable.go b/internal/cli/performanceadvisor/slowoperationthreshold/enable.go index 361c065ec2..bd3455cc33 100644 --- a/internal/cli/performanceadvisor/slowoperationthreshold/enable.go +++ b/internal/cli/performanceadvisor/slowoperationthreshold/enable.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/performanceadvisor/slowoperationthreshold/enable_test.go b/internal/cli/performanceadvisor/slowoperationthreshold/enable_test.go index 9481647ee5..55e33f7138 100644 --- a/internal/cli/performanceadvisor/slowoperationthreshold/enable_test.go +++ b/internal/cli/performanceadvisor/slowoperationthreshold/enable_test.go @@ -19,10 +19,10 @@ package slowoperationthreshold import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestEnable_Run(t *testing.T) { diff --git a/internal/cli/performanceadvisor/slowoperationthreshold/slow_operation_threshold.go b/internal/cli/performanceadvisor/slowoperationthreshold/slow_operation_threshold.go index 641d5ab371..200c70c53a 100644 --- a/internal/cli/performanceadvisor/slowoperationthreshold/slow_operation_threshold.go +++ b/internal/cli/performanceadvisor/slowoperationthreshold/slow_operation_threshold.go @@ -15,7 +15,7 @@ package slowoperationthreshold import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/performanceadvisor/slowoperationthreshold/slow_operation_threshold_test.go b/internal/cli/performanceadvisor/slowoperationthreshold/slow_operation_threshold_test.go index 1b6ff63c1c..0210abfdbe 100644 --- a/internal/cli/performanceadvisor/slowoperationthreshold/slow_operation_threshold_test.go +++ b/internal/cli/performanceadvisor/slowoperationthreshold/slow_operation_threshold_test.go @@ -19,7 +19,7 @@ package slowoperationthreshold import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/performanceadvisor/slowquerylogs/list.go b/internal/cli/performanceadvisor/slowquerylogs/list.go index 6a05fe6424..9154ba9c0c 100644 --- a/internal/cli/performanceadvisor/slowquerylogs/list.go +++ b/internal/cli/performanceadvisor/slowquerylogs/list.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/processes" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/processes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/performanceadvisor/slowquerylogs/list_test.go b/internal/cli/performanceadvisor/slowquerylogs/list_test.go index b101779c97..671ee6c873 100644 --- a/internal/cli/performanceadvisor/slowquerylogs/list_test.go +++ b/internal/cli/performanceadvisor/slowquerylogs/list_test.go @@ -20,11 +20,11 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/performanceadvisor/suggestedindexes/list.go b/internal/cli/performanceadvisor/suggestedindexes/list.go index 02440c28ed..547f1639c4 100644 --- a/internal/cli/performanceadvisor/suggestedindexes/list.go +++ b/internal/cli/performanceadvisor/suggestedindexes/list.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/processes" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/processes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/performanceadvisor/suggestedindexes/list_test.go b/internal/cli/performanceadvisor/suggestedindexes/list_test.go index 4f6fadf3ea..b374ffaa93 100644 --- a/internal/cli/performanceadvisor/suggestedindexes/list_test.go +++ b/internal/cli/performanceadvisor/suggestedindexes/list_test.go @@ -19,11 +19,11 @@ package suggestedindexes import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/aws/aws.go b/internal/cli/privateendpoints/aws/aws.go index 729006ae56..09fd2dcadb 100644 --- a/internal/cli/privateendpoints/aws/aws.go +++ b/internal/cli/privateendpoints/aws/aws.go @@ -15,7 +15,7 @@ package aws import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/aws/interfaces" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/aws/interfaces" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/aws/aws_test.go b/internal/cli/privateendpoints/aws/aws_test.go index 51a1616adf..6736d16271 100644 --- a/internal/cli/privateendpoints/aws/aws_test.go +++ b/internal/cli/privateendpoints/aws/aws_test.go @@ -19,7 +19,7 @@ package aws import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/privateendpoints/aws/create.go b/internal/cli/privateendpoints/aws/create.go index 2f3f871003..bd4a5439ac 100644 --- a/internal/cli/privateendpoints/aws/create.go +++ b/internal/cli/privateendpoints/aws/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/aws/create_test.go b/internal/cli/privateendpoints/aws/create_test.go index ec8766b498..4ad36727f7 100644 --- a/internal/cli/privateendpoints/aws/create_test.go +++ b/internal/cli/privateendpoints/aws/create_test.go @@ -19,10 +19,10 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/aws/delete.go b/internal/cli/privateendpoints/aws/delete.go index 8860770118..be4c971d01 100644 --- a/internal/cli/privateendpoints/aws/delete.go +++ b/internal/cli/privateendpoints/aws/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/aws/delete_test.go b/internal/cli/privateendpoints/aws/delete_test.go index 73f5f1ba0d..41fe6d9703 100644 --- a/internal/cli/privateendpoints/aws/delete_test.go +++ b/internal/cli/privateendpoints/aws/delete_test.go @@ -19,11 +19,11 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/privateendpoints/aws/describe.go b/internal/cli/privateendpoints/aws/describe.go index 0f24f05177..0b66d712f5 100644 --- a/internal/cli/privateendpoints/aws/describe.go +++ b/internal/cli/privateendpoints/aws/describe.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/aws/describe_test.go b/internal/cli/privateendpoints/aws/describe_test.go index 7c06f03bc7..2d77a04373 100644 --- a/internal/cli/privateendpoints/aws/describe_test.go +++ b/internal/cli/privateendpoints/aws/describe_test.go @@ -19,10 +19,10 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/aws/interfaces/create.go b/internal/cli/privateendpoints/aws/interfaces/create.go index fa331d6b0d..dd81e5ab77 100644 --- a/internal/cli/privateendpoints/aws/interfaces/create.go +++ b/internal/cli/privateendpoints/aws/interfaces/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/aws/interfaces/create_test.go b/internal/cli/privateendpoints/aws/interfaces/create_test.go index 2d398820d5..21ee7ec7a5 100644 --- a/internal/cli/privateendpoints/aws/interfaces/create_test.go +++ b/internal/cli/privateendpoints/aws/interfaces/create_test.go @@ -19,10 +19,10 @@ package interfaces import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/aws/interfaces/delete.go b/internal/cli/privateendpoints/aws/interfaces/delete.go index e2116fc3da..0eb8dc4c2a 100644 --- a/internal/cli/privateendpoints/aws/interfaces/delete.go +++ b/internal/cli/privateendpoints/aws/interfaces/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/aws/interfaces/delete_test.go b/internal/cli/privateendpoints/aws/interfaces/delete_test.go index 4a203edce3..d123a7dda5 100644 --- a/internal/cli/privateendpoints/aws/interfaces/delete_test.go +++ b/internal/cli/privateendpoints/aws/interfaces/delete_test.go @@ -19,11 +19,11 @@ package interfaces import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/privateendpoints/aws/interfaces/describe.go b/internal/cli/privateendpoints/aws/interfaces/describe.go index 8b8cec9d88..9de2b9ca0a 100644 --- a/internal/cli/privateendpoints/aws/interfaces/describe.go +++ b/internal/cli/privateendpoints/aws/interfaces/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/aws/interfaces/describe_test.go b/internal/cli/privateendpoints/aws/interfaces/describe_test.go index b59dc3779f..dc5719f0fc 100644 --- a/internal/cli/privateendpoints/aws/interfaces/describe_test.go +++ b/internal/cli/privateendpoints/aws/interfaces/describe_test.go @@ -19,10 +19,10 @@ package interfaces import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/aws/interfaces/interfaces.go b/internal/cli/privateendpoints/aws/interfaces/interfaces.go index df07c25fcb..4e2b1d278d 100644 --- a/internal/cli/privateendpoints/aws/interfaces/interfaces.go +++ b/internal/cli/privateendpoints/aws/interfaces/interfaces.go @@ -15,7 +15,7 @@ package interfaces import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/aws/interfaces/interfaces_test.go b/internal/cli/privateendpoints/aws/interfaces/interfaces_test.go index c728d99b25..309359c14e 100644 --- a/internal/cli/privateendpoints/aws/interfaces/interfaces_test.go +++ b/internal/cli/privateendpoints/aws/interfaces/interfaces_test.go @@ -19,7 +19,7 @@ package interfaces import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/privateendpoints/aws/list.go b/internal/cli/privateendpoints/aws/list.go index 2a118feaa9..df9ca6b36f 100644 --- a/internal/cli/privateendpoints/aws/list.go +++ b/internal/cli/privateendpoints/aws/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/aws/list_test.go b/internal/cli/privateendpoints/aws/list_test.go index 531ccd3911..40377e26ba 100644 --- a/internal/cli/privateendpoints/aws/list_test.go +++ b/internal/cli/privateendpoints/aws/list_test.go @@ -19,10 +19,10 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/aws/watch.go b/internal/cli/privateendpoints/aws/watch.go index 43b10beb0c..6730446185 100644 --- a/internal/cli/privateendpoints/aws/watch.go +++ b/internal/cli/privateendpoints/aws/watch.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/aws/watch_test.go b/internal/cli/privateendpoints/aws/watch_test.go index 889d8470e3..47bfcded1f 100644 --- a/internal/cli/privateendpoints/aws/watch_test.go +++ b/internal/cli/privateendpoints/aws/watch_test.go @@ -19,11 +19,11 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/azure/azure.go b/internal/cli/privateendpoints/azure/azure.go index 238b2a6a66..594ec9b4a4 100644 --- a/internal/cli/privateendpoints/azure/azure.go +++ b/internal/cli/privateendpoints/azure/azure.go @@ -15,7 +15,7 @@ package azure import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/azure/interfaces" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/azure/interfaces" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/azure/azure_test.go b/internal/cli/privateendpoints/azure/azure_test.go index 622686e0a5..ae126b9279 100644 --- a/internal/cli/privateendpoints/azure/azure_test.go +++ b/internal/cli/privateendpoints/azure/azure_test.go @@ -19,7 +19,7 @@ package azure import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/privateendpoints/azure/create.go b/internal/cli/privateendpoints/azure/create.go index fcbd763bb9..039af99ec6 100644 --- a/internal/cli/privateendpoints/azure/create.go +++ b/internal/cli/privateendpoints/azure/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/azure/create_test.go b/internal/cli/privateendpoints/azure/create_test.go index 5ce0445f6a..c5fb8daf40 100644 --- a/internal/cli/privateendpoints/azure/create_test.go +++ b/internal/cli/privateendpoints/azure/create_test.go @@ -19,10 +19,10 @@ package azure import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/azure/delete.go b/internal/cli/privateendpoints/azure/delete.go index 27c96532b3..3a417dfe08 100644 --- a/internal/cli/privateendpoints/azure/delete.go +++ b/internal/cli/privateendpoints/azure/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/azure/delete_test.go b/internal/cli/privateendpoints/azure/delete_test.go index 20e27181a8..d30e91db60 100644 --- a/internal/cli/privateendpoints/azure/delete_test.go +++ b/internal/cli/privateendpoints/azure/delete_test.go @@ -19,11 +19,11 @@ package azure import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/privateendpoints/azure/describe.go b/internal/cli/privateendpoints/azure/describe.go index 398affd6d4..480d81623e 100644 --- a/internal/cli/privateendpoints/azure/describe.go +++ b/internal/cli/privateendpoints/azure/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/azure/describe_test.go b/internal/cli/privateendpoints/azure/describe_test.go index 710c684f7b..135790b687 100644 --- a/internal/cli/privateendpoints/azure/describe_test.go +++ b/internal/cli/privateendpoints/azure/describe_test.go @@ -19,10 +19,10 @@ package azure import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/azure/interfaces/create.go b/internal/cli/privateendpoints/azure/interfaces/create.go index 1225b3e52c..6820826f19 100644 --- a/internal/cli/privateendpoints/azure/interfaces/create.go +++ b/internal/cli/privateendpoints/azure/interfaces/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/azure/interfaces/create_test.go b/internal/cli/privateendpoints/azure/interfaces/create_test.go index 2d398820d5..21ee7ec7a5 100644 --- a/internal/cli/privateendpoints/azure/interfaces/create_test.go +++ b/internal/cli/privateendpoints/azure/interfaces/create_test.go @@ -19,10 +19,10 @@ package interfaces import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/azure/interfaces/delete.go b/internal/cli/privateendpoints/azure/interfaces/delete.go index 65df674c86..5c4cdc6651 100644 --- a/internal/cli/privateendpoints/azure/interfaces/delete.go +++ b/internal/cli/privateendpoints/azure/interfaces/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/azure/interfaces/delete_test.go b/internal/cli/privateendpoints/azure/interfaces/delete_test.go index 4a203edce3..d123a7dda5 100644 --- a/internal/cli/privateendpoints/azure/interfaces/delete_test.go +++ b/internal/cli/privateendpoints/azure/interfaces/delete_test.go @@ -19,11 +19,11 @@ package interfaces import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/privateendpoints/azure/interfaces/describe.go b/internal/cli/privateendpoints/azure/interfaces/describe.go index c152ef4264..e478f85e02 100644 --- a/internal/cli/privateendpoints/azure/interfaces/describe.go +++ b/internal/cli/privateendpoints/azure/interfaces/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/azure/interfaces/describe_test.go b/internal/cli/privateendpoints/azure/interfaces/describe_test.go index dee4ebd79c..caed3272ad 100644 --- a/internal/cli/privateendpoints/azure/interfaces/describe_test.go +++ b/internal/cli/privateendpoints/azure/interfaces/describe_test.go @@ -19,10 +19,10 @@ package interfaces import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/azure/interfaces/interfaces.go b/internal/cli/privateendpoints/azure/interfaces/interfaces.go index f0afb3c72c..93dc6ea515 100644 --- a/internal/cli/privateendpoints/azure/interfaces/interfaces.go +++ b/internal/cli/privateendpoints/azure/interfaces/interfaces.go @@ -15,7 +15,7 @@ package interfaces import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/azure/interfaces/interfaces_test.go b/internal/cli/privateendpoints/azure/interfaces/interfaces_test.go index c728d99b25..309359c14e 100644 --- a/internal/cli/privateendpoints/azure/interfaces/interfaces_test.go +++ b/internal/cli/privateendpoints/azure/interfaces/interfaces_test.go @@ -19,7 +19,7 @@ package interfaces import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/privateendpoints/azure/list.go b/internal/cli/privateendpoints/azure/list.go index b64051b928..83ed2251de 100644 --- a/internal/cli/privateendpoints/azure/list.go +++ b/internal/cli/privateendpoints/azure/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/azure/list_test.go b/internal/cli/privateendpoints/azure/list_test.go index 806286d7a1..67a30ee23f 100644 --- a/internal/cli/privateendpoints/azure/list_test.go +++ b/internal/cli/privateendpoints/azure/list_test.go @@ -19,10 +19,10 @@ package azure import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/azure/watch.go b/internal/cli/privateendpoints/azure/watch.go index 601ce52a97..0a88384dc2 100644 --- a/internal/cli/privateendpoints/azure/watch.go +++ b/internal/cli/privateendpoints/azure/watch.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/azure/watch_test.go b/internal/cli/privateendpoints/azure/watch_test.go index 71701e2dcf..4dc6849d5d 100644 --- a/internal/cli/privateendpoints/azure/watch_test.go +++ b/internal/cli/privateendpoints/azure/watch_test.go @@ -19,11 +19,11 @@ package azure import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/create.go b/internal/cli/privateendpoints/create.go index f9c60dda59..4c768b7aee 100644 --- a/internal/cli/privateendpoints/create.go +++ b/internal/cli/privateendpoints/create.go @@ -17,12 +17,12 @@ package privateendpoints import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/privateendpoints/create_test.go b/internal/cli/privateendpoints/create_test.go index d0e025ebed..70cf385c5d 100644 --- a/internal/cli/privateendpoints/create_test.go +++ b/internal/cli/privateendpoints/create_test.go @@ -19,10 +19,10 @@ package privateendpoints import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/privateendpoints/datalake/aws/aws_test.go b/internal/cli/privateendpoints/datalake/aws/aws_test.go index b20d6df8fb..341c7fcecd 100644 --- a/internal/cli/privateendpoints/datalake/aws/aws_test.go +++ b/internal/cli/privateendpoints/datalake/aws/aws_test.go @@ -19,7 +19,7 @@ package aws import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/privateendpoints/datalake/aws/create.go b/internal/cli/privateendpoints/datalake/aws/create.go index ac1b5a7bb7..d21a2e9ce9 100644 --- a/internal/cli/privateendpoints/datalake/aws/create.go +++ b/internal/cli/privateendpoints/datalake/aws/create.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/datalake/aws/create_test.go b/internal/cli/privateendpoints/datalake/aws/create_test.go index 4659cb0272..216003933e 100644 --- a/internal/cli/privateendpoints/datalake/aws/create_test.go +++ b/internal/cli/privateendpoints/datalake/aws/create_test.go @@ -19,10 +19,10 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/datalake/aws/delete.go b/internal/cli/privateendpoints/datalake/aws/delete.go index 53a05b6120..db1a72a665 100644 --- a/internal/cli/privateendpoints/datalake/aws/delete.go +++ b/internal/cli/privateendpoints/datalake/aws/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/datalake/aws/delete_test.go b/internal/cli/privateendpoints/datalake/aws/delete_test.go index edcc62bbde..e50b42cefa 100644 --- a/internal/cli/privateendpoints/datalake/aws/delete_test.go +++ b/internal/cli/privateendpoints/datalake/aws/delete_test.go @@ -19,11 +19,11 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/privateendpoints/datalake/aws/describe.go b/internal/cli/privateendpoints/datalake/aws/describe.go index b20be6ebf3..ad4071126e 100644 --- a/internal/cli/privateendpoints/datalake/aws/describe.go +++ b/internal/cli/privateendpoints/datalake/aws/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/datalake/aws/describe_test.go b/internal/cli/privateendpoints/datalake/aws/describe_test.go index 7dc62ceea2..08654cc174 100644 --- a/internal/cli/privateendpoints/datalake/aws/describe_test.go +++ b/internal/cli/privateendpoints/datalake/aws/describe_test.go @@ -19,10 +19,10 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/datalake/aws/list.go b/internal/cli/privateendpoints/datalake/aws/list.go index 768deccc5d..8069caa669 100644 --- a/internal/cli/privateendpoints/datalake/aws/list.go +++ b/internal/cli/privateendpoints/datalake/aws/list.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/datalake/aws/list_test.go b/internal/cli/privateendpoints/datalake/aws/list_test.go index 7b4b62674a..1ec9848cd3 100644 --- a/internal/cli/privateendpoints/datalake/aws/list_test.go +++ b/internal/cli/privateendpoints/datalake/aws/list_test.go @@ -19,10 +19,10 @@ package aws import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/datalake/data_lake.go b/internal/cli/privateendpoints/datalake/data_lake.go index 0b602e27f9..e292d19985 100644 --- a/internal/cli/privateendpoints/datalake/data_lake.go +++ b/internal/cli/privateendpoints/datalake/data_lake.go @@ -15,8 +15,8 @@ package datalake import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/datalake/aws" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/datalake/aws" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/datalake/data_lake_test.go b/internal/cli/privateendpoints/datalake/data_lake_test.go index 75a22ec124..0524ce1af0 100644 --- a/internal/cli/privateendpoints/datalake/data_lake_test.go +++ b/internal/cli/privateendpoints/datalake/data_lake_test.go @@ -19,7 +19,7 @@ package datalake import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/privateendpoints/delete.go b/internal/cli/privateendpoints/delete.go index 0871f86424..b7b74ea2d2 100644 --- a/internal/cli/privateendpoints/delete.go +++ b/internal/cli/privateendpoints/delete.go @@ -17,12 +17,12 @@ package privateendpoints import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/delete_test.go b/internal/cli/privateendpoints/delete_test.go index 5b471111ff..135d8a56a5 100644 --- a/internal/cli/privateendpoints/delete_test.go +++ b/internal/cli/privateendpoints/delete_test.go @@ -19,11 +19,11 @@ package privateendpoints import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/privateendpoints/describe.go b/internal/cli/privateendpoints/describe.go index ec4f4b9e27..90afa8a66a 100644 --- a/internal/cli/privateendpoints/describe.go +++ b/internal/cli/privateendpoints/describe.go @@ -17,12 +17,12 @@ package privateendpoints import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/describe_test.go b/internal/cli/privateendpoints/describe_test.go index 656407e701..ab6bc0f84d 100644 --- a/internal/cli/privateendpoints/describe_test.go +++ b/internal/cli/privateendpoints/describe_test.go @@ -19,10 +19,10 @@ package privateendpoints import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/privateendpoints/gcp/create.go b/internal/cli/privateendpoints/gcp/create.go index 6371c33b6c..35d3ef810e 100644 --- a/internal/cli/privateendpoints/gcp/create.go +++ b/internal/cli/privateendpoints/gcp/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/gcp/create_test.go b/internal/cli/privateendpoints/gcp/create_test.go index c36923ad9c..3f31c1f143 100644 --- a/internal/cli/privateendpoints/gcp/create_test.go +++ b/internal/cli/privateendpoints/gcp/create_test.go @@ -19,10 +19,10 @@ package gcp import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/gcp/delete.go b/internal/cli/privateendpoints/gcp/delete.go index 1676c2027f..689271519a 100644 --- a/internal/cli/privateendpoints/gcp/delete.go +++ b/internal/cli/privateendpoints/gcp/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/gcp/delete_test.go b/internal/cli/privateendpoints/gcp/delete_test.go index 12bd67e902..959e55e007 100644 --- a/internal/cli/privateendpoints/gcp/delete_test.go +++ b/internal/cli/privateendpoints/gcp/delete_test.go @@ -19,11 +19,11 @@ package gcp import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/privateendpoints/gcp/describe.go b/internal/cli/privateendpoints/gcp/describe.go index fd46488bce..03d0c77f07 100644 --- a/internal/cli/privateendpoints/gcp/describe.go +++ b/internal/cli/privateendpoints/gcp/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/gcp/describe_test.go b/internal/cli/privateendpoints/gcp/describe_test.go index ee3a92c01f..64c6520d6b 100644 --- a/internal/cli/privateendpoints/gcp/describe_test.go +++ b/internal/cli/privateendpoints/gcp/describe_test.go @@ -19,10 +19,10 @@ package gcp import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/gcp/gcp.go b/internal/cli/privateendpoints/gcp/gcp.go index 87646898d0..55ad6a297c 100644 --- a/internal/cli/privateendpoints/gcp/gcp.go +++ b/internal/cli/privateendpoints/gcp/gcp.go @@ -15,7 +15,7 @@ package gcp import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/gcp/interfaces" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/gcp/interfaces" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/gcp/gcp_test.go b/internal/cli/privateendpoints/gcp/gcp_test.go index e17fe855c3..6a28930097 100644 --- a/internal/cli/privateendpoints/gcp/gcp_test.go +++ b/internal/cli/privateendpoints/gcp/gcp_test.go @@ -19,7 +19,7 @@ package gcp import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/privateendpoints/gcp/interfaces/create.go b/internal/cli/privateendpoints/gcp/interfaces/create.go index 12715cdf59..e88ba8f605 100644 --- a/internal/cli/privateendpoints/gcp/interfaces/create.go +++ b/internal/cli/privateendpoints/gcp/interfaces/create.go @@ -19,13 +19,13 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/gcp/interfaces/create_test.go b/internal/cli/privateendpoints/gcp/interfaces/create_test.go index 6c02df5e1d..77ae40b923 100644 --- a/internal/cli/privateendpoints/gcp/interfaces/create_test.go +++ b/internal/cli/privateendpoints/gcp/interfaces/create_test.go @@ -19,10 +19,10 @@ package interfaces import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/gcp/interfaces/delete.go b/internal/cli/privateendpoints/gcp/interfaces/delete.go index 825a5a0b34..f28c12258a 100644 --- a/internal/cli/privateendpoints/gcp/interfaces/delete.go +++ b/internal/cli/privateendpoints/gcp/interfaces/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/gcp/interfaces/delete_test.go b/internal/cli/privateendpoints/gcp/interfaces/delete_test.go index 536c08ce50..27f4bc6516 100644 --- a/internal/cli/privateendpoints/gcp/interfaces/delete_test.go +++ b/internal/cli/privateendpoints/gcp/interfaces/delete_test.go @@ -19,11 +19,11 @@ package interfaces import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/privateendpoints/gcp/interfaces/describe.go b/internal/cli/privateendpoints/gcp/interfaces/describe.go index 3dc11d4ad4..0fef7ab781 100644 --- a/internal/cli/privateendpoints/gcp/interfaces/describe.go +++ b/internal/cli/privateendpoints/gcp/interfaces/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/gcp/interfaces/describe_test.go b/internal/cli/privateendpoints/gcp/interfaces/describe_test.go index 6c9b2c5007..eb1df4880a 100644 --- a/internal/cli/privateendpoints/gcp/interfaces/describe_test.go +++ b/internal/cli/privateendpoints/gcp/interfaces/describe_test.go @@ -19,10 +19,10 @@ package interfaces import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/gcp/interfaces/interfaces.go b/internal/cli/privateendpoints/gcp/interfaces/interfaces.go index 6d50b8526d..fdf0adf5c7 100644 --- a/internal/cli/privateendpoints/gcp/interfaces/interfaces.go +++ b/internal/cli/privateendpoints/gcp/interfaces/interfaces.go @@ -15,7 +15,7 @@ package interfaces import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/gcp/interfaces/interfaces_test.go b/internal/cli/privateendpoints/gcp/interfaces/interfaces_test.go index 321f4f07c3..130fbcfe2d 100644 --- a/internal/cli/privateendpoints/gcp/interfaces/interfaces_test.go +++ b/internal/cli/privateendpoints/gcp/interfaces/interfaces_test.go @@ -19,7 +19,7 @@ package interfaces import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/privateendpoints/gcp/list.go b/internal/cli/privateendpoints/gcp/list.go index c21c708738..30bc5b2aac 100644 --- a/internal/cli/privateendpoints/gcp/list.go +++ b/internal/cli/privateendpoints/gcp/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/gcp/list_test.go b/internal/cli/privateendpoints/gcp/list_test.go index 79c5bf22f0..110d3512ba 100644 --- a/internal/cli/privateendpoints/gcp/list_test.go +++ b/internal/cli/privateendpoints/gcp/list_test.go @@ -19,10 +19,10 @@ package gcp import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/gcp/watch.go b/internal/cli/privateendpoints/gcp/watch.go index 0748028eb2..530dc73e2b 100644 --- a/internal/cli/privateendpoints/gcp/watch.go +++ b/internal/cli/privateendpoints/gcp/watch.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/gcp/watch_test.go b/internal/cli/privateendpoints/gcp/watch_test.go index cdb460ab28..6d8fa2718b 100644 --- a/internal/cli/privateendpoints/gcp/watch_test.go +++ b/internal/cli/privateendpoints/gcp/watch_test.go @@ -19,11 +19,11 @@ package gcp import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/interfaces/create.go b/internal/cli/privateendpoints/interfaces/create.go index 9e1656ad61..7a0a397cfe 100644 --- a/internal/cli/privateendpoints/interfaces/create.go +++ b/internal/cli/privateendpoints/interfaces/create.go @@ -17,12 +17,12 @@ package interfaces import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/interfaces/create_test.go b/internal/cli/privateendpoints/interfaces/create_test.go index 1ab5760ec7..2dc5d759de 100644 --- a/internal/cli/privateendpoints/interfaces/create_test.go +++ b/internal/cli/privateendpoints/interfaces/create_test.go @@ -19,10 +19,10 @@ package interfaces import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/privateendpoints/interfaces/delete.go b/internal/cli/privateendpoints/interfaces/delete.go index 109b94d7c2..06d6f29be2 100644 --- a/internal/cli/privateendpoints/interfaces/delete.go +++ b/internal/cli/privateendpoints/interfaces/delete.go @@ -17,12 +17,12 @@ package interfaces import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/interfaces/delete_test.go b/internal/cli/privateendpoints/interfaces/delete_test.go index ef5f0e0c3a..2aa571d051 100644 --- a/internal/cli/privateendpoints/interfaces/delete_test.go +++ b/internal/cli/privateendpoints/interfaces/delete_test.go @@ -19,11 +19,11 @@ package interfaces import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" ) diff --git a/internal/cli/privateendpoints/interfaces/describe.go b/internal/cli/privateendpoints/interfaces/describe.go index 3092ac4a79..f61d16ce86 100644 --- a/internal/cli/privateendpoints/interfaces/describe.go +++ b/internal/cli/privateendpoints/interfaces/describe.go @@ -17,12 +17,12 @@ package interfaces import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/interfaces/describe_test.go b/internal/cli/privateendpoints/interfaces/describe_test.go index 60812717b4..9dc9593f49 100644 --- a/internal/cli/privateendpoints/interfaces/describe_test.go +++ b/internal/cli/privateendpoints/interfaces/describe_test.go @@ -19,10 +19,10 @@ package interfaces import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/privateendpoints/interfaces/interfaces.go b/internal/cli/privateendpoints/interfaces/interfaces.go index b937e1b218..e31309ddf7 100644 --- a/internal/cli/privateendpoints/interfaces/interfaces.go +++ b/internal/cli/privateendpoints/interfaces/interfaces.go @@ -15,7 +15,7 @@ package interfaces import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/list.go b/internal/cli/privateendpoints/list.go index 81a5a687d1..e058361413 100644 --- a/internal/cli/privateendpoints/list.go +++ b/internal/cli/privateendpoints/list.go @@ -17,12 +17,12 @@ package privateendpoints import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/list_test.go b/internal/cli/privateendpoints/list_test.go index 03e21005b3..59b57d15a1 100644 --- a/internal/cli/privateendpoints/list_test.go +++ b/internal/cli/privateendpoints/list_test.go @@ -19,10 +19,10 @@ package privateendpoints import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/privateendpoints/onlinearchive/online_archive.go b/internal/cli/privateendpoints/onlinearchive/online_archive.go index 3d8d9b9371..1cbd363209 100644 --- a/internal/cli/privateendpoints/onlinearchive/online_archive.go +++ b/internal/cli/privateendpoints/onlinearchive/online_archive.go @@ -15,8 +15,8 @@ package onlinearchive import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/datalake/aws" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/datalake/aws" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/onlinearchive/online_archive_test.go b/internal/cli/privateendpoints/onlinearchive/online_archive_test.go index 02c7711f16..4c195c2c20 100644 --- a/internal/cli/privateendpoints/onlinearchive/online_archive_test.go +++ b/internal/cli/privateendpoints/onlinearchive/online_archive_test.go @@ -19,7 +19,7 @@ package onlinearchive import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/privateendpoints/private_endpoint_test.go b/internal/cli/privateendpoints/private_endpoint_test.go index bb24444fe7..e2ecd063ff 100644 --- a/internal/cli/privateendpoints/private_endpoint_test.go +++ b/internal/cli/privateendpoints/private_endpoint_test.go @@ -19,7 +19,7 @@ package privateendpoints import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/privateendpoints/private_endpoints.go b/internal/cli/privateendpoints/private_endpoints.go index ebc666082a..36b7c73764 100644 --- a/internal/cli/privateendpoints/private_endpoints.go +++ b/internal/cli/privateendpoints/private_endpoints.go @@ -15,14 +15,14 @@ package privateendpoints import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/aws" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/azure" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/datalake" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/gcp" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/interfaces" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/onlinearchive" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/regionalmodes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/aws" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/azure" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/datalake" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/gcp" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/interfaces" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/onlinearchive" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints/regionalmodes" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/regionalmodes/describe.go b/internal/cli/privateendpoints/regionalmodes/describe.go index 08b2985040..2c38cff30f 100644 --- a/internal/cli/privateendpoints/regionalmodes/describe.go +++ b/internal/cli/privateendpoints/regionalmodes/describe.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/regionalmodes/describe_test.go b/internal/cli/privateendpoints/regionalmodes/describe_test.go index 513026872b..1a0860fe55 100644 --- a/internal/cli/privateendpoints/regionalmodes/describe_test.go +++ b/internal/cli/privateendpoints/regionalmodes/describe_test.go @@ -19,10 +19,10 @@ package regionalmodes import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/regionalmodes/disable.go b/internal/cli/privateendpoints/regionalmodes/disable.go index 4d885165d6..9bf7a35979 100644 --- a/internal/cli/privateendpoints/regionalmodes/disable.go +++ b/internal/cli/privateendpoints/regionalmodes/disable.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/regionalmodes/disable_test.go b/internal/cli/privateendpoints/regionalmodes/disable_test.go index 72689d3165..43aca44bb4 100644 --- a/internal/cli/privateendpoints/regionalmodes/disable_test.go +++ b/internal/cli/privateendpoints/regionalmodes/disable_test.go @@ -19,10 +19,10 @@ package regionalmodes import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/regionalmodes/enable.go b/internal/cli/privateendpoints/regionalmodes/enable.go index 338551462f..03b459166e 100644 --- a/internal/cli/privateendpoints/regionalmodes/enable.go +++ b/internal/cli/privateendpoints/regionalmodes/enable.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/regionalmodes/enable_test.go b/internal/cli/privateendpoints/regionalmodes/enable_test.go index d1a23f7096..ca2a47a01c 100644 --- a/internal/cli/privateendpoints/regionalmodes/enable_test.go +++ b/internal/cli/privateendpoints/regionalmodes/enable_test.go @@ -19,10 +19,10 @@ package regionalmodes import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/privateendpoints/regionalmodes/regional_mode.go b/internal/cli/privateendpoints/regionalmodes/regional_mode.go index c2aafbb026..0d698a4f9b 100644 --- a/internal/cli/privateendpoints/regionalmodes/regional_mode.go +++ b/internal/cli/privateendpoints/regionalmodes/regional_mode.go @@ -15,7 +15,7 @@ package regionalmodes import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/regionalmodes/regional_mode_test.go b/internal/cli/privateendpoints/regionalmodes/regional_mode_test.go index eea76d59d4..7af2b18d77 100644 --- a/internal/cli/privateendpoints/regionalmodes/regional_mode_test.go +++ b/internal/cli/privateendpoints/regionalmodes/regional_mode_test.go @@ -19,7 +19,7 @@ package regionalmodes import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/privateendpoints/watch.go b/internal/cli/privateendpoints/watch.go index fe8e49feee..dd10e375b4 100644 --- a/internal/cli/privateendpoints/watch.go +++ b/internal/cli/privateendpoints/watch.go @@ -17,12 +17,12 @@ package privateendpoints import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/privateendpoints/watch_test.go b/internal/cli/privateendpoints/watch_test.go index 7649615d01..ec246743b0 100644 --- a/internal/cli/privateendpoints/watch_test.go +++ b/internal/cli/privateendpoints/watch_test.go @@ -19,10 +19,10 @@ package privateendpoints import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/processes/describe.go b/internal/cli/processes/describe.go index 17d78e9ed4..c7d8af18ec 100644 --- a/internal/cli/processes/describe.go +++ b/internal/cli/processes/describe.go @@ -18,12 +18,12 @@ import ( "context" "strconv" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/processes/describe_test.go b/internal/cli/processes/describe_test.go index eed95f6055..c2e02de023 100644 --- a/internal/cli/processes/describe_test.go +++ b/internal/cli/processes/describe_test.go @@ -19,11 +19,11 @@ package processes import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/processes/list.go b/internal/cli/processes/list.go index 6892d5c604..0fd1d7e95e 100644 --- a/internal/cli/processes/list.go +++ b/internal/cli/processes/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/processes/list_test.go b/internal/cli/processes/list_test.go index 9ace4b1aad..b4b38f3137 100644 --- a/internal/cli/processes/list_test.go +++ b/internal/cli/processes/list_test.go @@ -19,11 +19,11 @@ package processes import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/processes/process_autocomplete.go b/internal/cli/processes/process_autocomplete.go index 956faf164e..82d9d8f856 100644 --- a/internal/cli/processes/process_autocomplete.go +++ b/internal/cli/processes/process_autocomplete.go @@ -20,11 +20,11 @@ import ( "sort" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/processes/process_autocomplete_test.go b/internal/cli/processes/process_autocomplete_test.go index 927c707a14..4ea2a7421a 100644 --- a/internal/cli/processes/process_autocomplete_test.go +++ b/internal/cli/processes/process_autocomplete_test.go @@ -19,9 +19,9 @@ package processes import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/processes/processes.go b/internal/cli/processes/processes.go index 299b92d870..87a3871082 100644 --- a/internal/cli/processes/processes.go +++ b/internal/cli/processes/processes.go @@ -15,7 +15,7 @@ package processes import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/processes/processes_test.go b/internal/cli/processes/processes_test.go index 0148576067..dae1cff241 100644 --- a/internal/cli/processes/processes_test.go +++ b/internal/cli/processes/processes_test.go @@ -18,7 +18,7 @@ package processes import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/profile.go b/internal/cli/profile.go index 4564a8517b..375263ebfb 100644 --- a/internal/cli/profile.go +++ b/internal/cli/profile.go @@ -18,8 +18,8 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" ) var errUnsupportedService = errors.New("unsupported service") diff --git a/internal/cli/projects/apikeys/api_keys.go b/internal/cli/projects/apikeys/api_keys.go index 23991a3ce8..93d8cfb525 100644 --- a/internal/cli/projects/apikeys/api_keys.go +++ b/internal/cli/projects/apikeys/api_keys.go @@ -15,7 +15,7 @@ package apikeys import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/apikeys/assign.go b/internal/cli/projects/apikeys/assign.go index 9ad17fdb36..6c10c0702c 100644 --- a/internal/cli/projects/apikeys/assign.go +++ b/internal/cli/projects/apikeys/assign.go @@ -17,12 +17,12 @@ package apikeys import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/apikeys/assign_test.go b/internal/cli/projects/apikeys/assign_test.go index 52b09ee3f7..df1313a2a0 100644 --- a/internal/cli/projects/apikeys/assign_test.go +++ b/internal/cli/projects/apikeys/assign_test.go @@ -19,9 +19,9 @@ package apikeys import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestUpdateOpts_Run(t *testing.T) { diff --git a/internal/cli/projects/apikeys/create.go b/internal/cli/projects/apikeys/create.go index cefeebd5f7..c03f0d78cf 100644 --- a/internal/cli/projects/apikeys/create.go +++ b/internal/cli/projects/apikeys/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/apikeys/create_test.go b/internal/cli/projects/apikeys/create_test.go index a5a9e82619..6cc6155033 100644 --- a/internal/cli/projects/apikeys/create_test.go +++ b/internal/cli/projects/apikeys/create_test.go @@ -20,10 +20,10 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/projects/apikeys/delete.go b/internal/cli/projects/apikeys/delete.go index 734bc105d1..8e46f0bc68 100644 --- a/internal/cli/projects/apikeys/delete.go +++ b/internal/cli/projects/apikeys/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/apikeys/delete_test.go b/internal/cli/projects/apikeys/delete_test.go index cffbead807..2311952c73 100644 --- a/internal/cli/projects/apikeys/delete_test.go +++ b/internal/cli/projects/apikeys/delete_test.go @@ -19,9 +19,9 @@ package apikeys import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/projects/apikeys/list.go b/internal/cli/projects/apikeys/list.go index 1dac2161db..7d994cabe9 100644 --- a/internal/cli/projects/apikeys/list.go +++ b/internal/cli/projects/apikeys/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/apikeys/list_test.go b/internal/cli/projects/apikeys/list_test.go index ca6882f05f..4b82e30083 100644 --- a/internal/cli/projects/apikeys/list_test.go +++ b/internal/cli/projects/apikeys/list_test.go @@ -19,11 +19,11 @@ package apikeys import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/create.go b/internal/cli/projects/create.go index f605ac9570..c0e92d5870 100644 --- a/internal/cli/projects/create.go +++ b/internal/cli/projects/create.go @@ -19,12 +19,12 @@ import ( "fmt" "sort" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/create_test.go b/internal/cli/projects/create_test.go index c196ba2f5f..65a85b80d2 100644 --- a/internal/cli/projects/create_test.go +++ b/internal/cli/projects/create_test.go @@ -19,10 +19,10 @@ package projects import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/delete.go b/internal/cli/projects/delete.go index 8fc04c803e..36d91fb487 100644 --- a/internal/cli/projects/delete.go +++ b/internal/cli/projects/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/delete_test.go b/internal/cli/projects/delete_test.go index 95d17e22b3..2870f4334f 100644 --- a/internal/cli/projects/delete_test.go +++ b/internal/cli/projects/delete_test.go @@ -19,9 +19,9 @@ package projects import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/projects/describe.go b/internal/cli/projects/describe.go index 3ccda79fe6..65da02c160 100644 --- a/internal/cli/projects/describe.go +++ b/internal/cli/projects/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/describe_test.go b/internal/cli/projects/describe_test.go index 1082ecfa26..1655950fa8 100644 --- a/internal/cli/projects/describe_test.go +++ b/internal/cli/projects/describe_test.go @@ -19,9 +19,9 @@ package projects import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/invitations/delete.go b/internal/cli/projects/invitations/delete.go index d4f4f2b9b7..9a7629e2b0 100644 --- a/internal/cli/projects/invitations/delete.go +++ b/internal/cli/projects/invitations/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/invitations/delete_test.go b/internal/cli/projects/invitations/delete_test.go index 203586031c..8522ce3907 100644 --- a/internal/cli/projects/invitations/delete_test.go +++ b/internal/cli/projects/invitations/delete_test.go @@ -19,11 +19,11 @@ package invitations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/projects/invitations/describe.go b/internal/cli/projects/invitations/describe.go index 69978d0d21..affabd5cb7 100644 --- a/internal/cli/projects/invitations/describe.go +++ b/internal/cli/projects/invitations/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/invitations/describe_test.go b/internal/cli/projects/invitations/describe_test.go index 696cbd747e..92063cde93 100644 --- a/internal/cli/projects/invitations/describe_test.go +++ b/internal/cli/projects/invitations/describe_test.go @@ -19,11 +19,11 @@ package invitations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/invitations/invitations.go b/internal/cli/projects/invitations/invitations.go index 0fbb162b1b..37285ed4d7 100644 --- a/internal/cli/projects/invitations/invitations.go +++ b/internal/cli/projects/invitations/invitations.go @@ -15,7 +15,7 @@ package invitations import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/invitations/invitations_test.go b/internal/cli/projects/invitations/invitations_test.go index 4b8f34d9c8..a6da71c0c9 100644 --- a/internal/cli/projects/invitations/invitations_test.go +++ b/internal/cli/projects/invitations/invitations_test.go @@ -19,7 +19,7 @@ package invitations import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/projects/invitations/invite.go b/internal/cli/projects/invitations/invite.go index a43f2aa0fe..666322bafb 100644 --- a/internal/cli/projects/invitations/invite.go +++ b/internal/cli/projects/invitations/invite.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/invitations/invite_test.go b/internal/cli/projects/invitations/invite_test.go index 39936ac1ec..cb62a1f524 100644 --- a/internal/cli/projects/invitations/invite_test.go +++ b/internal/cli/projects/invitations/invite_test.go @@ -19,10 +19,10 @@ package invitations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/invitations/list.go b/internal/cli/projects/invitations/list.go index 8274b1ce0c..f32b4ad85f 100644 --- a/internal/cli/projects/invitations/list.go +++ b/internal/cli/projects/invitations/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/invitations/list_test.go b/internal/cli/projects/invitations/list_test.go index d6617419fe..5873898d75 100644 --- a/internal/cli/projects/invitations/list_test.go +++ b/internal/cli/projects/invitations/list_test.go @@ -19,11 +19,11 @@ package invitations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/invitations/update.go b/internal/cli/projects/invitations/update.go index 82b267a195..b7c6faccd6 100644 --- a/internal/cli/projects/invitations/update.go +++ b/internal/cli/projects/invitations/update.go @@ -19,11 +19,11 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/invitations/update_test.go b/internal/cli/projects/invitations/update_test.go index 3e5a08e3af..8818ee8d17 100644 --- a/internal/cli/projects/invitations/update_test.go +++ b/internal/cli/projects/invitations/update_test.go @@ -19,11 +19,11 @@ package invitations import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/list.go b/internal/cli/projects/list.go index 4c2cd84ff9..1ba008afbb 100644 --- a/internal/cli/projects/list.go +++ b/internal/cli/projects/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/list_test.go b/internal/cli/projects/list_test.go index b2d8c7640f..67a926a88d 100644 --- a/internal/cli/projects/list_test.go +++ b/internal/cli/projects/list_test.go @@ -19,10 +19,10 @@ package projects import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/projects.go b/internal/cli/projects/projects.go index e8430c2a4c..81f096da48 100644 --- a/internal/cli/projects/projects.go +++ b/internal/cli/projects/projects.go @@ -15,12 +15,12 @@ package projects import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/projects/apikeys" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/projects/invitations" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/projects/settings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/projects/teams" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/projects/users" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/projects/apikeys" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/projects/invitations" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/projects/settings" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/projects/teams" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/projects/users" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/projects_test.go b/internal/cli/projects/projects_test.go index 12eac071dc..c40d915768 100644 --- a/internal/cli/projects/projects_test.go +++ b/internal/cli/projects/projects_test.go @@ -19,7 +19,7 @@ package projects import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/projects/settings/describe.go b/internal/cli/projects/settings/describe.go index 296f8e346c..c0e410c387 100644 --- a/internal/cli/projects/settings/describe.go +++ b/internal/cli/projects/settings/describe.go @@ -17,12 +17,12 @@ package settings import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/settings/describe_test.go b/internal/cli/projects/settings/describe_test.go index 51870986cc..1b0df8dbc0 100644 --- a/internal/cli/projects/settings/describe_test.go +++ b/internal/cli/projects/settings/describe_test.go @@ -19,10 +19,10 @@ package settings import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/settings/settings.go b/internal/cli/projects/settings/settings.go index 7410cb0cb5..7a17a54611 100644 --- a/internal/cli/projects/settings/settings.go +++ b/internal/cli/projects/settings/settings.go @@ -15,7 +15,7 @@ package settings import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/settings/settings_test.go b/internal/cli/projects/settings/settings_test.go index e13065c1f5..40f6090999 100644 --- a/internal/cli/projects/settings/settings_test.go +++ b/internal/cli/projects/settings/settings_test.go @@ -19,7 +19,7 @@ package settings import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/projects/settings/update.go b/internal/cli/projects/settings/update.go index 337de35217..3e54a86801 100644 --- a/internal/cli/projects/settings/update.go +++ b/internal/cli/projects/settings/update.go @@ -17,11 +17,11 @@ package settings import ( "context" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/settings/update_test.go b/internal/cli/projects/settings/update_test.go index 3aae5b2f9d..9374b5e671 100644 --- a/internal/cli/projects/settings/update_test.go +++ b/internal/cli/projects/settings/update_test.go @@ -19,12 +19,12 @@ package settings import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/projects/teams/add.go b/internal/cli/projects/teams/add.go index 5e1278d633..66eedb4eaf 100644 --- a/internal/cli/projects/teams/add.go +++ b/internal/cli/projects/teams/add.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/teams/add_test.go b/internal/cli/projects/teams/add_test.go index 912fe3f7da..d521556553 100644 --- a/internal/cli/projects/teams/add_test.go +++ b/internal/cli/projects/teams/add_test.go @@ -19,8 +19,8 @@ package teams import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/teams/delete.go b/internal/cli/projects/teams/delete.go index d784d1b1bb..6765d31383 100644 --- a/internal/cli/projects/teams/delete.go +++ b/internal/cli/projects/teams/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/teams/delete_test.go b/internal/cli/projects/teams/delete_test.go index 64c9b6164b..46834b7edd 100644 --- a/internal/cli/projects/teams/delete_test.go +++ b/internal/cli/projects/teams/delete_test.go @@ -19,9 +19,9 @@ package teams import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/projects/teams/list.go b/internal/cli/projects/teams/list.go index f7f6051868..149bf55405 100644 --- a/internal/cli/projects/teams/list.go +++ b/internal/cli/projects/teams/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/teams/list_test.go b/internal/cli/projects/teams/list_test.go index 618ffa4af4..360299b274 100644 --- a/internal/cli/projects/teams/list_test.go +++ b/internal/cli/projects/teams/list_test.go @@ -19,12 +19,12 @@ package teams import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/teams/teams.go b/internal/cli/projects/teams/teams.go index cfb77ca083..9d1620a112 100644 --- a/internal/cli/projects/teams/teams.go +++ b/internal/cli/projects/teams/teams.go @@ -15,7 +15,7 @@ package teams import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/teams/update.go b/internal/cli/projects/teams/update.go index d52ec57d68..167f2daf24 100644 --- a/internal/cli/projects/teams/update.go +++ b/internal/cli/projects/teams/update.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/teams/update_test.go b/internal/cli/projects/teams/update_test.go index 3c32d8e90c..bd63e3ef08 100644 --- a/internal/cli/projects/teams/update_test.go +++ b/internal/cli/projects/teams/update_test.go @@ -19,8 +19,8 @@ package teams import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/users/delete.go b/internal/cli/projects/users/delete.go index dc20cc6c10..5a78570820 100644 --- a/internal/cli/projects/users/delete.go +++ b/internal/cli/projects/users/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/users/delete_test.go b/internal/cli/projects/users/delete_test.go index 2e678d46ca..b29c8d5fc0 100644 --- a/internal/cli/projects/users/delete_test.go +++ b/internal/cli/projects/users/delete_test.go @@ -19,9 +19,9 @@ package users import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/projects/users/list.go b/internal/cli/projects/users/list.go index 0b03c22c11..fb73581113 100644 --- a/internal/cli/projects/users/list.go +++ b/internal/cli/projects/users/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/projects/users/list_test.go b/internal/cli/projects/users/list_test.go index b5bacd050e..1c24d83947 100644 --- a/internal/cli/projects/users/list_test.go +++ b/internal/cli/projects/users/list_test.go @@ -19,10 +19,10 @@ package users import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/projects/users/users.go b/internal/cli/projects/users/users.go index e6b703b630..53a2aad93c 100644 --- a/internal/cli/projects/users/users.go +++ b/internal/cli/projects/users/users.go @@ -15,7 +15,7 @@ package users import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/refresher_opts.go b/internal/cli/refresher_opts.go index 2f109a936b..308d856c80 100644 --- a/internal/cli/refresher_opts.go +++ b/internal/cli/refresher_opts.go @@ -19,8 +19,8 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/oauth" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/oauth" atlasauth "go.mongodb.org/atlas/auth" atlas "go.mongodb.org/atlas/mongodbatlas" ) @@ -31,7 +31,7 @@ type RefresherOpts struct { flow Refresher } -//go:generate mockgen -destination=../mocks/mock_refresher.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli Refresher +//go:generate mockgen -destination=../mocks/mock_refresher.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli Refresher type Refresher interface { RequestCode(context.Context) (*atlasauth.DeviceCode, *atlas.Response, error) PollToken(context.Context, *atlasauth.DeviceCode) (*atlasauth.Token, *atlas.Response, error) diff --git a/internal/cli/require/require.go b/internal/cli/require/require.go index 961b8afc32..40b592ce07 100644 --- a/internal/cli/require/require.go +++ b/internal/cli/require/require.go @@ -17,7 +17,7 @@ package require import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" "github.com/tangzero/inflector" ) diff --git a/internal/cli/root/builder.go b/internal/cli/root/builder.go index 57d4891928..ac7febee92 100644 --- a/internal/cli/root/builder.go +++ b/internal/cli/root/builder.go @@ -24,54 +24,54 @@ import ( "syscall" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/accesslists" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/accesslogs" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/alerts" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/auditing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/auth" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/backup" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/cloudproviders" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/clusters" - cliconfig "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/customdbroles" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/customdns" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/datafederation" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/datalake" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/datalakepipelines" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/dbusers" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/events" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/integrations" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/kubernetes" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/livemigrations" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/logs" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/maintenance" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/metrics" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/networking" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/organizations" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/performanceadvisor" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/processes" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/projects" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/security" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/serverless" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/setup" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/streams" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/teams" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/users" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/homebrew" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/latestrelease" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prerun" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/sighandle" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/terminal" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/accesslists" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/accesslogs" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/alerts" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/auditing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/auth" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/backup" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/cloudproviders" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/clusters" + cliconfig "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/customdbroles" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/customdns" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/datafederation" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/datalake" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/datalakepipelines" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/dbusers" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/events" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/integrations" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/kubernetes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/livemigrations" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/logs" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/maintenance" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/metrics" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/networking" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/organizations" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/performanceadvisor" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/privateendpoints" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/processes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/projects" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/security" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/serverless" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/setup" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/streams" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/teams" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/users" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/homebrew" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/latestrelease" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prerun" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/sighandle" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/terminal" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version" "github.com/spf13/afero" "github.com/spf13/cobra" ) diff --git a/internal/cli/root/builder_test.go b/internal/cli/root/builder_test.go index 4479212c18..c40ae59444 100644 --- a/internal/cli/root/builder_test.go +++ b/internal/cli/root/builder_test.go @@ -21,12 +21,12 @@ import ( "fmt" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/latestrelease" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version" "github.com/golang/mock/gomock" "github.com/google/go-github/v50/github" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/latestrelease" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version" "github.com/spf13/afero" ) diff --git a/internal/cli/search/create.go b/internal/cli/search/create.go index d772f8058c..56086c59c7 100644 --- a/internal/cli/search/create.go +++ b/internal/cli/search/create.go @@ -19,12 +19,12 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" ) diff --git a/internal/cli/search/create_test.go b/internal/cli/search/create_test.go index 4c545bf912..5a912685db 100644 --- a/internal/cli/search/create_test.go +++ b/internal/cli/search/create_test.go @@ -20,8 +20,8 @@ import ( "strings" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/spf13/afero" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/search/delete.go b/internal/cli/search/delete.go index c32cd1f62f..038712af00 100644 --- a/internal/cli/search/delete.go +++ b/internal/cli/search/delete.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" ) diff --git a/internal/cli/search/delete_test.go b/internal/cli/search/delete_test.go index 69730662b9..1b1e16d9ac 100644 --- a/internal/cli/search/delete_test.go +++ b/internal/cli/search/delete_test.go @@ -19,9 +19,9 @@ package search import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/search/describe.go b/internal/cli/search/describe.go index dcb6e936fb..486a04a03c 100644 --- a/internal/cli/search/describe.go +++ b/internal/cli/search/describe.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" ) diff --git a/internal/cli/search/describe_test.go b/internal/cli/search/describe_test.go index e38edb1640..1a2e8f420f 100644 --- a/internal/cli/search/describe_test.go +++ b/internal/cli/search/describe_test.go @@ -19,9 +19,9 @@ package search import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/search/index_opts.go b/internal/cli/search/index_opts.go index 0f25b20ea3..7e88ab3055 100644 --- a/internal/cli/search/index_opts.go +++ b/internal/cli/search/index_opts.go @@ -19,8 +19,8 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/spf13/afero" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/search/indexes.go b/internal/cli/search/indexes.go index fdd602888b..0fce9ff1ef 100644 --- a/internal/cli/search/indexes.go +++ b/internal/cli/search/indexes.go @@ -15,7 +15,7 @@ package search import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/search/list.go b/internal/cli/search/list.go index d3d783766d..1bc747b92f 100644 --- a/internal/cli/search/list.go +++ b/internal/cli/search/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/search/list_test.go b/internal/cli/search/list_test.go index 04449d1092..cda7164433 100644 --- a/internal/cli/search/list_test.go +++ b/internal/cli/search/list_test.go @@ -19,9 +19,9 @@ package search import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/search/nodes/create.go b/internal/cli/search/nodes/create.go index 1756affe88..6bf23d103d 100644 --- a/internal/cli/search/nodes/create.go +++ b/internal/cli/search/nodes/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/search/nodes/create_test.go b/internal/cli/search/nodes/create_test.go index 976d508617..9fa44f785a 100644 --- a/internal/cli/search/nodes/create_test.go +++ b/internal/cli/search/nodes/create_test.go @@ -20,11 +20,11 @@ import ( "strings" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/search/nodes/delete.go b/internal/cli/search/nodes/delete.go index cad93bb1f5..9f8d50a16b 100644 --- a/internal/cli/search/nodes/delete.go +++ b/internal/cli/search/nodes/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/search/nodes/delete_test.go b/internal/cli/search/nodes/delete_test.go index 89bf3bd11a..7c4eea6110 100644 --- a/internal/cli/search/nodes/delete_test.go +++ b/internal/cli/search/nodes/delete_test.go @@ -19,11 +19,11 @@ package nodes import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/search/nodes/list.go b/internal/cli/search/nodes/list.go index 59c8ad67f7..d1ba6a9f37 100644 --- a/internal/cli/search/nodes/list.go +++ b/internal/cli/search/nodes/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/search/nodes/list_test.go b/internal/cli/search/nodes/list_test.go index 4e104ef299..fa36dacbb7 100644 --- a/internal/cli/search/nodes/list_test.go +++ b/internal/cli/search/nodes/list_test.go @@ -19,11 +19,11 @@ package nodes import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/search/nodes/nodes.go b/internal/cli/search/nodes/nodes.go index 0c6e28d7a3..eef77e3b43 100644 --- a/internal/cli/search/nodes/nodes.go +++ b/internal/cli/search/nodes/nodes.go @@ -15,7 +15,7 @@ package nodes import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/search/nodes/nodes_test.go b/internal/cli/search/nodes/nodes_test.go index 84da44455f..806ffc0119 100644 --- a/internal/cli/search/nodes/nodes_test.go +++ b/internal/cli/search/nodes/nodes_test.go @@ -19,7 +19,7 @@ package nodes import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/search/nodes/spec_file.go b/internal/cli/search/nodes/spec_file.go index 171c71ceac..105ae420d6 100644 --- a/internal/cli/search/nodes/spec_file.go +++ b/internal/cli/search/nodes/spec_file.go @@ -17,7 +17,7 @@ package nodes import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" "github.com/spf13/afero" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/search/nodes/update.go b/internal/cli/search/nodes/update.go index 663e41b521..b35c7ccd54 100644 --- a/internal/cli/search/nodes/update.go +++ b/internal/cli/search/nodes/update.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/search/nodes/update_test.go b/internal/cli/search/nodes/update_test.go index 29f7627178..b14ec9c130 100644 --- a/internal/cli/search/nodes/update_test.go +++ b/internal/cli/search/nodes/update_test.go @@ -20,11 +20,11 @@ import ( "strings" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/search/search.go b/internal/cli/search/search.go index b752bc8c56..5ed886e773 100644 --- a/internal/cli/search/search.go +++ b/internal/cli/search/search.go @@ -15,7 +15,7 @@ package search import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/search/nodes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/search/nodes" "github.com/spf13/cobra" ) diff --git a/internal/cli/search/update.go b/internal/cli/search/update.go index a38599d609..ab7b7c11a9 100644 --- a/internal/cli/search/update.go +++ b/internal/cli/search/update.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" ) diff --git a/internal/cli/search/update_test.go b/internal/cli/search/update_test.go index fd2d231955..cabd22a8f5 100644 --- a/internal/cli/search/update_test.go +++ b/internal/cli/search/update_test.go @@ -19,8 +19,8 @@ package search import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/spf13/afero" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/security/customercerts/certs.go b/internal/cli/security/customercerts/certs.go index 49b5d7ac72..a7121bf588 100644 --- a/internal/cli/security/customercerts/certs.go +++ b/internal/cli/security/customercerts/certs.go @@ -15,7 +15,7 @@ package customercerts import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/security/customercerts/create.go b/internal/cli/security/customercerts/create.go index e60a103d4b..87ab613605 100644 --- a/internal/cli/security/customercerts/create.go +++ b/internal/cli/security/customercerts/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" ) diff --git a/internal/cli/security/customercerts/create_test.go b/internal/cli/security/customercerts/create_test.go index 4b8f60d017..aa3596f187 100644 --- a/internal/cli/security/customercerts/create_test.go +++ b/internal/cli/security/customercerts/create_test.go @@ -19,8 +19,8 @@ package customercerts import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/spf13/afero" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/security/customercerts/describe.go b/internal/cli/security/customercerts/describe.go index 42a728effa..d19c159f79 100644 --- a/internal/cli/security/customercerts/describe.go +++ b/internal/cli/security/customercerts/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/security/customercerts/describe_test.go b/internal/cli/security/customercerts/describe_test.go index 86ce10f5ae..8885f13b4c 100644 --- a/internal/cli/security/customercerts/describe_test.go +++ b/internal/cli/security/customercerts/describe_test.go @@ -19,10 +19,10 @@ package customercerts import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/security/customercerts/disable.go b/internal/cli/security/customercerts/disable.go index d57176af72..8d2d399881 100644 --- a/internal/cli/security/customercerts/disable.go +++ b/internal/cli/security/customercerts/disable.go @@ -19,13 +19,13 @@ import ( "fmt" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/security/customercerts/disable_test.go b/internal/cli/security/customercerts/disable_test.go index 2ac69d4b8f..cca9f01697 100644 --- a/internal/cli/security/customercerts/disable_test.go +++ b/internal/cli/security/customercerts/disable_test.go @@ -19,8 +19,8 @@ package customercerts import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDisableOpts_Run(t *testing.T) { diff --git a/internal/cli/security/ldap/delete.go b/internal/cli/security/ldap/delete.go index f3c7a6bb1a..7dc7b0e648 100644 --- a/internal/cli/security/ldap/delete.go +++ b/internal/cli/security/ldap/delete.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/security/ldap/delete_test.go b/internal/cli/security/ldap/delete_test.go index 02532a7dec..edd2c02061 100644 --- a/internal/cli/security/ldap/delete_test.go +++ b/internal/cli/security/ldap/delete_test.go @@ -18,11 +18,11 @@ package ldap import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/security/ldap/get.go b/internal/cli/security/ldap/get.go index c06cd72765..6b9fcbe25f 100644 --- a/internal/cli/security/ldap/get.go +++ b/internal/cli/security/ldap/get.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/security/ldap/get_test.go b/internal/cli/security/ldap/get_test.go index e031b3cae6..5ba3b9b070 100644 --- a/internal/cli/security/ldap/get_test.go +++ b/internal/cli/security/ldap/get_test.go @@ -19,10 +19,10 @@ package ldap import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/security/ldap/ldap.go b/internal/cli/security/ldap/ldap.go index 0c1246b9aa..fed71c8e7d 100644 --- a/internal/cli/security/ldap/ldap.go +++ b/internal/cli/security/ldap/ldap.go @@ -15,7 +15,7 @@ package ldap import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/security/ldap/ldap_test.go b/internal/cli/security/ldap/ldap_test.go index 9af4b146b1..f227312a72 100644 --- a/internal/cli/security/ldap/ldap_test.go +++ b/internal/cli/security/ldap/ldap_test.go @@ -18,7 +18,7 @@ package ldap import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/security/ldap/save.go b/internal/cli/security/ldap/save.go index f7cabfe636..3c6f7902b4 100644 --- a/internal/cli/security/ldap/save.go +++ b/internal/cli/security/ldap/save.go @@ -20,12 +20,12 @@ import ( "fmt" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/security/ldap/save_test.go b/internal/cli/security/ldap/save_test.go index efff4d652d..900d8b9e5e 100644 --- a/internal/cli/security/ldap/save_test.go +++ b/internal/cli/security/ldap/save_test.go @@ -19,10 +19,10 @@ package ldap import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/security/ldap/status.go b/internal/cli/security/ldap/status.go index e18b3ecebc..b3f55174ca 100644 --- a/internal/cli/security/ldap/status.go +++ b/internal/cli/security/ldap/status.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/security/ldap/status_test.go b/internal/cli/security/ldap/status_test.go index 6ab8ddcb78..a207c73bdf 100644 --- a/internal/cli/security/ldap/status_test.go +++ b/internal/cli/security/ldap/status_test.go @@ -19,10 +19,10 @@ package ldap import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/security/ldap/verify.go b/internal/cli/security/ldap/verify.go index f53e957ede..cbaf13d77d 100644 --- a/internal/cli/security/ldap/verify.go +++ b/internal/cli/security/ldap/verify.go @@ -20,12 +20,12 @@ import ( "fmt" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/security/ldap/verify_test.go b/internal/cli/security/ldap/verify_test.go index 78468d6853..79b1c67f6e 100644 --- a/internal/cli/security/ldap/verify_test.go +++ b/internal/cli/security/ldap/verify_test.go @@ -19,11 +19,11 @@ package ldap import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/security/ldap/watch.go b/internal/cli/security/ldap/watch.go index 12e5a2bccc..6c4fce09d5 100644 --- a/internal/cli/security/ldap/watch.go +++ b/internal/cli/security/ldap/watch.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/security/ldap/watch_test.go b/internal/cli/security/ldap/watch_test.go index c226948d94..46480bf0d7 100644 --- a/internal/cli/security/ldap/watch_test.go +++ b/internal/cli/security/ldap/watch_test.go @@ -19,11 +19,11 @@ package ldap import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/security/security.go b/internal/cli/security/security.go index 160540c449..5ca536167d 100644 --- a/internal/cli/security/security.go +++ b/internal/cli/security/security.go @@ -15,8 +15,8 @@ package security import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/security/customercerts" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/security/ldap" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/security/customercerts" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/security/ldap" "github.com/spf13/cobra" ) diff --git a/internal/cli/security/security_test.go b/internal/cli/security/security_test.go index 7195868a87..6a82078a97 100644 --- a/internal/cli/security/security_test.go +++ b/internal/cli/security/security_test.go @@ -18,7 +18,7 @@ package security import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/serverless/backup/backup.go b/internal/cli/serverless/backup/backup.go index 23f8b94cba..15c25c1c68 100644 --- a/internal/cli/serverless/backup/backup.go +++ b/internal/cli/serverless/backup/backup.go @@ -15,9 +15,9 @@ package backup import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/serverless/backup/restores" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/serverless/backup/snapshots" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/serverless/backup/restores" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/serverless/backup/snapshots" "github.com/spf13/cobra" ) diff --git a/internal/cli/serverless/backup/backup_test.go b/internal/cli/serverless/backup/backup_test.go index de8742813b..2a659f56a3 100644 --- a/internal/cli/serverless/backup/backup_test.go +++ b/internal/cli/serverless/backup/backup_test.go @@ -19,7 +19,7 @@ package backup import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/serverless/backup/restores/create.go b/internal/cli/serverless/backup/restores/create.go index 87ec5d5029..f23266c718 100644 --- a/internal/cli/serverless/backup/restores/create.go +++ b/internal/cli/serverless/backup/restores/create.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/commonerrors" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/backup/restores/create_test.go b/internal/cli/serverless/backup/restores/create_test.go index 8774af8119..438a874014 100644 --- a/internal/cli/serverless/backup/restores/create_test.go +++ b/internal/cli/serverless/backup/restores/create_test.go @@ -19,10 +19,10 @@ package restores import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/backup/restores/describe.go b/internal/cli/serverless/backup/restores/describe.go index 79290d6278..766d9ca40d 100644 --- a/internal/cli/serverless/backup/restores/describe.go +++ b/internal/cli/serverless/backup/restores/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/serverless/backup/restores/describe_test.go b/internal/cli/serverless/backup/restores/describe_test.go index fe1d80f981..8d41d96cb8 100644 --- a/internal/cli/serverless/backup/restores/describe_test.go +++ b/internal/cli/serverless/backup/restores/describe_test.go @@ -21,12 +21,12 @@ import ( "testing" "time" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/serverless/backup/restores/list.go b/internal/cli/serverless/backup/restores/list.go index 5be8d5bf18..52c114e71d 100644 --- a/internal/cli/serverless/backup/restores/list.go +++ b/internal/cli/serverless/backup/restores/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/serverless/backup/restores/list_test.go b/internal/cli/serverless/backup/restores/list_test.go index 3183033cb3..6bcca35d87 100644 --- a/internal/cli/serverless/backup/restores/list_test.go +++ b/internal/cli/serverless/backup/restores/list_test.go @@ -19,11 +19,11 @@ package restores import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/backup/restores/restores.go b/internal/cli/serverless/backup/restores/restores.go index f9070278df..91350c9839 100644 --- a/internal/cli/serverless/backup/restores/restores.go +++ b/internal/cli/serverless/backup/restores/restores.go @@ -15,7 +15,7 @@ package restores import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/serverless/backup/restores/restores_test.go b/internal/cli/serverless/backup/restores/restores_test.go index a2903d5bc8..3cebfd962a 100644 --- a/internal/cli/serverless/backup/restores/restores_test.go +++ b/internal/cli/serverless/backup/restores/restores_test.go @@ -19,7 +19,7 @@ package restores import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/serverless/backup/restores/watch.go b/internal/cli/serverless/backup/restores/watch.go index 54c231c51b..eebab21a04 100644 --- a/internal/cli/serverless/backup/restores/watch.go +++ b/internal/cli/serverless/backup/restores/watch.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/backup/restores/watch_test.go b/internal/cli/serverless/backup/restores/watch_test.go index df2d8c46ba..0ba6b54ec0 100644 --- a/internal/cli/serverless/backup/restores/watch_test.go +++ b/internal/cli/serverless/backup/restores/watch_test.go @@ -19,11 +19,11 @@ package restores import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/backup/snapshots/describe.go b/internal/cli/serverless/backup/snapshots/describe.go index 5533bd7c28..a375b3ec0a 100644 --- a/internal/cli/serverless/backup/snapshots/describe.go +++ b/internal/cli/serverless/backup/snapshots/describe.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/serverless/backup/snapshots/describe_test.go b/internal/cli/serverless/backup/snapshots/describe_test.go index 56e4bd8d0f..4bc8a33f56 100644 --- a/internal/cli/serverless/backup/snapshots/describe_test.go +++ b/internal/cli/serverless/backup/snapshots/describe_test.go @@ -19,9 +19,9 @@ package snapshots import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/backup/snapshots/list.go b/internal/cli/serverless/backup/snapshots/list.go index 55c15b599e..79fba02e63 100644 --- a/internal/cli/serverless/backup/snapshots/list.go +++ b/internal/cli/serverless/backup/snapshots/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/serverless/backup/snapshots/list_test.go b/internal/cli/serverless/backup/snapshots/list_test.go index 0964ad2705..ee407ad576 100644 --- a/internal/cli/serverless/backup/snapshots/list_test.go +++ b/internal/cli/serverless/backup/snapshots/list_test.go @@ -19,11 +19,11 @@ package snapshots import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/backup/snapshots/snapshots.go b/internal/cli/serverless/backup/snapshots/snapshots.go index 1d1183e4b8..b53f36c810 100644 --- a/internal/cli/serverless/backup/snapshots/snapshots.go +++ b/internal/cli/serverless/backup/snapshots/snapshots.go @@ -15,7 +15,7 @@ package snapshots import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/serverless/backup/snapshots/snapshots_test.go b/internal/cli/serverless/backup/snapshots/snapshots_test.go index 7b023179c3..8cbbd34e6c 100644 --- a/internal/cli/serverless/backup/snapshots/snapshots_test.go +++ b/internal/cli/serverless/backup/snapshots/snapshots_test.go @@ -19,7 +19,7 @@ package snapshots import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/serverless/backup/snapshots/watch.go b/internal/cli/serverless/backup/snapshots/watch.go index 514b0b1fcb..3b4a723126 100644 --- a/internal/cli/serverless/backup/snapshots/watch.go +++ b/internal/cli/serverless/backup/snapshots/watch.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/serverless/backup/snapshots/watch_test.go b/internal/cli/serverless/backup/snapshots/watch_test.go index 16e2428210..efda28a2fe 100644 --- a/internal/cli/serverless/backup/snapshots/watch_test.go +++ b/internal/cli/serverless/backup/snapshots/watch_test.go @@ -19,9 +19,9 @@ package snapshots import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/create.go b/internal/cli/serverless/create.go index 00d30058f4..0f90f82ddd 100644 --- a/internal/cli/serverless/create.go +++ b/internal/cli/serverless/create.go @@ -18,13 +18,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/create_test.go b/internal/cli/serverless/create_test.go index c72708039c..f3666b62aa 100644 --- a/internal/cli/serverless/create_test.go +++ b/internal/cli/serverless/create_test.go @@ -19,10 +19,10 @@ package serverless import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/delete.go b/internal/cli/serverless/delete.go index 3b057dfd4b..944e4cde5d 100644 --- a/internal/cli/serverless/delete.go +++ b/internal/cli/serverless/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/serverless/delete_test.go b/internal/cli/serverless/delete_test.go index 2251bf2efe..118781c2b0 100644 --- a/internal/cli/serverless/delete_test.go +++ b/internal/cli/serverless/delete_test.go @@ -19,11 +19,11 @@ package serverless import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/serverless/describe.go b/internal/cli/serverless/describe.go index 1cc765c043..f8b1510c25 100644 --- a/internal/cli/serverless/describe.go +++ b/internal/cli/serverless/describe.go @@ -17,12 +17,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/serverless/describe_test.go b/internal/cli/serverless/describe_test.go index c0215688b1..95d2a73b17 100644 --- a/internal/cli/serverless/describe_test.go +++ b/internal/cli/serverless/describe_test.go @@ -19,10 +19,10 @@ package serverless import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/list.go b/internal/cli/serverless/list.go index 1aae9f87fb..bbb4049823 100644 --- a/internal/cli/serverless/list.go +++ b/internal/cli/serverless/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/serverless/list_test.go b/internal/cli/serverless/list_test.go index 2c4308da09..4d50682338 100644 --- a/internal/cli/serverless/list_test.go +++ b/internal/cli/serverless/list_test.go @@ -19,11 +19,11 @@ package serverless import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/serverless.go b/internal/cli/serverless/serverless.go index ebb90363f2..7fb00ca37a 100644 --- a/internal/cli/serverless/serverless.go +++ b/internal/cli/serverless/serverless.go @@ -15,7 +15,7 @@ package serverless import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/serverless/backup" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/serverless/backup" "github.com/spf13/cobra" ) diff --git a/internal/cli/serverless/serverless_test.go b/internal/cli/serverless/serverless_test.go index 951d0a6718..34d96a9ffb 100644 --- a/internal/cli/serverless/serverless_test.go +++ b/internal/cli/serverless/serverless_test.go @@ -19,7 +19,7 @@ package serverless import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/serverless/update.go b/internal/cli/serverless/update.go index a682923d55..5933518c5c 100644 --- a/internal/cli/serverless/update.go +++ b/internal/cli/serverless/update.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/update_test.go b/internal/cli/serverless/update_test.go index 73b1060cfc..9df2070a0f 100644 --- a/internal/cli/serverless/update_test.go +++ b/internal/cli/serverless/update_test.go @@ -19,10 +19,10 @@ package serverless import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/serverless/watch.go b/internal/cli/serverless/watch.go index c4218416be..da6e61a22d 100644 --- a/internal/cli/serverless/watch.go +++ b/internal/cli/serverless/watch.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/serverless/watch_test.go b/internal/cli/serverless/watch_test.go index 346d87eabd..2082373805 100644 --- a/internal/cli/serverless/watch_test.go +++ b/internal/cli/serverless/watch_test.go @@ -19,10 +19,10 @@ package serverless import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/setup/access_list_setup.go b/internal/cli/setup/access_list_setup.go index b99d7f01af..fb0897e4c1 100644 --- a/internal/cli/setup/access_list_setup.go +++ b/internal/cli/setup/access_list_setup.go @@ -19,10 +19,10 @@ import ( "strings" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/setup/cluster_setup.go b/internal/cli/setup/cluster_setup.go index a1270f9057..aec56a6d6f 100644 --- a/internal/cli/setup/cluster_setup.go +++ b/internal/cli/setup/cluster_setup.go @@ -20,12 +20,12 @@ import ( "strings" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/search" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/search" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" atlas "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/cli/setup/confirm_cluster_setup.go b/internal/cli/setup/confirm_cluster_setup.go index cfa0f970e1..56c50d202e 100644 --- a/internal/cli/setup/confirm_cluster_setup.go +++ b/internal/cli/setup/confirm_cluster_setup.go @@ -19,7 +19,7 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" ) const loadSampleDataMsg = ` diff --git a/internal/cli/setup/confirm_default_setup.go b/internal/cli/setup/confirm_default_setup.go index c0d22ff7eb..fbca9b15df 100644 --- a/internal/cli/setup/confirm_default_setup.go +++ b/internal/cli/setup/confirm_default_setup.go @@ -19,7 +19,7 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" ) func (opts *Opts) askConfirmDefaultQuestion(values *clusterSettings) error { diff --git a/internal/cli/setup/dbuser_setup.go b/internal/cli/setup/dbuser_setup.go index 851d32c0a6..05370eae8f 100644 --- a/internal/cli/setup/dbuser_setup.go +++ b/internal/cli/setup/dbuser_setup.go @@ -18,12 +18,12 @@ import ( "fmt" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/randgen" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/randgen" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/setup/prompt.go b/internal/cli/setup/prompt.go index 8034422c72..4268052768 100644 --- a/internal/cli/setup/prompt.go +++ b/internal/cli/setup/prompt.go @@ -18,8 +18,8 @@ import ( "fmt" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" ) func newClusterNameQuestion(clusterName string) *survey.Question { diff --git a/internal/cli/setup/setup_cmd.go b/internal/cli/setup/setup_cmd.go index 2ce09aa0d0..efb43ef3e9 100644 --- a/internal/cli/setup/setup_cmd.go +++ b/internal/cli/setup/setup_cmd.go @@ -25,19 +25,19 @@ import ( "syscall" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/auth" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mongosh" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prerun" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/sighandle" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/auth" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mongosh" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prerun" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/sighandle" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" "github.com/spf13/cobra" "github.com/spf13/pflag" "go.mongodb.org/atlas-sdk/v20231115008/admin" @@ -95,7 +95,7 @@ We could not find your public IP address. To add your IP address run: ` -//go:generate mockgen -destination=../../mocks/mock_setup.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/setup ProfileReader +//go:generate mockgen -destination=../../mocks/mock_setup.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/setup ProfileReader type ProfileReader interface { ProjectID() string diff --git a/internal/cli/setup/setup_cmd_test.go b/internal/cli/setup/setup_cmd_test.go index c5025fd48e..fd375c80e9 100644 --- a/internal/cli/setup/setup_cmd_test.go +++ b/internal/cli/setup/setup_cmd_test.go @@ -21,12 +21,12 @@ import ( "context" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/pflag" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/cli/streams/connection/connection.go b/internal/cli/streams/connection/connection.go index 71e9de06f4..4eed5ae5e7 100644 --- a/internal/cli/streams/connection/connection.go +++ b/internal/cli/streams/connection/connection.go @@ -17,7 +17,7 @@ package connection import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/streams/connection/connection_test.go b/internal/cli/streams/connection/connection_test.go index 841e58b9a4..58658d6f02 100644 --- a/internal/cli/streams/connection/connection_test.go +++ b/internal/cli/streams/connection/connection_test.go @@ -19,7 +19,7 @@ package connection import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/streams/connection/create.go b/internal/cli/streams/connection/create.go index dcf8f35b56..8c5d9d39ff 100644 --- a/internal/cli/streams/connection/create.go +++ b/internal/cli/streams/connection/create.go @@ -21,13 +21,13 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/streams/connection/create_test.go b/internal/cli/streams/connection/create_test.go index 01d876c670..d2e5fc0afb 100644 --- a/internal/cli/streams/connection/create_test.go +++ b/internal/cli/streams/connection/create_test.go @@ -20,10 +20,10 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/streams/connection/delete.go b/internal/cli/streams/connection/delete.go index 9b656edc12..47cd1c7f87 100644 --- a/internal/cli/streams/connection/delete.go +++ b/internal/cli/streams/connection/delete.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/streams/connection/delete_test.go b/internal/cli/streams/connection/delete_test.go index 826df809b3..a2dcd20b0d 100644 --- a/internal/cli/streams/connection/delete_test.go +++ b/internal/cli/streams/connection/delete_test.go @@ -19,11 +19,11 @@ package connection import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/streams/connection/describe.go b/internal/cli/streams/connection/describe.go index 7c8901656f..0d919bcf25 100644 --- a/internal/cli/streams/connection/describe.go +++ b/internal/cli/streams/connection/describe.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/streams/connection/describe_test.go b/internal/cli/streams/connection/describe_test.go index 692a6338ef..6d33054239 100644 --- a/internal/cli/streams/connection/describe_test.go +++ b/internal/cli/streams/connection/describe_test.go @@ -20,11 +20,11 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/streams/connection/list.go b/internal/cli/streams/connection/list.go index 78db503058..26be75e64e 100644 --- a/internal/cli/streams/connection/list.go +++ b/internal/cli/streams/connection/list.go @@ -20,12 +20,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/streams/connection/list_test.go b/internal/cli/streams/connection/list_test.go index 50f45cdf2f..1be4c19162 100644 --- a/internal/cli/streams/connection/list_test.go +++ b/internal/cli/streams/connection/list_test.go @@ -20,11 +20,11 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/streams/connection/update.go b/internal/cli/streams/connection/update.go index ceeaea855d..2b35616963 100644 --- a/internal/cli/streams/connection/update.go +++ b/internal/cli/streams/connection/update.go @@ -20,13 +20,13 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/streams/connection/update_test.go b/internal/cli/streams/connection/update_test.go index 86f3d5f564..9b88158c50 100644 --- a/internal/cli/streams/connection/update_test.go +++ b/internal/cli/streams/connection/update_test.go @@ -20,10 +20,10 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/streams/instance/create.go b/internal/cli/streams/instance/create.go index a2450bb742..2b9b1ebd72 100644 --- a/internal/cli/streams/instance/create.go +++ b/internal/cli/streams/instance/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/streams/instance/create_test.go b/internal/cli/streams/instance/create_test.go index 840a4515df..9cd2b67f19 100644 --- a/internal/cli/streams/instance/create_test.go +++ b/internal/cli/streams/instance/create_test.go @@ -20,10 +20,10 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/streams/instance/delete.go b/internal/cli/streams/instance/delete.go index 6ed49f8a7b..33cafcf782 100644 --- a/internal/cli/streams/instance/delete.go +++ b/internal/cli/streams/instance/delete.go @@ -19,12 +19,12 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/streams/instance/delete_test.go b/internal/cli/streams/instance/delete_test.go index 92db0f242d..a37b21f101 100644 --- a/internal/cli/streams/instance/delete_test.go +++ b/internal/cli/streams/instance/delete_test.go @@ -19,11 +19,11 @@ package instance import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" ) func TestDeleteOpts_Run(t *testing.T) { diff --git a/internal/cli/streams/instance/describe.go b/internal/cli/streams/instance/describe.go index 2424d2f7df..92c24377ad 100644 --- a/internal/cli/streams/instance/describe.go +++ b/internal/cli/streams/instance/describe.go @@ -19,12 +19,12 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/streams/instance/describe_test.go b/internal/cli/streams/instance/describe_test.go index 572073797b..82e3963689 100644 --- a/internal/cli/streams/instance/describe_test.go +++ b/internal/cli/streams/instance/describe_test.go @@ -20,11 +20,11 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/streams/instance/download.go b/internal/cli/streams/instance/download.go index 48306d09e8..338deb66a1 100644 --- a/internal/cli/streams/instance/download.go +++ b/internal/cli/streams/instance/download.go @@ -19,12 +19,12 @@ import ( "fmt" "io" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/afero" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/streams/instance/download_test.go b/internal/cli/streams/instance/download_test.go index 4a5370e58e..930205310f 100644 --- a/internal/cli/streams/instance/download_test.go +++ b/internal/cli/streams/instance/download_test.go @@ -19,11 +19,11 @@ import ( "strings" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/spf13/afero" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/cli/streams/instance/instance.go b/internal/cli/streams/instance/instance.go index fa9b2be1ac..737dbb8898 100644 --- a/internal/cli/streams/instance/instance.go +++ b/internal/cli/streams/instance/instance.go @@ -15,7 +15,7 @@ package instance import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/streams/instance/instance_test.go b/internal/cli/streams/instance/instance_test.go index cca0e83bd3..dd54663a03 100644 --- a/internal/cli/streams/instance/instance_test.go +++ b/internal/cli/streams/instance/instance_test.go @@ -19,7 +19,7 @@ package instance import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/streams/instance/list.go b/internal/cli/streams/instance/list.go index f66a7ad8a3..5f263acd15 100644 --- a/internal/cli/streams/instance/list.go +++ b/internal/cli/streams/instance/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/streams/instance/list_test.go b/internal/cli/streams/instance/list_test.go index c275e8a704..1dd0ec2221 100644 --- a/internal/cli/streams/instance/list_test.go +++ b/internal/cli/streams/instance/list_test.go @@ -20,11 +20,11 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/streams/instance/update.go b/internal/cli/streams/instance/update.go index 5df35b4bf8..a50773b9b9 100644 --- a/internal/cli/streams/instance/update.go +++ b/internal/cli/streams/instance/update.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/streams/instance/update_test.go b/internal/cli/streams/instance/update_test.go index 3d39193d58..fbab70b4f4 100644 --- a/internal/cli/streams/instance/update_test.go +++ b/internal/cli/streams/instance/update_test.go @@ -20,10 +20,10 @@ import ( "bytes" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/streams/streams.go b/internal/cli/streams/streams.go index e33e5093ae..86239e2dd9 100644 --- a/internal/cli/streams/streams.go +++ b/internal/cli/streams/streams.go @@ -15,9 +15,9 @@ package streams import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/streams/connection" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/streams/instance" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/streams/connection" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/streams/instance" "github.com/spf13/cobra" ) diff --git a/internal/cli/streams/streams_test.go b/internal/cli/streams/streams_test.go index e3285e5a6d..fc04e9ae56 100644 --- a/internal/cli/streams/streams_test.go +++ b/internal/cli/streams/streams_test.go @@ -19,7 +19,7 @@ package streams import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/internal/cli/teams/create.go b/internal/cli/teams/create.go index 8fc1158521..7476d13f2d 100644 --- a/internal/cli/teams/create.go +++ b/internal/cli/teams/create.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/teams/create_test.go b/internal/cli/teams/create_test.go index 535f11efcb..f5eb0b5358 100644 --- a/internal/cli/teams/create_test.go +++ b/internal/cli/teams/create_test.go @@ -19,8 +19,8 @@ package teams import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/teams/delete.go b/internal/cli/teams/delete.go index efda2ce927..b9c495bf06 100644 --- a/internal/cli/teams/delete.go +++ b/internal/cli/teams/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/teams/delete_test.go b/internal/cli/teams/delete_test.go index 6ce5e02cb1..de4f531a0b 100644 --- a/internal/cli/teams/delete_test.go +++ b/internal/cli/teams/delete_test.go @@ -19,9 +19,9 @@ package teams import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/teams/describe.go b/internal/cli/teams/describe.go index ef4dbba5f6..f84a23fc1a 100644 --- a/internal/cli/teams/describe.go +++ b/internal/cli/teams/describe.go @@ -19,12 +19,12 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/teams/describe_test.go b/internal/cli/teams/describe_test.go index 60dd9c4287..519995172e 100644 --- a/internal/cli/teams/describe_test.go +++ b/internal/cli/teams/describe_test.go @@ -18,8 +18,8 @@ package teams import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/teams/list.go b/internal/cli/teams/list.go index eff7de3110..cdd1a18f21 100644 --- a/internal/cli/teams/list.go +++ b/internal/cli/teams/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/teams/list_test.go b/internal/cli/teams/list_test.go index b8ea0d89dd..f2f5b28936 100644 --- a/internal/cli/teams/list_test.go +++ b/internal/cli/teams/list_test.go @@ -19,11 +19,11 @@ package teams import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/teams/rename.go b/internal/cli/teams/rename.go index bf0779f122..022e19f40f 100644 --- a/internal/cli/teams/rename.go +++ b/internal/cli/teams/rename.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/teams/rename_test.go b/internal/cli/teams/rename_test.go index 1830080b6f..6c43592a6a 100644 --- a/internal/cli/teams/rename_test.go +++ b/internal/cli/teams/rename_test.go @@ -19,11 +19,11 @@ package teams import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/teams/teams.go b/internal/cli/teams/teams.go index bc6c502610..f8c905142c 100644 --- a/internal/cli/teams/teams.go +++ b/internal/cli/teams/teams.go @@ -15,8 +15,8 @@ package teams import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/teams/users" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/teams/users" "github.com/spf13/cobra" ) diff --git a/internal/cli/teams/users/add.go b/internal/cli/teams/users/add.go index 1d2c7e678b..bd181f0a14 100644 --- a/internal/cli/teams/users/add.go +++ b/internal/cli/teams/users/add.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/teams/users/add_test.go b/internal/cli/teams/users/add_test.go index 4a6d3173b6..bfe739ee8c 100644 --- a/internal/cli/teams/users/add_test.go +++ b/internal/cli/teams/users/add_test.go @@ -19,8 +19,8 @@ package users import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/teams/users/delete.go b/internal/cli/teams/users/delete.go index 67215c9f5f..3e15cc3146 100644 --- a/internal/cli/teams/users/delete.go +++ b/internal/cli/teams/users/delete.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/teams/users/delete_test.go b/internal/cli/teams/users/delete_test.go index 9b01beff28..c3c85f1295 100644 --- a/internal/cli/teams/users/delete_test.go +++ b/internal/cli/teams/users/delete_test.go @@ -19,9 +19,9 @@ package users import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" ) func TestDelete_Run(t *testing.T) { diff --git a/internal/cli/teams/users/list.go b/internal/cli/teams/users/list.go index fcb22b7d84..cd19b0ab63 100644 --- a/internal/cli/teams/users/list.go +++ b/internal/cli/teams/users/list.go @@ -18,12 +18,12 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/teams/users/list_test.go b/internal/cli/teams/users/list_test.go index 63ab792de0..49bfeb1b90 100644 --- a/internal/cli/teams/users/list_test.go +++ b/internal/cli/teams/users/list_test.go @@ -19,9 +19,9 @@ package users import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/teams/users/users.go b/internal/cli/teams/users/users.go index 15eb0ac960..b3d45fd8db 100644 --- a/internal/cli/teams/users/users.go +++ b/internal/cli/teams/users/users.go @@ -15,7 +15,7 @@ package users import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/users/describe.go b/internal/cli/users/describe.go index fd72b114a8..81f440534a 100644 --- a/internal/cli/users/describe.go +++ b/internal/cli/users/describe.go @@ -18,13 +18,13 @@ import ( "context" "errors" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prerun" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prerun" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" ) diff --git a/internal/cli/users/describe_test.go b/internal/cli/users/describe_test.go index 1f19267e8c..ed788eb898 100644 --- a/internal/cli/users/describe_test.go +++ b/internal/cli/users/describe_test.go @@ -18,9 +18,9 @@ package users import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/users/invite.go b/internal/cli/users/invite.go index e443a649ad..f8bea992e2 100644 --- a/internal/cli/users/invite.go +++ b/internal/cli/users/invite.go @@ -20,15 +20,15 @@ import ( "strings" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/require" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/prerun" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/require" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/prerun" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/usage" "github.com/spf13/cobra" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/users/invite_test.go b/internal/cli/users/invite_test.go index 1b18cb9b3d..411d948144 100644 --- a/internal/cli/users/invite_test.go +++ b/internal/cli/users/invite_test.go @@ -21,9 +21,9 @@ import ( "reflect" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/cli/users/users.go b/internal/cli/users/users.go index b2eb0e2eb1..c69136ca26 100644 --- a/internal/cli/users/users.go +++ b/internal/cli/users/users.go @@ -15,7 +15,7 @@ package users import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli" "github.com/spf13/cobra" ) diff --git a/internal/cli/watch_opts.go b/internal/cli/watch_opts.go index 3a03d06c8d..30ec25588f 100644 --- a/internal/cli/watch_opts.go +++ b/internal/cli/watch_opts.go @@ -20,8 +20,8 @@ import ( "time" "github.com/briandowns/spinner" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/watchers" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/watchers" ) type WatchOpts struct { diff --git a/internal/cli/workflows/flags.go b/internal/cli/workflows/flags.go index da43e1eee8..321a603c62 100644 --- a/internal/cli/workflows/flags.go +++ b/internal/cli/workflows/flags.go @@ -18,8 +18,8 @@ import ( "strconv" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" ) var GlobalFlagsToArgs = map[string]string{ diff --git a/internal/config/profile.go b/internal/config/profile.go index 3557c84b2f..c3651bd74c 100644 --- a/internal/config/profile.go +++ b/internal/config/profile.go @@ -27,15 +27,15 @@ import ( "strings" "time" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version" "github.com/golang-jwt/jwt/v4" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version" "github.com/pelletier/go-toml" "github.com/spf13/afero" "github.com/spf13/viper" "go.mongodb.org/atlas/auth" ) -//go:generate mockgen -destination=../mocks/mock_profile.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config SetSaver +//go:generate mockgen -destination=../mocks/mock_profile.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config SetSaver const ( MongoCLIEnvPrefix = "MCLI" // MongoCLIEnvPrefix prefix for MongoCLI ENV variables diff --git a/internal/convert/database_user_test.go b/internal/convert/database_user_test.go index 5a30789051..ca53849fbf 100644 --- a/internal/convert/database_user_test.go +++ b/internal/convert/database_user_test.go @@ -19,8 +19,8 @@ package convert import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/go-test/deep" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/decryption/encrypted_audit_log.go b/internal/decryption/encrypted_audit_log.go index 2dd56eabd2..57e2451e80 100644 --- a/internal/decryption/encrypted_audit_log.go +++ b/internal/decryption/encrypted_audit_log.go @@ -19,7 +19,7 @@ import ( "fmt" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/decryption/keyproviders" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/decryption/keyproviders" ) var ( diff --git a/internal/decryption/header.go b/internal/decryption/header.go index 0ccdbd2ac6..23f44fd9d1 100644 --- a/internal/decryption/header.go +++ b/internal/decryption/header.go @@ -19,8 +19,8 @@ import ( "errors" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/decryption/aes" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/decryption/keyproviders" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/decryption/aes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/decryption/keyproviders" "go.mongodb.org/mongo-driver/bson" ) diff --git a/internal/decryption/header_test.go b/internal/decryption/header_test.go index e5f09013b4..58cf835c40 100644 --- a/internal/decryption/header_test.go +++ b/internal/decryption/header_test.go @@ -22,8 +22,8 @@ import ( "testing" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/decryption/keyproviders" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/decryption/keyproviders" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" ) func Test_validateMAC(t *testing.T) { diff --git a/internal/decryption/keyproviders/aws.go b/internal/decryption/keyproviders/aws.go index 012712a797..ff61d6bb12 100644 --- a/internal/decryption/keyproviders/aws.go +++ b/internal/decryption/keyproviders/aws.go @@ -24,7 +24,7 @@ import ( "github.com/aws/aws-sdk-go-v2/credentials" "github.com/aws/aws-sdk-go-v2/credentials/endpointcreds" "github.com/aws/aws-sdk-go-v2/service/kms" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" ) type AWSKeyIdentifier struct { diff --git a/internal/decryption/keyproviders/gcp.go b/internal/decryption/keyproviders/gcp.go index 0b0d2ad0b4..1d8af24705 100644 --- a/internal/decryption/keyproviders/gcp.go +++ b/internal/decryption/keyproviders/gcp.go @@ -21,7 +21,7 @@ import ( kmsv1 "cloud.google.com/go/kms/apiv1" "cloud.google.com/go/kms/apiv1/kmspb" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" "google.golang.org/api/option" "google.golang.org/protobuf/types/known/wrapperspb" ) diff --git a/internal/decryption/keyproviders/key_provider.go b/internal/decryption/keyproviders/key_provider.go index 185734db01..f584ade91b 100644 --- a/internal/decryption/keyproviders/key_provider.go +++ b/internal/decryption/keyproviders/key_provider.go @@ -18,7 +18,7 @@ import ( "os" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/telemetry" ) type KeyStoreProvider string diff --git a/internal/decryption/list_providers.go b/internal/decryption/list_providers.go index b7049d3f85..222e710846 100644 --- a/internal/decryption/list_providers.go +++ b/internal/decryption/list_providers.go @@ -17,7 +17,7 @@ package decryption import ( "io" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" ) func ListKeyProviders(logReader io.ReadSeeker) ([]*AuditLogLineKeyStoreIdentifier, error) { diff --git a/internal/decryption/log_record.go b/internal/decryption/log_record.go index ce5edec4cd..e6442121ae 100644 --- a/internal/decryption/log_record.go +++ b/internal/decryption/log_record.go @@ -20,7 +20,7 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/decryption/aes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/decryption/aes" "go.mongodb.org/mongo-driver/bson" ) diff --git a/internal/homebrew/homebrew.go b/internal/homebrew/homebrew.go index cbf04ad553..c19b7c9a4c 100644 --- a/internal/homebrew/homebrew.go +++ b/internal/homebrew/homebrew.go @@ -22,8 +22,8 @@ import ( "strings" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" "github.com/spf13/afero" ) diff --git a/internal/jsonpathwriter/jsonpathwriter.go b/internal/jsonpathwriter/jsonpathwriter.go index f112e0023e..cbd39bb287 100644 --- a/internal/jsonpathwriter/jsonpathwriter.go +++ b/internal/jsonpathwriter/jsonpathwriter.go @@ -20,7 +20,7 @@ import ( "io" "github.com/PaesslerAG/jsonpath" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/jsonwriter" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/jsonwriter" ) var ErrEmptyPath = errors.New("empty jsonpath") diff --git a/internal/kubernetes/kubectl.go b/internal/kubernetes/kubectl.go index 6df721e306..bf9b2bfb7c 100644 --- a/internal/kubernetes/kubectl.go +++ b/internal/kubernetes/kubectl.go @@ -19,7 +19,7 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" diff --git a/internal/kubernetes/operator/config_apply.go b/internal/kubernetes/operator/config_apply.go index 9468fd7db7..2887db87fe 100644 --- a/internal/kubernetes/operator/config_apply.go +++ b/internal/kubernetes/operator/config_apply.go @@ -19,8 +19,8 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/internal/kubernetes/operator/config_exporter.go b/internal/kubernetes/operator/config_exporter.go index 21df7a8517..5f15dd2fb3 100644 --- a/internal/kubernetes/operator/config_exporter.go +++ b/internal/kubernetes/operator/config_exporter.go @@ -20,13 +20,13 @@ import ( "fmt" "reflect" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/datafederation" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/dbusers" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/deployment" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/project" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/datafederation" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/dbusers" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/deployment" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/project" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/serializer/json" "k8s.io/client-go/kubernetes/scheme" diff --git a/internal/kubernetes/operator/config_exporter_test.go b/internal/kubernetes/operator/config_exporter_test.go index 872e618e6b..cf48d6b117 100644 --- a/internal/kubernetes/operator/config_exporter_test.go +++ b/internal/kubernetes/operator/config_exporter_test.go @@ -19,10 +19,10 @@ package operator import ( "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/go-test/deep" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/kubernetes/operator/crds/provider.go b/internal/kubernetes/operator/crds/provider.go index 6a915ee61e..014f4f60d4 100644 --- a/internal/kubernetes/operator/crds/provider.go +++ b/internal/kubernetes/operator/crds/provider.go @@ -30,7 +30,7 @@ const ( requestTimeout = 10 * time.Second ) -//go:generate mockgen -destination=../../../mocks/mock_atlas_operator_crd_provider.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/crds AtlasOperatorCRDProvider +//go:generate mockgen -destination=../../../mocks/mock_atlas_operator_crd_provider.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/crds AtlasOperatorCRDProvider type AtlasOperatorCRDProvider interface { GetAtlasOperatorResource(resourceName, version string) (*apiextensions.CustomResourceDefinition, error) } diff --git a/internal/kubernetes/operator/datafederation/datafederation.go b/internal/kubernetes/operator/datafederation/datafederation.go index 28de3fae39..fd50915749 100644 --- a/internal/kubernetes/operator/datafederation/datafederation.go +++ b/internal/kubernetes/operator/datafederation/datafederation.go @@ -17,9 +17,9 @@ package datafederation import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" akov2common "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/common" akov2status "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/status" diff --git a/internal/kubernetes/operator/datafederation/datafederation_test.go b/internal/kubernetes/operator/datafederation/datafederation_test.go index 84134996a7..390b58d41f 100644 --- a/internal/kubernetes/operator/datafederation/datafederation_test.go +++ b/internal/kubernetes/operator/datafederation/datafederation_test.go @@ -20,12 +20,12 @@ import ( "fmt" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/go-test/deep" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" akov2common "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/common" akov2status "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/status" diff --git a/internal/kubernetes/operator/dbusers/dbusers.go b/internal/kubernetes/operator/dbusers/dbusers.go index b2d0fc1f61..a9b2e60cbf 100644 --- a/internal/kubernetes/operator/dbusers/dbusers.go +++ b/internal/kubernetes/operator/dbusers/dbusers.go @@ -17,12 +17,12 @@ package dbusers import ( "fmt" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/secrets" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" "github.com/google/uuid" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/secrets" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" akov2common "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/common" akov2status "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/status" diff --git a/internal/kubernetes/operator/dbusers/dbusers_test.go b/internal/kubernetes/operator/dbusers/dbusers_test.go index 38ec574772..0fc1c6488f 100644 --- a/internal/kubernetes/operator/dbusers/dbusers_test.go +++ b/internal/kubernetes/operator/dbusers/dbusers_test.go @@ -24,14 +24,14 @@ import ( "testing" "time" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/secrets" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" "github.com/go-test/deep" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/secrets" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" akov2common "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/common" akov2status "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/status" diff --git a/internal/kubernetes/operator/deployment/deployment.go b/internal/kubernetes/operator/deployment/deployment.go index c050174bfd..694ecda35b 100644 --- a/internal/kubernetes/operator/deployment/deployment.go +++ b/internal/kubernetes/operator/deployment/deployment.go @@ -17,11 +17,11 @@ package deployment import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/convert" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/convert" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" akov2common "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/common" akov2provider "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/provider" diff --git a/internal/kubernetes/operator/deployment/deployment_test.go b/internal/kubernetes/operator/deployment/deployment_test.go index ff26904c74..11f986fcbe 100644 --- a/internal/kubernetes/operator/deployment/deployment_test.go +++ b/internal/kubernetes/operator/deployment/deployment_test.go @@ -24,12 +24,12 @@ import ( "testing" "time" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" akov2common "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/common" akov2provider "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/provider" diff --git a/internal/kubernetes/operator/features/crds.go b/internal/kubernetes/operator/features/crds.go index 11c2d10a79..b1d77fc9f1 100644 --- a/internal/kubernetes/operator/features/crds.go +++ b/internal/kubernetes/operator/features/crds.go @@ -20,7 +20,7 @@ import ( "strings" "github.com/Masterminds/semver/v3" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/crds" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/crds" apiextensions "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" "k8s.io/apimachinery/pkg/api/meta" "k8s.io/apimachinery/pkg/runtime" diff --git a/internal/kubernetes/operator/features/validator.go b/internal/kubernetes/operator/features/validator.go index 719bb28617..ac2db99129 100644 --- a/internal/kubernetes/operator/features/validator.go +++ b/internal/kubernetes/operator/features/validator.go @@ -14,7 +14,7 @@ package features -//go:generate mockgen -destination=../../../mocks/mock_atlas_operator_feature_validator.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features FeatureValidator +//go:generate mockgen -destination=../../../mocks/mock_atlas_operator_feature_validator.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features FeatureValidator type FeatureValidator interface { FeatureExist(resourceName, version string) bool diff --git a/internal/kubernetes/operator/install.go b/internal/kubernetes/operator/install.go index 8a32b76c57..d9b841c26b 100644 --- a/internal/kubernetes/operator/install.go +++ b/internal/kubernetes/operator/install.go @@ -19,11 +19,11 @@ import ( "errors" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" akov2common "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/common" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/kubernetes/operator/install_resources.go b/internal/kubernetes/operator/install_resources.go index 0e9e3d563a..80d146b1ff 100644 --- a/internal/kubernetes/operator/install_resources.go +++ b/internal/kubernetes/operator/install_resources.go @@ -21,9 +21,9 @@ import ( "os" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/version" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/version" "gopkg.in/yaml.v3" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" diff --git a/internal/kubernetes/operator/project/project.go b/internal/kubernetes/operator/project/project.go index d79047e6f3..dba994232f 100644 --- a/internal/kubernetes/operator/project/project.go +++ b/internal/kubernetes/operator/project/project.go @@ -18,11 +18,11 @@ import ( "fmt" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/secrets" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/secrets" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" akov2common "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/common" akov2project "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/project" diff --git a/internal/kubernetes/operator/project/project_test.go b/internal/kubernetes/operator/project/project_test.go index fff2dc2420..ed72b53fa4 100644 --- a/internal/kubernetes/operator/project/project_test.go +++ b/internal/kubernetes/operator/project/project_test.go @@ -23,14 +23,14 @@ import ( "testing" "time" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/secrets" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" "github.com/go-test/deep" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/secrets" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" akov2common "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/common" akov2project "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/project" diff --git a/internal/kubernetes/operator/secrets/secrets.go b/internal/kubernetes/operator/secrets/secrets.go index ffd030b47a..b2fd39ddff 100644 --- a/internal/kubernetes/operator/secrets/secrets.go +++ b/internal/kubernetes/operator/secrets/secrets.go @@ -15,7 +15,7 @@ package secrets import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" corev1 "k8s.io/api/core/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/internal/latestrelease/finder.go b/internal/latestrelease/finder.go index 4fd3c11a6e..427aa5ad6a 100644 --- a/internal/latestrelease/finder.go +++ b/internal/latestrelease/finder.go @@ -19,9 +19,9 @@ import ( "time" "github.com/Masterminds/semver/v3" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/file" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/file" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version" "github.com/spf13/afero" ) diff --git a/internal/latestrelease/finder_test.go b/internal/latestrelease/finder_test.go index 92805d3313..3c8b2d5745 100644 --- a/internal/latestrelease/finder_test.go +++ b/internal/latestrelease/finder_test.go @@ -21,11 +21,11 @@ import ( "strings" "testing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version" "github.com/golang/mock/gomock" "github.com/google/go-github/v50/github" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version" "github.com/spf13/afero" ) diff --git a/internal/mocks/mock_access_logs.go b/internal/mocks/mock_access_logs.go index 1fe30cc244..dbc154a3f5 100644 --- a/internal/mocks/mock_access_logs.go +++ b/internal/mocks/mock_access_logs.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: AccessLogsListerByClusterName,AccessLogsListerByHostname,AccessLogsLister) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: AccessLogsListerByClusterName,AccessLogsListerByHostname,AccessLogsLister) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_access_role.go b/internal/mocks/mock_access_role.go index 9f0eed2596..8aa6d548fb 100644 --- a/internal/mocks/mock_access_role.go +++ b/internal/mocks/mock_access_role.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: CloudProviderAccessRoleCreator,CloudProviderAccessRoleAuthorizer,CloudProviderAccessRoleLister,CloudProviderAccessRoleDeauthorizer) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: CloudProviderAccessRoleCreator,CloudProviderAccessRoleAuthorizer,CloudProviderAccessRoleLister,CloudProviderAccessRoleDeauthorizer) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_alert_configuration.go b/internal/mocks/mock_alert_configuration.go index dd04355927..6c54d203c7 100644 --- a/internal/mocks/mock_alert_configuration.go +++ b/internal/mocks/mock_alert_configuration.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: AlertConfigurationLister,AlertConfigurationCreator,AlertConfigurationDeleter,AlertConfigurationUpdater,MatcherFieldsLister,AlertConfigurationEnabler,AlertConfigurationDisabler,AlertConfigurationDescriber) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: AlertConfigurationLister,AlertConfigurationCreator,AlertConfigurationDeleter,AlertConfigurationUpdater,MatcherFieldsLister,AlertConfigurationEnabler,AlertConfigurationDisabler,AlertConfigurationDescriber) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_alerts.go b/internal/mocks/mock_alerts.go index 37290b7996..452934c5c4 100644 --- a/internal/mocks/mock_alerts.go +++ b/internal/mocks/mock_alerts.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: AlertDescriber,AlertLister,AlertAcknowledger) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: AlertDescriber,AlertLister,AlertAcknowledger) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_api_keys.go b/internal/mocks/mock_api_keys.go index 25fef5c6e5..2b4c42661b 100644 --- a/internal/mocks/mock_api_keys.go +++ b/internal/mocks/mock_api_keys.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProjectAPIKeyLister,ProjectAPIKeyCreator,OrganizationAPIKeyLister,OrganizationAPIKeyDescriber,OrganizationAPIKeyUpdater,OrganizationAPIKeyCreator,OrganizationAPIKeyDeleter,ProjectAPIKeyDeleter,ProjectAPIKeyAssigner) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProjectAPIKeyLister,ProjectAPIKeyCreator,OrganizationAPIKeyLister,OrganizationAPIKeyDescriber,OrganizationAPIKeyUpdater,OrganizationAPIKeyCreator,OrganizationAPIKeyDeleter,ProjectAPIKeyDeleter,ProjectAPIKeyAssigner) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_api_keys_access_list.go b/internal/mocks/mock_api_keys_access_list.go index 02e1ba186b..19384b0731 100644 --- a/internal/mocks/mock_api_keys_access_list.go +++ b/internal/mocks/mock_api_keys_access_list.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: OrganizationAPIKeyAccessListCreator,OrganizationAPIKeyAccessListDeleter,OrganizationAPIKeyAccessListLister) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: OrganizationAPIKeyAccessListCreator,OrganizationAPIKeyAccessListDeleter,OrganizationAPIKeyAccessListLister) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_atlas_generic_store.go b/internal/mocks/mock_atlas_generic_store.go index be0fa0d205..eff13c22de 100644 --- a/internal/mocks/mock_atlas_generic_store.go +++ b/internal/mocks/mock_atlas_generic_store.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: OperatorGenericStore) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: OperatorGenericStore) // Package mocks is a generated GoMock package. package mocks @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" + store "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" gomock "github.com/golang/mock/gomock" - store "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" admin "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/mocks/mock_atlas_operator_cluster_store.go b/internal/mocks/mock_atlas_operator_cluster_store.go index 10b1849a7f..31dd455c94 100644 --- a/internal/mocks/mock_atlas_operator_cluster_store.go +++ b/internal/mocks/mock_atlas_operator_cluster_store.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: OperatorClusterStore) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: OperatorClusterStore) // Package mocks is a generated GoMock package. package mocks @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" + store "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" gomock "github.com/golang/mock/gomock" - store "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" admin "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/mocks/mock_atlas_operator_crd_provider.go b/internal/mocks/mock_atlas_operator_crd_provider.go index d40c9d26cd..ba9d26e458 100644 --- a/internal/mocks/mock_atlas_operator_crd_provider.go +++ b/internal/mocks/mock_atlas_operator_crd_provider.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/crds (interfaces: AtlasOperatorCRDProvider) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/crds (interfaces: AtlasOperatorCRDProvider) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_atlas_operator_db_users_store.go b/internal/mocks/mock_atlas_operator_db_users_store.go index 03af035938..b1c76dbee3 100644 --- a/internal/mocks/mock_atlas_operator_db_users_store.go +++ b/internal/mocks/mock_atlas_operator_db_users_store.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: OperatorDBUsersStore) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: OperatorDBUsersStore) // Package mocks is a generated GoMock package. package mocks @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" + store "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" gomock "github.com/golang/mock/gomock" - store "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" admin "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/mocks/mock_atlas_operator_feature_validator.go b/internal/mocks/mock_atlas_operator_feature_validator.go index 10df690e92..6baa30be9b 100644 --- a/internal/mocks/mock_atlas_operator_feature_validator.go +++ b/internal/mocks/mock_atlas_operator_feature_validator.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features (interfaces: FeatureValidator) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features (interfaces: FeatureValidator) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_atlas_operator_org_store.go b/internal/mocks/mock_atlas_operator_org_store.go index f97c5c5a92..54b7e19fe6 100644 --- a/internal/mocks/mock_atlas_operator_org_store.go +++ b/internal/mocks/mock_atlas_operator_org_store.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: OperatorOrgStore) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: OperatorOrgStore) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_atlas_operator_project_store.go b/internal/mocks/mock_atlas_operator_project_store.go index 8419d20502..b15ae2da93 100644 --- a/internal/mocks/mock_atlas_operator_project_store.go +++ b/internal/mocks/mock_atlas_operator_project_store.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: OperatorProjectStore) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: OperatorProjectStore) // Package mocks is a generated GoMock package. package mocks @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" + store "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" gomock "github.com/golang/mock/gomock" - store "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" admin "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/mocks/mock_auditing.go b/internal/mocks/mock_auditing.go index 1acf26f368..6267314ced 100644 --- a/internal/mocks/mock_auditing.go +++ b/internal/mocks/mock_auditing.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: AuditingDescriber,AuditingUpdater) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: AuditingDescriber,AuditingUpdater) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_backup_compliance.go b/internal/mocks/mock_backup_compliance.go index 7f18e37a68..051dc4665f 100644 --- a/internal/mocks/mock_backup_compliance.go +++ b/internal/mocks/mock_backup_compliance.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: CompliancePolicyDescriber,CompliancePolicyUpdater,CompliancePolicyEncryptionAtRestEnabler,CompliancePolicyEncryptionAtRestDisabler,CompliancePolicyEnabler,CompliancePolicyCopyProtectionEnabler,CompliancePolicyCopyProtectionDisabler,CompliancePolicyPointInTimeRestoresEnabler,CompliancePolicyOnDemandPolicyCreator,CompliancePolicyScheduledPolicyCreator,CompliancePolicyScheduledPolicyDeleter,CompliancePolicyScheduledPolicyUpdater) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: CompliancePolicyDescriber,CompliancePolicyUpdater,CompliancePolicyEncryptionAtRestEnabler,CompliancePolicyEncryptionAtRestDisabler,CompliancePolicyEnabler,CompliancePolicyCopyProtectionEnabler,CompliancePolicyCopyProtectionDisabler,CompliancePolicyPointInTimeRestoresEnabler,CompliancePolicyOnDemandPolicyCreator,CompliancePolicyScheduledPolicyCreator,CompliancePolicyScheduledPolicyDeleter,CompliancePolicyScheduledPolicyUpdater) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_cloud_provider_backup.go b/internal/mocks/mock_cloud_provider_backup.go index e63164649e..6a30de6e46 100644 --- a/internal/mocks/mock_cloud_provider_backup.go +++ b/internal/mocks/mock_cloud_provider_backup.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: RestoreJobsLister,RestoreJobsDescriber,RestoreJobsCreator,SnapshotsLister,SnapshotsCreator,SnapshotsDescriber,SnapshotsDeleter,ExportJobsLister,ExportJobsDescriber,ExportJobsCreator,ExportBucketsLister,ExportBucketsCreator,ExportBucketsDeleter,ExportBucketsDescriber,ScheduleDescriber,ScheduleDescriberUpdater,ScheduleDeleter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: RestoreJobsLister,RestoreJobsDescriber,RestoreJobsCreator,SnapshotsLister,SnapshotsCreator,SnapshotsDescriber,SnapshotsDeleter,ExportJobsLister,ExportJobsDescriber,ExportJobsCreator,ExportBucketsLister,ExportBucketsCreator,ExportBucketsDeleter,ExportBucketsDescriber,ScheduleDescriber,ScheduleDescriberUpdater,ScheduleDeleter) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_cloud_provider_backup_serverless.go b/internal/mocks/mock_cloud_provider_backup_serverless.go index 85996f6b3b..146060bf45 100644 --- a/internal/mocks/mock_cloud_provider_backup_serverless.go +++ b/internal/mocks/mock_cloud_provider_backup_serverless.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ServerlessSnapshotsLister,ServerlessSnapshotsDescriber,ServerlessRestoreJobsLister,ServerlessRestoreJobsDescriber,ServerlessRestoreJobsCreator) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ServerlessSnapshotsLister,ServerlessSnapshotsDescriber,ServerlessRestoreJobsLister,ServerlessRestoreJobsDescriber,ServerlessRestoreJobsCreator) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_cloud_provider_regions.go b/internal/mocks/mock_cloud_provider_regions.go index 121b133e0b..2a00623104 100644 --- a/internal/mocks/mock_cloud_provider_regions.go +++ b/internal/mocks/mock_cloud_provider_regions.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: CloudProviderRegionsLister) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: CloudProviderRegionsLister) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_clusters.go b/internal/mocks/mock_clusters.go index e07b6c8652..68d964f8f5 100644 --- a/internal/mocks/mock_clusters.go +++ b/internal/mocks/mock_clusters.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ClusterLister,ClusterDescriber,ClusterCreator,ClusterDeleter,ClusterUpdater,AtlasClusterGetterUpdater,ClusterPauser,ClusterStarter,AtlasClusterQuickStarter,SampleDataAdder,SampleDataStatusDescriber,AtlasClusterConfigurationOptionsDescriber,AtlasSharedClusterDescriber,ClusterUpgrader,AtlasSharedClusterGetterUpgrader,AtlasClusterConfigurationOptionsUpdater,ClusterTester) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ClusterLister,ClusterDescriber,ClusterCreator,ClusterDeleter,ClusterUpdater,AtlasClusterGetterUpdater,ClusterPauser,ClusterStarter,AtlasClusterQuickStarter,SampleDataAdder,SampleDataStatusDescriber,AtlasClusterConfigurationOptionsDescriber,AtlasSharedClusterDescriber,ClusterUpgrader,AtlasSharedClusterGetterUpgrader,AtlasClusterConfigurationOptionsUpdater,ClusterTester) // Package mocks is a generated GoMock package. package mocks @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" + store "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" gomock "github.com/golang/mock/gomock" - store "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" admin "go.mongodb.org/atlas-sdk/v20231115008/admin" mongodbatlas "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/mocks/mock_custom_dns.go b/internal/mocks/mock_custom_dns.go index 82ca49c4c5..ad3ac9e9e9 100644 --- a/internal/mocks/mock_custom_dns.go +++ b/internal/mocks/mock_custom_dns.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: CustomDNSEnabler,CustomDNSDisabler,CustomDNSDescriber) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: CustomDNSEnabler,CustomDNSDisabler,CustomDNSDescriber) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_data_federation.go b/internal/mocks/mock_data_federation.go index 7cc9f861cd..2d31a9efb5 100644 --- a/internal/mocks/mock_data_federation.go +++ b/internal/mocks/mock_data_federation.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: DataFederationLister,DataFederationDescriber,DataFederationStore,DataFederationCreator,DataFederationUpdater,DataFederationDeleter,DataFederationLogDownloader) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: DataFederationLister,DataFederationDescriber,DataFederationStore,DataFederationCreator,DataFederationUpdater,DataFederationDeleter,DataFederationLogDownloader) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_data_federation_private_endpoint.go b/internal/mocks/mock_data_federation_private_endpoint.go index 0f86a9c1d8..c632ee4125 100644 --- a/internal/mocks/mock_data_federation_private_endpoint.go +++ b/internal/mocks/mock_data_federation_private_endpoint.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: DataFederationPrivateEndpointLister,DataFederationPrivateEndpointDescriber,DataFederationPrivateEndpointCreator,DataFederationPrivateEndpointDeleter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: DataFederationPrivateEndpointLister,DataFederationPrivateEndpointDescriber,DataFederationPrivateEndpointCreator,DataFederationPrivateEndpointDeleter) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_data_federation_query_limits.go b/internal/mocks/mock_data_federation_query_limits.go index 7c99946840..09b1317668 100644 --- a/internal/mocks/mock_data_federation_query_limits.go +++ b/internal/mocks/mock_data_federation_query_limits.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: DataFederationQueryLimitLister,DataFederationQueryLimitDescriber,DataFederationQueryLimitCreator,DataFederationQueryLimitDeleter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: DataFederationQueryLimitLister,DataFederationQueryLimitDescriber,DataFederationQueryLimitCreator,DataFederationQueryLimitDeleter) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_data_lake.go b/internal/mocks/mock_data_lake.go index 403273087b..420a25ad45 100644 --- a/internal/mocks/mock_data_lake.go +++ b/internal/mocks/mock_data_lake.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: DataLakeLister,DataLakeDescriber,DataLakeCreator,DataLakeDeleter,DataLakeUpdater) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: DataLakeLister,DataLakeDescriber,DataLakeCreator,DataLakeDeleter,DataLakeUpdater) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_data_lake_pipelines.go b/internal/mocks/mock_data_lake_pipelines.go index 8a58c21cce..b82ce9229a 100644 --- a/internal/mocks/mock_data_lake_pipelines.go +++ b/internal/mocks/mock_data_lake_pipelines.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: PipelinesLister,PipelinesDescriber,PipelinesCreator,PipelinesUpdater,PipelinesDeleter,PipelineAvailableSnapshotsLister,PipelineAvailableSchedulesLister,PipelinesTriggerer,PipelinesPauser,PipelinesResumer) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: PipelinesLister,PipelinesDescriber,PipelinesCreator,PipelinesUpdater,PipelinesDeleter,PipelineAvailableSnapshotsLister,PipelineAvailableSchedulesLister,PipelinesTriggerer,PipelinesPauser,PipelinesResumer) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_data_lake_pipelines_datasets.go b/internal/mocks/mock_data_lake_pipelines_datasets.go index 5fd969ed81..e1d738e3a1 100644 --- a/internal/mocks/mock_data_lake_pipelines_datasets.go +++ b/internal/mocks/mock_data_lake_pipelines_datasets.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: PipelineDatasetDeleter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: PipelineDatasetDeleter) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_data_lake_pipelines_runs.go b/internal/mocks/mock_data_lake_pipelines_runs.go index a5b8701ac5..d3634fe9b8 100644 --- a/internal/mocks/mock_data_lake_pipelines_runs.go +++ b/internal/mocks/mock_data_lake_pipelines_runs.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: PipelineRunsLister,PipelineRunsDescriber) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: PipelineRunsLister,PipelineRunsDescriber) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_database_roles.go b/internal/mocks/mock_database_roles.go index a526c28c26..bf81af5f8c 100644 --- a/internal/mocks/mock_database_roles.go +++ b/internal/mocks/mock_database_roles.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: DatabaseRoleLister,DatabaseRoleCreator,DatabaseRoleDeleter,DatabaseRoleUpdater,DatabaseRoleDescriber) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: DatabaseRoleLister,DatabaseRoleCreator,DatabaseRoleDeleter,DatabaseRoleUpdater,DatabaseRoleDescriber) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_database_users.go b/internal/mocks/mock_database_users.go index e01cf3666d..467ac2cf50 100644 --- a/internal/mocks/mock_database_users.go +++ b/internal/mocks/mock_database_users.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: DatabaseUserLister,DatabaseUserCreator,DatabaseUserDeleter,DatabaseUserUpdater,DatabaseUserDescriber,DBUserCertificateLister,DBUserCertificateCreator) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: DatabaseUserLister,DatabaseUserCreator,DatabaseUserDeleter,DatabaseUserUpdater,DatabaseUserDescriber,DBUserCertificateLister,DBUserCertificateCreator) // Package mocks is a generated GoMock package. package mocks @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" + store "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" gomock "github.com/golang/mock/gomock" - store "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" admin "go.mongodb.org/atlas-sdk/v20231115008/admin" mongodbatlas "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/mocks/mock_default_mongodb_version.go b/internal/mocks/mock_default_mongodb_version.go index e49d1523cc..2900c9ab56 100644 --- a/internal/mocks/mock_default_mongodb_version.go +++ b/internal/mocks/mock_default_mongodb_version.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: DefaultVersionGetter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: DefaultVersionGetter) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_default_opts.go b/internal/mocks/mock_default_opts.go index 87b6f7fe61..13814dc54b 100644 --- a/internal/mocks/mock_default_opts.go +++ b/internal/mocks/mock_default_opts.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli (interfaces: ProjectOrgsLister) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli (interfaces: ProjectOrgsLister) // Package mocks is a generated GoMock package. package mocks @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" + store "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" gomock "github.com/golang/mock/gomock" - store "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" admin "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/mocks/mock_deployment_opts_telemetry.go b/internal/mocks/mock_deployment_opts_telemetry.go index a2cae0b914..edba109c3f 100644 --- a/internal/mocks/mock_deployment_opts_telemetry.go +++ b/internal/mocks/mock_deployment_opts_telemetry.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/deployments/options (interfaces: DeploymentTelemetry) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/deployments/options (interfaces: DeploymentTelemetry) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_deprecated_private_endpoints.go b/internal/mocks/mock_deprecated_private_endpoints.go index f5894795ad..2f9851f1d5 100644 --- a/internal/mocks/mock_deprecated_private_endpoints.go +++ b/internal/mocks/mock_deprecated_private_endpoints.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: PrivateEndpointListerDeprecated,PrivateEndpointDescriberDeprecated,PrivateEndpointCreatorDeprecated,PrivateEndpointDeleterDeprecated,InterfaceEndpointCreatorDeprecated,InterfaceEndpointDescriberDeprecated,InterfaceEndpointDeleterDeprecated) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: PrivateEndpointListerDeprecated,PrivateEndpointDescriberDeprecated,PrivateEndpointCreatorDeprecated,PrivateEndpointDeleterDeprecated,InterfaceEndpointCreatorDeprecated,InterfaceEndpointDescriberDeprecated,InterfaceEndpointDeleterDeprecated) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_encryption_at_rest.go b/internal/mocks/mock_encryption_at_rest.go index b38665653a..602beb06a5 100644 --- a/internal/mocks/mock_encryption_at_rest.go +++ b/internal/mocks/mock_encryption_at_rest.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: EncryptionAtRestDescriber) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: EncryptionAtRestDescriber) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_events.go b/internal/mocks/mock_events.go index af8d422630..483a16ea42 100644 --- a/internal/mocks/mock_events.go +++ b/internal/mocks/mock_events.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: OrganizationEventLister,ProjectEventLister,EventLister) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: OrganizationEventLister,ProjectEventLister,EventLister) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_global_cluster.go b/internal/mocks/mock_global_cluster.go index ad8add8add..60d0bd31b3 100644 --- a/internal/mocks/mock_global_cluster.go +++ b/internal/mocks/mock_global_cluster.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: GlobalClusterDescriber) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: GlobalClusterDescriber) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_indexes.go b/internal/mocks/mock_indexes.go index e2cb87f41b..6ea1b68fa6 100644 --- a/internal/mocks/mock_indexes.go +++ b/internal/mocks/mock_indexes.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: IndexCreator) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: IndexCreator) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_integrations.go b/internal/mocks/mock_integrations.go index 13315470ec..cee82e1993 100644 --- a/internal/mocks/mock_integrations.go +++ b/internal/mocks/mock_integrations.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: IntegrationCreator,IntegrationLister,IntegrationDeleter,IntegrationDescriber) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: IntegrationCreator,IntegrationLister,IntegrationDeleter,IntegrationDescriber) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_ldap_configurations.go b/internal/mocks/mock_ldap_configurations.go index e1fe9ad1b9..34c122742d 100644 --- a/internal/mocks/mock_ldap_configurations.go +++ b/internal/mocks/mock_ldap_configurations.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: LDAPConfigurationVerifier,LDAPConfigurationDescriber,LDAPConfigurationSaver,LDAPConfigurationDeleter,LDAPConfigurationGetter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: LDAPConfigurationVerifier,LDAPConfigurationDescriber,LDAPConfigurationSaver,LDAPConfigurationDeleter,LDAPConfigurationGetter) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_live_migration_link_tokens.go b/internal/mocks/mock_live_migration_link_tokens.go index 16de20447f..d42a1bcbb4 100644 --- a/internal/mocks/mock_live_migration_link_tokens.go +++ b/internal/mocks/mock_live_migration_link_tokens.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: LinkTokenCreator,LinkTokenDeleter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: LinkTokenCreator,LinkTokenDeleter) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_live_migration_validations.go b/internal/mocks/mock_live_migration_validations.go index bca1703728..259072bbfd 100644 --- a/internal/mocks/mock_live_migration_validations.go +++ b/internal/mocks/mock_live_migration_validations.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: LiveMigrationValidationsCreator,LiveMigrationCutoverCreator,LiveMigrationValidationsDescriber) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: LiveMigrationValidationsCreator,LiveMigrationCutoverCreator,LiveMigrationValidationsDescriber) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_live_migrations.go b/internal/mocks/mock_live_migrations.go index 27d7dc458c..97cc610cc0 100644 --- a/internal/mocks/mock_live_migrations.go +++ b/internal/mocks/mock_live_migrations.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: LiveMigrationCreator,LiveMigrationDescriber) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: LiveMigrationCreator,LiveMigrationDescriber) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_login.go b/internal/mocks/mock_login.go index 176ebadfd7..8a3f3e3614 100644 --- a/internal/mocks/mock_login.go +++ b/internal/mocks/mock_login.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/auth (interfaces: LoginConfig) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/auth (interfaces: LoginConfig) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_logout.go b/internal/mocks/mock_logout.go index 42e1017b9c..e3693fe736 100644 --- a/internal/mocks/mock_logout.go +++ b/internal/mocks/mock_logout.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/auth (interfaces: Revoker,ConfigDeleter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/auth (interfaces: Revoker,ConfigDeleter) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_logs.go b/internal/mocks/mock_logs.go index 8c9ef19963..f076963727 100644 --- a/internal/mocks/mock_logs.go +++ b/internal/mocks/mock_logs.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: LogsDownloader) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: LogsDownloader) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_maintenance.go b/internal/mocks/mock_maintenance.go index 570ffaccf8..e0c169c778 100644 --- a/internal/mocks/mock_maintenance.go +++ b/internal/mocks/mock_maintenance.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: MaintenanceWindowUpdater,MaintenanceWindowClearer,MaintenanceWindowDeferrer,MaintenanceWindowDescriber) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: MaintenanceWindowUpdater,MaintenanceWindowClearer,MaintenanceWindowDeferrer,MaintenanceWindowDescriber) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_mongodb_client.go b/internal/mocks/mock_mongodb_client.go index 0c94e2286f..ac516c6670 100644 --- a/internal/mocks/mock_mongodb_client.go +++ b/internal/mocks/mock_mongodb_client.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mongodbclient (interfaces: MongoDBClient,Database,SearchIndex) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mongodbclient (interfaces: MongoDBClient,Database,SearchIndex) // Package mocks is a generated GoMock package. package mocks @@ -8,8 +8,8 @@ import ( context "context" reflect "reflect" + mongodbclient "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mongodbclient" gomock "github.com/golang/mock/gomock" - mongodbclient "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mongodbclient" admin "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/mocks/mock_online_archives.go b/internal/mocks/mock_online_archives.go index fb45c3bed4..7099796567 100644 --- a/internal/mocks/mock_online_archives.go +++ b/internal/mocks/mock_online_archives.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: OnlineArchiveLister,OnlineArchiveDescriber,OnlineArchiveCreator,OnlineArchiveUpdater,OnlineArchiveDeleter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: OnlineArchiveLister,OnlineArchiveDescriber,OnlineArchiveCreator,OnlineArchiveUpdater,OnlineArchiveDeleter) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_organization_invitations.go b/internal/mocks/mock_organization_invitations.go index 3bfac4ea70..dc9caa0eb7 100644 --- a/internal/mocks/mock_organization_invitations.go +++ b/internal/mocks/mock_organization_invitations.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: OrganizationInvitationLister,OrganizationInvitationDeleter,OrganizationInvitationDescriber,OrganizationInvitationUpdater,OrganizationInviter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: OrganizationInvitationLister,OrganizationInvitationDeleter,OrganizationInvitationDescriber,OrganizationInvitationUpdater,OrganizationInviter) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_organizations.go b/internal/mocks/mock_organizations.go index 3309bf8bb6..02709431cd 100644 --- a/internal/mocks/mock_organizations.go +++ b/internal/mocks/mock_organizations.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: OrganizationLister,OrganizationDeleter,OrganizationDescriber,OrganizationCreator) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: OrganizationLister,OrganizationDeleter,OrganizationDescriber,OrganizationCreator) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_peering_connections.go b/internal/mocks/mock_peering_connections.go index 0b16133602..d4a8a02865 100644 --- a/internal/mocks/mock_peering_connections.go +++ b/internal/mocks/mock_peering_connections.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: PeeringConnectionLister,PeeringConnectionDescriber,PeeringConnectionDeleter,AzurePeeringConnectionCreator,AWSPeeringConnectionCreator,GCPPeeringConnectionCreator,PeeringConnectionCreator,ContainersLister,ContainersDeleter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: PeeringConnectionLister,PeeringConnectionDescriber,PeeringConnectionDeleter,AzurePeeringConnectionCreator,AWSPeeringConnectionCreator,GCPPeeringConnectionCreator,PeeringConnectionCreator,ContainersLister,ContainersDeleter) // Package mocks is a generated GoMock package. package mocks @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" + store "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" gomock "github.com/golang/mock/gomock" - store "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" admin "go.mongodb.org/atlas-sdk/v20231115008/admin" mongodbatlas "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/mocks/mock_performance_advisor.go b/internal/mocks/mock_performance_advisor.go index c93b97e540..bd8b815e53 100644 --- a/internal/mocks/mock_performance_advisor.go +++ b/internal/mocks/mock_performance_advisor.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: PerformanceAdvisorNamespacesLister,PerformanceAdvisorSlowQueriesLister,PerformanceAdvisorIndexesLister,PerformanceAdvisorSlowOperationThresholdEnabler,PerformanceAdvisorSlowOperationThresholdDisabler) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: PerformanceAdvisorNamespacesLister,PerformanceAdvisorSlowQueriesLister,PerformanceAdvisorIndexesLister,PerformanceAdvisorSlowOperationThresholdEnabler,PerformanceAdvisorSlowOperationThresholdDisabler) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_podman.go b/internal/mocks/mock_podman.go index 0df3fdd475..d3d1336cf1 100644 --- a/internal/mocks/mock_podman.go +++ b/internal/mocks/mock_podman.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman (interfaces: Client) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman (interfaces: Client) // Package mocks is a generated GoMock package. package mocks @@ -8,8 +8,8 @@ import ( context "context" reflect "reflect" + podman "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman" gomock "github.com/golang/mock/gomock" - podman "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman" ) // MockClient is a mock of Client interface. diff --git a/internal/mocks/mock_private_endpoints.go b/internal/mocks/mock_private_endpoints.go index aded83229a..f4e76a1108 100644 --- a/internal/mocks/mock_private_endpoints.go +++ b/internal/mocks/mock_private_endpoints.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: PrivateEndpointLister,PrivateEndpointDescriber,PrivateEndpointCreator,PrivateEndpointDeleter,InterfaceEndpointDescriber,InterfaceEndpointCreator,InterfaceEndpointDeleter,RegionalizedPrivateEndpointSettingUpdater,RegionalizedPrivateEndpointSettingDescriber,DataLakePrivateEndpointLister,DataLakePrivateEndpointCreator,DataLakePrivateEndpointDeleter,DataLakePrivateEndpointDescriber) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: PrivateEndpointLister,PrivateEndpointDescriber,PrivateEndpointCreator,PrivateEndpointDeleter,InterfaceEndpointDescriber,InterfaceEndpointCreator,InterfaceEndpointDeleter,RegionalizedPrivateEndpointSettingUpdater,RegionalizedPrivateEndpointSettingDescriber,DataLakePrivateEndpointLister,DataLakePrivateEndpointCreator,DataLakePrivateEndpointDeleter,DataLakePrivateEndpointDescriber) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_process_databases.go b/internal/mocks/mock_process_databases.go index d2959767d7..9fbbf9c036 100644 --- a/internal/mocks/mock_process_databases.go +++ b/internal/mocks/mock_process_databases.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProcessDatabaseLister) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProcessDatabaseLister) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_process_disk_measurements.go b/internal/mocks/mock_process_disk_measurements.go index 9316fec1d8..3ea4e77ce9 100644 --- a/internal/mocks/mock_process_disk_measurements.go +++ b/internal/mocks/mock_process_disk_measurements.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProcessDiskMeasurementsLister,ProcessDatabaseMeasurementsLister) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProcessDiskMeasurementsLister,ProcessDatabaseMeasurementsLister) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_process_disks.go b/internal/mocks/mock_process_disks.go index fcd6e46ec4..9ec4efd88a 100644 --- a/internal/mocks/mock_process_disks.go +++ b/internal/mocks/mock_process_disks.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProcessDisksLister) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProcessDisksLister) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_process_measurements.go b/internal/mocks/mock_process_measurements.go index 183b563be8..289606fce8 100644 --- a/internal/mocks/mock_process_measurements.go +++ b/internal/mocks/mock_process_measurements.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProcessMeasurementLister) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProcessMeasurementLister) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_processes.go b/internal/mocks/mock_processes.go index 2222098c95..52b2269e57 100644 --- a/internal/mocks/mock_processes.go +++ b/internal/mocks/mock_processes.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProcessLister,ProcessDescriber) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProcessLister,ProcessDescriber) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_profile.go b/internal/mocks/mock_profile.go index e5cbfb52ad..3f9f99d126 100644 --- a/internal/mocks/mock_profile.go +++ b/internal/mocks/mock_profile.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config (interfaces: SetSaver) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config (interfaces: SetSaver) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_project_invitations.go b/internal/mocks/mock_project_invitations.go index c9ab0671b2..aa3fd2c3df 100644 --- a/internal/mocks/mock_project_invitations.go +++ b/internal/mocks/mock_project_invitations.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProjectInvitationLister,ProjectInvitationDescriber,ProjectInvitationDeleter,ProjectInviter,ProjectInvitationUpdater) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProjectInvitationLister,ProjectInvitationDescriber,ProjectInvitationDeleter,ProjectInviter,ProjectInvitationUpdater) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_project_ip_access_lists.go b/internal/mocks/mock_project_ip_access_lists.go index 8e7f144be0..f7a6d51011 100644 --- a/internal/mocks/mock_project_ip_access_lists.go +++ b/internal/mocks/mock_project_ip_access_lists.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProjectIPAccessListDescriber,ProjectIPAccessListLister,ProjectIPAccessListCreator,ProjectIPAccessListDeleter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProjectIPAccessListDescriber,ProjectIPAccessListLister,ProjectIPAccessListCreator,ProjectIPAccessListDeleter) // Package mocks is a generated GoMock package. package mocks @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" + store "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" gomock "github.com/golang/mock/gomock" - store "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" admin "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/mocks/mock_project_settings.go b/internal/mocks/mock_project_settings.go index a1cdc90cea..0865a69d28 100644 --- a/internal/mocks/mock_project_settings.go +++ b/internal/mocks/mock_project_settings.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProjectSettingsDescriber,ProjectSettingsUpdater) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProjectSettingsDescriber,ProjectSettingsUpdater) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_projects.go b/internal/mocks/mock_projects.go index 98318810d6..704574398b 100644 --- a/internal/mocks/mock_projects.go +++ b/internal/mocks/mock_projects.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProjectLister,ProjectCreator,ProjectDeleter,ProjectDescriber,ProjectUsersLister,ProjectUserDeleter,ProjectTeamLister,ProjectTeamAdder,ProjectTeamDeleter,OrgProjectLister) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ProjectLister,ProjectCreator,ProjectDeleter,ProjectDescriber,ProjectUsersLister,ProjectUserDeleter,ProjectTeamLister,ProjectTeamAdder,ProjectTeamDeleter,OrgProjectLister) // Package mocks is a generated GoMock package. package mocks @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" + store "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" gomock "github.com/golang/mock/gomock" - store "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" admin "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/mocks/mock_refresher.go b/internal/mocks/mock_refresher.go index 5d27001d5b..d4b1e50a17 100644 --- a/internal/mocks/mock_refresher.go +++ b/internal/mocks/mock_refresher.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli (interfaces: Refresher) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli (interfaces: Refresher) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_release_version.go b/internal/mocks/mock_release_version.go index 4aba381968..c9eebe5503 100644 --- a/internal/mocks/mock_release_version.go +++ b/internal/mocks/mock_release_version.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version (interfaces: ReleaseVersionDescriber) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version (interfaces: ReleaseVersionDescriber) // Package mocks is a generated GoMock package. package mocks @@ -7,9 +7,9 @@ package mocks import ( reflect "reflect" + version "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version" gomock "github.com/golang/mock/gomock" github "github.com/google/go-github/v50/github" - version "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version" ) // MockReleaseVersionDescriber is a mock of ReleaseVersionDescriber interface. diff --git a/internal/mocks/mock_search.go b/internal/mocks/mock_search.go index 05f3e9f1c8..5a1412f5a7 100644 --- a/internal/mocks/mock_search.go +++ b/internal/mocks/mock_search.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: SearchIndexLister,SearchIndexCreator,SearchIndexDescriber,SearchIndexUpdater,SearchIndexDeleter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: SearchIndexLister,SearchIndexCreator,SearchIndexDescriber,SearchIndexUpdater,SearchIndexDeleter) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_search_nodes.go b/internal/mocks/mock_search_nodes.go index c13a08363d..ddfc92f1cd 100644 --- a/internal/mocks/mock_search_nodes.go +++ b/internal/mocks/mock_search_nodes.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: SearchNodesLister,SearchNodesCreator,SearchNodesUpdater,SearchNodesDeleter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: SearchNodesLister,SearchNodesCreator,SearchNodesUpdater,SearchNodesDeleter) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_serverless_instances.go b/internal/mocks/mock_serverless_instances.go index 8774c30ff7..299930422c 100644 --- a/internal/mocks/mock_serverless_instances.go +++ b/internal/mocks/mock_serverless_instances.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ServerlessInstanceLister,ServerlessInstanceDescriber,ServerlessInstanceDeleter,ServerlessInstanceCreator,ServerlessInstanceUpdater) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ServerlessInstanceLister,ServerlessInstanceDescriber,ServerlessInstanceDeleter,ServerlessInstanceCreator,ServerlessInstanceUpdater) // Package mocks is a generated GoMock package. package mocks @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" + store "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" gomock "github.com/golang/mock/gomock" - store "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" admin "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/mocks/mock_serverless_private_endpoints.go b/internal/mocks/mock_serverless_private_endpoints.go index ec8671dae5..d9aef84886 100644 --- a/internal/mocks/mock_serverless_private_endpoints.go +++ b/internal/mocks/mock_serverless_private_endpoints.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: ServerlessPrivateEndpointsLister) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: ServerlessPrivateEndpointsLister) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_setup.go b/internal/mocks/mock_setup.go index 7475935b4b..2f55adb23b 100644 --- a/internal/mocks/mock_setup.go +++ b/internal/mocks/mock_setup.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/setup (interfaces: ProfileReader) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/setup (interfaces: ProfileReader) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_store.go b/internal/mocks/mock_store.go index 7755648357..492ae6dec2 100644 --- a/internal/mocks/mock_store.go +++ b/internal/mocks/mock_store.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: CredentialsGetter) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: CredentialsGetter) // Package mocks is a generated GoMock package. package mocks @@ -7,8 +7,8 @@ package mocks import ( reflect "reflect" + config "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" gomock "github.com/golang/mock/gomock" - config "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" auth "go.mongodb.org/atlas/auth" ) diff --git a/internal/mocks/mock_streams.go b/internal/mocks/mock_streams.go index eafc79c8a1..b95d86302a 100644 --- a/internal/mocks/mock_streams.go +++ b/internal/mocks/mock_streams.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: StreamsLister,StreamsDescriber,StreamsCreator,StreamsDeleter,StreamsUpdater,StreamsDownloader,ConnectionCreator,ConnectionDeleter,ConnectionUpdater,StreamsConnectionDescriber,StreamsConnectionLister) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: StreamsLister,StreamsDescriber,StreamsCreator,StreamsDeleter,StreamsUpdater,StreamsDownloader,ConnectionCreator,ConnectionDeleter,ConnectionUpdater,StreamsConnectionDescriber,StreamsConnectionLister) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_teams.go b/internal/mocks/mock_teams.go index 901ea04458..a4ea1e7033 100644 --- a/internal/mocks/mock_teams.go +++ b/internal/mocks/mock_teams.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: TeamLister,TeamDescriber,TeamCreator,TeamRenamer,TeamDeleter,TeamAdder,TeamUserRemover,TeamRolesUpdater) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: TeamLister,TeamDescriber,TeamCreator,TeamRenamer,TeamDeleter,TeamAdder,TeamUserRemover,TeamRolesUpdater) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_telemetry.go b/internal/mocks/mock_telemetry.go index a42ddead4b..54a27aea34 100644 --- a/internal/mocks/mock_telemetry.go +++ b/internal/mocks/mock_telemetry.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: EventsSender,UnauthEventsSender) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: EventsSender,UnauthEventsSender) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_users.go b/internal/mocks/mock_users.go index 52f3bb16e5..938aebb432 100644 --- a/internal/mocks/mock_users.go +++ b/internal/mocks/mock_users.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: UserCreator,UserDescriber,UserLister,TeamUserLister) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: UserCreator,UserDescriber,UserLister,TeamUserLister) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mocks/mock_x509_certificate_store.go b/internal/mocks/mock_x509_certificate_store.go index cc9293711f..622911010c 100644 --- a/internal/mocks/mock_x509_certificate_store.go +++ b/internal/mocks/mock_x509_certificate_store.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store (interfaces: X509CertificateConfDescriber,X509CertificateConfSaver,X509CertificateConfDisabler) +// Source: github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store (interfaces: X509CertificateConfDescriber,X509CertificateConfSaver,X509CertificateConfDisabler) // Package mocks is a generated GoMock package. package mocks diff --git a/internal/mongodbclient/client.go b/internal/mongodbclient/client.go index 4c49aa4827..67f64c1cd0 100644 --- a/internal/mongodbclient/client.go +++ b/internal/mongodbclient/client.go @@ -28,7 +28,7 @@ import ( var errConnectFailed = errors.New("failed to connect to mongodb server") -//go:generate mockgen -destination=../mocks/mock_mongodb_client.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mongodbclient MongoDBClient,Database,SearchIndex +//go:generate mockgen -destination=../mocks/mock_mongodb_client.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mongodbclient MongoDBClient,Database,SearchIndex type MongoDBClient interface { Connect(connectionString string, waitSeconds int64) error diff --git a/internal/mongodbclient/search_index.go b/internal/mongodbclient/search_index.go index a7018ce4d5..e532d66393 100644 --- a/internal/mongodbclient/search_index.go +++ b/internal/mongodbclient/search_index.go @@ -21,8 +21,8 @@ import ( "fmt" "slices" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "go.mongodb.org/atlas-sdk/v20231115008/admin" "go.mongodb.org/mongo-driver/bson" ) diff --git a/internal/oauth/oauth.go b/internal/oauth/oauth.go index 14844a0c8a..60ba08cd74 100644 --- a/internal/oauth/oauth.go +++ b/internal/oauth/oauth.go @@ -19,7 +19,7 @@ import ( "net/http" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" "go.mongodb.org/atlas/auth" ) diff --git a/internal/podman/client.go b/internal/podman/client.go index 9a67a831fc..5a2c253212 100644 --- a/internal/podman/client.go +++ b/internal/podman/client.go @@ -24,7 +24,7 @@ import ( "strconv" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" "github.com/shirou/gopsutil/v3/mem" ) @@ -132,7 +132,7 @@ type Version struct { } `json:"Server"` } -//go:generate mockgen -destination=../mocks/mock_podman.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman Client +//go:generate mockgen -destination=../mocks/mock_podman.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/podman Client type Client interface { Ready(ctx context.Context) error diff --git a/internal/prompt/config.go b/internal/prompt/config.go index a8040c09f3..209b356c73 100644 --- a/internal/prompt/config.go +++ b/internal/prompt/config.go @@ -19,8 +19,8 @@ import ( "strings" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/validate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/validate" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/search/search_test.go b/internal/search/search_test.go index 69eb9abf19..4dd81caabf 100644 --- a/internal/search/search_test.go +++ b/internal/search/search_test.go @@ -20,7 +20,7 @@ import ( "fmt" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "github.com/stretchr/testify/assert" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/internal/store/access_logs.go b/internal/store/access_logs.go index 33786ddc84..b59f2482c1 100644 --- a/internal/store/access_logs.go +++ b/internal/store/access_logs.go @@ -21,7 +21,7 @@ import ( atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_access_logs.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store AccessLogsListerByClusterName,AccessLogsListerByHostname,AccessLogsLister +//go:generate mockgen -destination=../mocks/mock_access_logs.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store AccessLogsListerByClusterName,AccessLogsListerByHostname,AccessLogsLister type AccessLogsListerByClusterName interface { AccessLogsByClusterName(string, string, *atlas.AccessLogOptions) (*atlasv2.MongoDBAccessLogsList, error) diff --git a/internal/store/access_role.go b/internal/store/access_role.go index c69335c758..304a542d87 100644 --- a/internal/store/access_role.go +++ b/internal/store/access_role.go @@ -19,7 +19,7 @@ import ( atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_access_role.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store CloudProviderAccessRoleCreator,CloudProviderAccessRoleAuthorizer,CloudProviderAccessRoleLister,CloudProviderAccessRoleDeauthorizer +//go:generate mockgen -destination=../mocks/mock_access_role.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store CloudProviderAccessRoleCreator,CloudProviderAccessRoleAuthorizer,CloudProviderAccessRoleLister,CloudProviderAccessRoleDeauthorizer type CloudProviderAccessRoleCreator interface { CreateCloudProviderAccessRole(string, string) (*atlasv2.CloudProviderAccessRole, error) diff --git a/internal/store/alert_configuration.go b/internal/store/alert_configuration.go index 29dc7c2be5..54f572d6e3 100644 --- a/internal/store/alert_configuration.go +++ b/internal/store/alert_configuration.go @@ -15,11 +15,11 @@ package store import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_alert_configuration.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store AlertConfigurationLister,AlertConfigurationCreator,AlertConfigurationDeleter,AlertConfigurationUpdater,MatcherFieldsLister,AlertConfigurationEnabler,AlertConfigurationDisabler,AlertConfigurationDescriber +//go:generate mockgen -destination=../mocks/mock_alert_configuration.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store AlertConfigurationLister,AlertConfigurationCreator,AlertConfigurationDeleter,AlertConfigurationUpdater,MatcherFieldsLister,AlertConfigurationEnabler,AlertConfigurationDisabler,AlertConfigurationDescriber type AlertConfigurationLister interface { AlertConfigurations(*admin.ListAlertConfigurationsApiParams) (*admin.PaginatedAlertConfig, error) diff --git a/internal/store/alerts.go b/internal/store/alerts.go index f3beb95762..8924a5d97c 100644 --- a/internal/store/alerts.go +++ b/internal/store/alerts.go @@ -18,7 +18,7 @@ import ( "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_alerts.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store AlertDescriber,AlertLister,AlertAcknowledger +//go:generate mockgen -destination=../mocks/mock_alerts.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store AlertDescriber,AlertLister,AlertAcknowledger type AlertDescriber interface { Alert(*admin.GetAlertApiParams) (*admin.AlertViewForNdsGroup, error) diff --git a/internal/store/api_keys.go b/internal/store/api_keys.go index aba0a6977e..188e6f5720 100644 --- a/internal/store/api_keys.go +++ b/internal/store/api_keys.go @@ -19,7 +19,7 @@ import ( atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_api_keys.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ProjectAPIKeyLister,ProjectAPIKeyCreator,OrganizationAPIKeyLister,OrganizationAPIKeyDescriber,OrganizationAPIKeyUpdater,OrganizationAPIKeyCreator,OrganizationAPIKeyDeleter,ProjectAPIKeyDeleter,ProjectAPIKeyAssigner +//go:generate mockgen -destination=../mocks/mock_api_keys.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ProjectAPIKeyLister,ProjectAPIKeyCreator,OrganizationAPIKeyLister,OrganizationAPIKeyDescriber,OrganizationAPIKeyUpdater,OrganizationAPIKeyCreator,OrganizationAPIKeyDeleter,ProjectAPIKeyDeleter,ProjectAPIKeyAssigner type ProjectAPIKeyLister interface { ProjectAPIKeys(string, *atlas.ListOptions) (*atlasv2.PaginatedApiApiUser, error) diff --git a/internal/store/api_keys_access_list.go b/internal/store/api_keys_access_list.go index c8472090be..db2e98fa0f 100644 --- a/internal/store/api_keys_access_list.go +++ b/internal/store/api_keys_access_list.go @@ -18,7 +18,7 @@ import ( "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_api_keys_access_list.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store OrganizationAPIKeyAccessListCreator,OrganizationAPIKeyAccessListDeleter,OrganizationAPIKeyAccessListLister +//go:generate mockgen -destination=../mocks/mock_api_keys_access_list.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store OrganizationAPIKeyAccessListCreator,OrganizationAPIKeyAccessListDeleter,OrganizationAPIKeyAccessListLister type OrganizationAPIKeyAccessListLister interface { OrganizationAPIKeyAccessLists(*admin.ListApiKeyAccessListsEntriesApiParams) (*admin.PaginatedApiUserAccessListResponse, error) diff --git a/internal/store/auditing.go b/internal/store/auditing.go index 67efa25c0f..4daea7a0f3 100644 --- a/internal/store/auditing.go +++ b/internal/store/auditing.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_auditing.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store AuditingDescriber,AuditingUpdater +//go:generate mockgen -destination=../mocks/mock_auditing.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store AuditingDescriber,AuditingUpdater type AuditingDescriber interface { Auditing(string) (*atlasv2.AuditLog, error) diff --git a/internal/store/backup_compliance.go b/internal/store/backup_compliance.go index fa5d97c0d1..8e429ec0c8 100644 --- a/internal/store/backup_compliance.go +++ b/internal/store/backup_compliance.go @@ -22,7 +22,7 @@ import ( var errTScheduledPolicyItemNotFound = errors.New("scheduled policy item not found") -//go:generate mockgen -destination=../mocks/mock_backup_compliance.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store CompliancePolicyDescriber,CompliancePolicyUpdater,CompliancePolicyEncryptionAtRestEnabler,CompliancePolicyEncryptionAtRestDisabler,CompliancePolicyEnabler,CompliancePolicyCopyProtectionEnabler,CompliancePolicyCopyProtectionDisabler,CompliancePolicyPointInTimeRestoresEnabler,CompliancePolicyOnDemandPolicyCreator,CompliancePolicyScheduledPolicyCreator,CompliancePolicyScheduledPolicyDeleter,CompliancePolicyScheduledPolicyUpdater +//go:generate mockgen -destination=../mocks/mock_backup_compliance.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store CompliancePolicyDescriber,CompliancePolicyUpdater,CompliancePolicyEncryptionAtRestEnabler,CompliancePolicyEncryptionAtRestDisabler,CompliancePolicyEnabler,CompliancePolicyCopyProtectionEnabler,CompliancePolicyCopyProtectionDisabler,CompliancePolicyPointInTimeRestoresEnabler,CompliancePolicyOnDemandPolicyCreator,CompliancePolicyScheduledPolicyCreator,CompliancePolicyScheduledPolicyDeleter,CompliancePolicyScheduledPolicyUpdater type CompliancePolicyDescriber interface { DescribeCompliancePolicy(projectID string) (*atlasv2.DataProtectionSettings20231001, error) diff --git a/internal/store/cloud_provider_backup.go b/internal/store/cloud_provider_backup.go index ec71d8f5c7..ce0a2e075a 100644 --- a/internal/store/cloud_provider_backup.go +++ b/internal/store/cloud_provider_backup.go @@ -19,7 +19,7 @@ import ( atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_cloud_provider_backup.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store RestoreJobsLister,RestoreJobsDescriber,RestoreJobsCreator,SnapshotsLister,SnapshotsCreator,SnapshotsDescriber,SnapshotsDeleter,ExportJobsLister,ExportJobsDescriber,ExportJobsCreator,ExportBucketsLister,ExportBucketsCreator,ExportBucketsDeleter,ExportBucketsDescriber,ScheduleDescriber,ScheduleDescriberUpdater,ScheduleDeleter +//go:generate mockgen -destination=../mocks/mock_cloud_provider_backup.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store RestoreJobsLister,RestoreJobsDescriber,RestoreJobsCreator,SnapshotsLister,SnapshotsCreator,SnapshotsDescriber,SnapshotsDeleter,ExportJobsLister,ExportJobsDescriber,ExportJobsCreator,ExportBucketsLister,ExportBucketsCreator,ExportBucketsDeleter,ExportBucketsDescriber,ScheduleDescriber,ScheduleDescriberUpdater,ScheduleDeleter type RestoreJobsLister interface { RestoreJobs(string, string, *atlas.ListOptions) (*atlasv2.PaginatedCloudBackupRestoreJob, error) diff --git a/internal/store/cloud_provider_backup_serverless.go b/internal/store/cloud_provider_backup_serverless.go index bc998eed54..42e416e3ce 100644 --- a/internal/store/cloud_provider_backup_serverless.go +++ b/internal/store/cloud_provider_backup_serverless.go @@ -17,12 +17,12 @@ package store import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_cloud_provider_backup_serverless.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ServerlessSnapshotsLister,ServerlessSnapshotsDescriber,ServerlessRestoreJobsLister,ServerlessRestoreJobsDescriber,ServerlessRestoreJobsCreator +//go:generate mockgen -destination=../mocks/mock_cloud_provider_backup_serverless.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ServerlessSnapshotsLister,ServerlessSnapshotsDescriber,ServerlessRestoreJobsLister,ServerlessRestoreJobsDescriber,ServerlessRestoreJobsCreator type ServerlessSnapshotsLister interface { ServerlessSnapshots(string, string, *atlas.ListOptions) (*atlasv2.PaginatedApiAtlasServerlessBackupSnapshot, error) diff --git a/internal/store/cloud_provider_regions.go b/internal/store/cloud_provider_regions.go index 1fc0444adf..d153b8ee17 100644 --- a/internal/store/cloud_provider_regions.go +++ b/internal/store/cloud_provider_regions.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_cloud_provider_regions.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store CloudProviderRegionsLister +//go:generate mockgen -destination=../mocks/mock_cloud_provider_regions.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store CloudProviderRegionsLister type CloudProviderRegionsLister interface { CloudProviderRegions(string, string, []string) (*atlasv2.PaginatedApiAtlasProviderRegions, error) diff --git a/internal/store/clusters.go b/internal/store/clusters.go index 030fcc0ff6..65a7161067 100644 --- a/internal/store/clusters.go +++ b/internal/store/clusters.go @@ -19,7 +19,7 @@ import ( atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_clusters.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ClusterLister,ClusterDescriber,ClusterCreator,ClusterDeleter,ClusterUpdater,AtlasClusterGetterUpdater,ClusterPauser,ClusterStarter,AtlasClusterQuickStarter,SampleDataAdder,SampleDataStatusDescriber,AtlasClusterConfigurationOptionsDescriber,AtlasSharedClusterDescriber,ClusterUpgrader,AtlasSharedClusterGetterUpgrader,AtlasClusterConfigurationOptionsUpdater,ClusterTester +//go:generate mockgen -destination=../mocks/mock_clusters.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ClusterLister,ClusterDescriber,ClusterCreator,ClusterDeleter,ClusterUpdater,AtlasClusterGetterUpdater,ClusterPauser,ClusterStarter,AtlasClusterQuickStarter,SampleDataAdder,SampleDataStatusDescriber,AtlasClusterConfigurationOptionsDescriber,AtlasSharedClusterDescriber,ClusterUpgrader,AtlasSharedClusterGetterUpgrader,AtlasClusterConfigurationOptionsUpdater,ClusterTester type ClusterLister interface { ProjectClusters(string, *ListOptions) (*admin.PaginatedAdvancedClusterDescription, error) diff --git a/internal/store/custom_dns.go b/internal/store/custom_dns.go index 541dd8c862..d6e58d223b 100644 --- a/internal/store/custom_dns.go +++ b/internal/store/custom_dns.go @@ -14,7 +14,7 @@ package store -//go:generate mockgen -destination=../mocks/mock_custom_dns.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store CustomDNSEnabler,CustomDNSDisabler,CustomDNSDescriber +//go:generate mockgen -destination=../mocks/mock_custom_dns.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store CustomDNSEnabler,CustomDNSDisabler,CustomDNSDescriber import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/internal/store/data_federation.go b/internal/store/data_federation.go index a22de953bb..ce450dee34 100644 --- a/internal/store/data_federation.go +++ b/internal/store/data_federation.go @@ -22,7 +22,7 @@ import ( "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_data_federation.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store DataFederationLister,DataFederationDescriber,DataFederationStore,DataFederationCreator,DataFederationUpdater,DataFederationDeleter,DataFederationLogDownloader +//go:generate mockgen -destination=../mocks/mock_data_federation.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store DataFederationLister,DataFederationDescriber,DataFederationStore,DataFederationCreator,DataFederationUpdater,DataFederationDeleter,DataFederationLogDownloader type DataFederationStore interface { DataFederationLister diff --git a/internal/store/data_federation_private_endpoint.go b/internal/store/data_federation_private_endpoint.go index 9a62bad446..22f268b5d3 100644 --- a/internal/store/data_federation_private_endpoint.go +++ b/internal/store/data_federation_private_endpoint.go @@ -20,7 +20,7 @@ import ( "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_data_federation_private_endpoint.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store DataFederationPrivateEndpointLister,DataFederationPrivateEndpointDescriber,DataFederationPrivateEndpointCreator,DataFederationPrivateEndpointDeleter +//go:generate mockgen -destination=../mocks/mock_data_federation_private_endpoint.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store DataFederationPrivateEndpointLister,DataFederationPrivateEndpointDescriber,DataFederationPrivateEndpointCreator,DataFederationPrivateEndpointDeleter type DataFederationPrivateEndpointLister interface { DataFederationPrivateEndpoints(string) (*admin.PaginatedPrivateNetworkEndpointIdEntry, error) diff --git a/internal/store/data_federation_query_limits.go b/internal/store/data_federation_query_limits.go index 50326c19a0..c6f2696406 100644 --- a/internal/store/data_federation_query_limits.go +++ b/internal/store/data_federation_query_limits.go @@ -20,7 +20,7 @@ import ( "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_data_federation_query_limits.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store DataFederationQueryLimitLister,DataFederationQueryLimitDescriber,DataFederationQueryLimitCreator,DataFederationQueryLimitDeleter +//go:generate mockgen -destination=../mocks/mock_data_federation_query_limits.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store DataFederationQueryLimitLister,DataFederationQueryLimitDescriber,DataFederationQueryLimitCreator,DataFederationQueryLimitDeleter type DataFederationQueryLimitLister interface { DataFederationQueryLimits(string, string) ([]admin.DataFederationTenantQueryLimit, error) diff --git a/internal/store/data_lake.go b/internal/store/data_lake.go index 659fc5edbc..19239020a5 100644 --- a/internal/store/data_lake.go +++ b/internal/store/data_lake.go @@ -17,11 +17,11 @@ package store import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_data_lake.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store DataLakeLister,DataLakeDescriber,DataLakeCreator,DataLakeDeleter,DataLakeUpdater +//go:generate mockgen -destination=../mocks/mock_data_lake.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store DataLakeLister,DataLakeDescriber,DataLakeCreator,DataLakeDeleter,DataLakeUpdater type DataLakeLister interface { DataLakes(string) ([]atlas.DataLake, error) diff --git a/internal/store/data_lake_pipelines.go b/internal/store/data_lake_pipelines.go index b9264b8f51..8bb5efae42 100644 --- a/internal/store/data_lake_pipelines.go +++ b/internal/store/data_lake_pipelines.go @@ -23,7 +23,7 @@ import ( atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_data_lake_pipelines.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store PipelinesLister,PipelinesDescriber,PipelinesCreator,PipelinesUpdater,PipelinesDeleter,PipelineAvailableSnapshotsLister,PipelineAvailableSchedulesLister,PipelinesTriggerer,PipelinesPauser,PipelinesResumer +//go:generate mockgen -destination=../mocks/mock_data_lake_pipelines.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store PipelinesLister,PipelinesDescriber,PipelinesCreator,PipelinesUpdater,PipelinesDeleter,PipelineAvailableSnapshotsLister,PipelineAvailableSchedulesLister,PipelinesTriggerer,PipelinesPauser,PipelinesResumer type PipelinesLister interface { Pipelines(string) ([]atlasv2.DataLakeIngestionPipeline, error) diff --git a/internal/store/data_lake_pipelines_datasets.go b/internal/store/data_lake_pipelines_datasets.go index 48d7979ca9..56b15d9a45 100644 --- a/internal/store/data_lake_pipelines_datasets.go +++ b/internal/store/data_lake_pipelines_datasets.go @@ -16,7 +16,7 @@ package store -//go:generate mockgen -destination=../mocks/mock_data_lake_pipelines_datasets.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store PipelineDatasetDeleter +//go:generate mockgen -destination=../mocks/mock_data_lake_pipelines_datasets.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store PipelineDatasetDeleter type PipelineDatasetDeleter interface { DeletePipelineDataset(string, string, string) error diff --git a/internal/store/data_lake_pipelines_runs.go b/internal/store/data_lake_pipelines_runs.go index 9fdb5018c1..109e1228aa 100644 --- a/internal/store/data_lake_pipelines_runs.go +++ b/internal/store/data_lake_pipelines_runs.go @@ -20,7 +20,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_data_lake_pipelines_runs.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store PipelineRunsLister,PipelineRunsDescriber +//go:generate mockgen -destination=../mocks/mock_data_lake_pipelines_runs.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store PipelineRunsLister,PipelineRunsDescriber type PipelineRunsLister interface { PipelineRuns(string, string) (*atlasv2.PaginatedPipelineRun, error) diff --git a/internal/store/database_roles.go b/internal/store/database_roles.go index 00e1230887..ee358f21f2 100644 --- a/internal/store/database_roles.go +++ b/internal/store/database_roles.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_database_roles.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store DatabaseRoleLister,DatabaseRoleCreator,DatabaseRoleDeleter,DatabaseRoleUpdater,DatabaseRoleDescriber +//go:generate mockgen -destination=../mocks/mock_database_roles.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store DatabaseRoleLister,DatabaseRoleCreator,DatabaseRoleDeleter,DatabaseRoleUpdater,DatabaseRoleDescriber type DatabaseRoleLister interface { DatabaseRoles(string) ([]atlasv2.UserCustomDBRole, error) diff --git a/internal/store/database_users.go b/internal/store/database_users.go index 2899f53ff9..f314a11a80 100644 --- a/internal/store/database_users.go +++ b/internal/store/database_users.go @@ -15,12 +15,12 @@ package store import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_database_users.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store DatabaseUserLister,DatabaseUserCreator,DatabaseUserDeleter,DatabaseUserUpdater,DatabaseUserDescriber,DBUserCertificateLister,DBUserCertificateCreator +//go:generate mockgen -destination=../mocks/mock_database_users.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store DatabaseUserLister,DatabaseUserCreator,DatabaseUserDeleter,DatabaseUserUpdater,DatabaseUserDescriber,DBUserCertificateLister,DBUserCertificateCreator type DatabaseUserLister interface { DatabaseUsers(groupID string, opts *ListOptions) (*atlasv2.PaginatedApiAtlasDatabaseUser, error) diff --git a/internal/store/default_mongodb_version.go b/internal/store/default_mongodb_version.go index 329047627b..12aee17844 100644 --- a/internal/store/default_mongodb_version.go +++ b/internal/store/default_mongodb_version.go @@ -14,7 +14,7 @@ package store -//go:generate mockgen -destination=../mocks/mock_default_mongodb_version.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store DefaultVersionGetter +//go:generate mockgen -destination=../mocks/mock_default_mongodb_version.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store DefaultVersionGetter type DefaultVersionGetter interface { DefaultMongoDBVersion() (string, error) diff --git a/internal/store/deprected_private_endpoints.go b/internal/store/deprected_private_endpoints.go index 4ef727fb9c..cca7363226 100644 --- a/internal/store/deprected_private_endpoints.go +++ b/internal/store/deprected_private_endpoints.go @@ -18,7 +18,7 @@ import ( atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_deprecated_private_endpoints.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store PrivateEndpointListerDeprecated,PrivateEndpointDescriberDeprecated,PrivateEndpointCreatorDeprecated,PrivateEndpointDeleterDeprecated,InterfaceEndpointCreatorDeprecated,InterfaceEndpointDescriberDeprecated,InterfaceEndpointDeleterDeprecated +//go:generate mockgen -destination=../mocks/mock_deprecated_private_endpoints.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store PrivateEndpointListerDeprecated,PrivateEndpointDescriberDeprecated,PrivateEndpointCreatorDeprecated,PrivateEndpointDeleterDeprecated,InterfaceEndpointCreatorDeprecated,InterfaceEndpointDescriberDeprecated,InterfaceEndpointDeleterDeprecated type PrivateEndpointListerDeprecated interface { PrivateEndpointsDeprecated(string, *atlas.ListOptions) ([]atlas.PrivateEndpointConnectionDeprecated, error) diff --git a/internal/store/encryption_at_rest.go b/internal/store/encryption_at_rest.go index 17bfe9382f..c5a9425414 100644 --- a/internal/store/encryption_at_rest.go +++ b/internal/store/encryption_at_rest.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_encryption_at_rest.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store EncryptionAtRestDescriber +//go:generate mockgen -destination=../mocks/mock_encryption_at_rest.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store EncryptionAtRestDescriber type EncryptionAtRestDescriber interface { EncryptionAtRest(string) (*atlasv2.EncryptionAtRest, error) diff --git a/internal/store/events.go b/internal/store/events.go index 923f9dd67d..03c841e3bb 100644 --- a/internal/store/events.go +++ b/internal/store/events.go @@ -18,7 +18,7 @@ import ( "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_events.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store OrganizationEventLister,ProjectEventLister,EventLister +//go:generate mockgen -destination=../mocks/mock_events.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store OrganizationEventLister,ProjectEventLister,EventLister type OrganizationEventLister interface { OrganizationEvents(opts *admin.ListOrganizationEventsApiParams) (*admin.OrgPaginatedEvent, error) diff --git a/internal/store/global_cluster.go b/internal/store/global_cluster.go index 8d82d2ebb0..a7dda07c63 100644 --- a/internal/store/global_cluster.go +++ b/internal/store/global_cluster.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_global_cluster.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store GlobalClusterDescriber +//go:generate mockgen -destination=../mocks/mock_global_cluster.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store GlobalClusterDescriber type GlobalClusterDescriber interface { GlobalCluster(string, string) (*atlasv2.GeoSharding, error) diff --git a/internal/store/indexes.go b/internal/store/indexes.go index d5eac7daf5..fe3e9f26a9 100644 --- a/internal/store/indexes.go +++ b/internal/store/indexes.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_indexes.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store IndexCreator +//go:generate mockgen -destination=../mocks/mock_indexes.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store IndexCreator type IndexCreator interface { CreateIndex(string, string, *atlasv2.DatabaseRollingIndexRequest) error diff --git a/internal/store/integrations.go b/internal/store/integrations.go index f619acad5f..41e7ee14bb 100644 --- a/internal/store/integrations.go +++ b/internal/store/integrations.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_integrations.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store IntegrationCreator,IntegrationLister,IntegrationDeleter,IntegrationDescriber +//go:generate mockgen -destination=../mocks/mock_integrations.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store IntegrationCreator,IntegrationLister,IntegrationDeleter,IntegrationDescriber type IntegrationCreator interface { CreateIntegration(string, string, *atlasv2.ThirdPartyIntegration) (*atlasv2.PaginatedIntegration, error) diff --git a/internal/store/ip_info.go b/internal/store/ip_info.go index 16ee078a54..298fccd193 100644 --- a/internal/store/ip_info.go +++ b/internal/store/ip_info.go @@ -15,7 +15,7 @@ package store import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" atlas "go.mongodb.org/atlas/mongodbatlas" ) diff --git a/internal/store/ldap_configurations.go b/internal/store/ldap_configurations.go index 92f75a54be..a2abad331e 100644 --- a/internal/store/ldap_configurations.go +++ b/internal/store/ldap_configurations.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_ldap_configurations.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store LDAPConfigurationVerifier,LDAPConfigurationDescriber,LDAPConfigurationSaver,LDAPConfigurationDeleter,LDAPConfigurationGetter +//go:generate mockgen -destination=../mocks/mock_ldap_configurations.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store LDAPConfigurationVerifier,LDAPConfigurationDescriber,LDAPConfigurationSaver,LDAPConfigurationDeleter,LDAPConfigurationGetter type LDAPConfigurationVerifier interface { VerifyLDAPConfiguration(string, *atlasv2.LDAPVerifyConnectivityJobRequestParams) (*atlasv2.LDAPVerifyConnectivityJobRequest, error) diff --git a/internal/store/live_migration.go b/internal/store/live_migration.go index a69797ce76..5abfd194e5 100644 --- a/internal/store/live_migration.go +++ b/internal/store/live_migration.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_live_migration_validations.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store LiveMigrationValidationsCreator,LiveMigrationCutoverCreator,LiveMigrationValidationsDescriber +//go:generate mockgen -destination=../mocks/mock_live_migration_validations.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store LiveMigrationValidationsCreator,LiveMigrationCutoverCreator,LiveMigrationValidationsDescriber type LiveMigrationValidationsCreator interface { CreateValidation(string, *atlasv2.LiveMigrationRequest) (*atlasv2.LiveImportValidation, error) diff --git a/internal/store/live_migration_link_tokens.go b/internal/store/live_migration_link_tokens.go index 7c91ec542b..d98f24fa84 100644 --- a/internal/store/live_migration_link_tokens.go +++ b/internal/store/live_migration_link_tokens.go @@ -17,11 +17,11 @@ package store import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_live_migration_link_tokens.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store LinkTokenCreator,LinkTokenDeleter +//go:generate mockgen -destination=../mocks/mock_live_migration_link_tokens.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store LinkTokenCreator,LinkTokenDeleter type LinkTokenCreator interface { CreateLinkToken(string, *atlasv2.TargetOrgRequest) (*atlasv2.TargetOrg, error) diff --git a/internal/store/live_migrations.go b/internal/store/live_migrations.go index 0ed7cd5ac4..2ea0e1797a 100644 --- a/internal/store/live_migrations.go +++ b/internal/store/live_migrations.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_live_migrations.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store LiveMigrationCreator,LiveMigrationDescriber +//go:generate mockgen -destination=../mocks/mock_live_migrations.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store LiveMigrationCreator,LiveMigrationDescriber type LiveMigrationCreator interface { LiveMigrationCreate(string, *atlasv2.LiveMigrationRequest) (*atlasv2.LiveMigrationResponse, error) diff --git a/internal/store/logs.go b/internal/store/logs.go index 3cb4afc97f..37b423efb8 100644 --- a/internal/store/logs.go +++ b/internal/store/logs.go @@ -21,7 +21,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_logs.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store LogsDownloader +//go:generate mockgen -destination=../mocks/mock_logs.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store LogsDownloader type LogsDownloader interface { DownloadLog(*atlasv2.GetHostLogsApiParams) (io.ReadCloser, error) diff --git a/internal/store/maintenance.go b/internal/store/maintenance.go index c64b005c7c..405c1a9a04 100644 --- a/internal/store/maintenance.go +++ b/internal/store/maintenance.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_maintenance.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store MaintenanceWindowUpdater,MaintenanceWindowClearer,MaintenanceWindowDeferrer,MaintenanceWindowDescriber +//go:generate mockgen -destination=../mocks/mock_maintenance.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store MaintenanceWindowUpdater,MaintenanceWindowClearer,MaintenanceWindowDeferrer,MaintenanceWindowDescriber type MaintenanceWindowUpdater interface { UpdateMaintenanceWindow(string, *atlasv2.GroupMaintenanceWindow) error diff --git a/internal/store/online_archives.go b/internal/store/online_archives.go index 06e03e9f20..c214e165f7 100644 --- a/internal/store/online_archives.go +++ b/internal/store/online_archives.go @@ -17,12 +17,12 @@ package store import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_online_archives.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store OnlineArchiveLister,OnlineArchiveDescriber,OnlineArchiveCreator,OnlineArchiveUpdater,OnlineArchiveDeleter +//go:generate mockgen -destination=../mocks/mock_online_archives.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store OnlineArchiveLister,OnlineArchiveDescriber,OnlineArchiveCreator,OnlineArchiveUpdater,OnlineArchiveDeleter type OnlineArchiveLister interface { OnlineArchives(string, string, *atlas.ListOptions) (*atlasv2.PaginatedOnlineArchive, error) diff --git a/internal/store/operator.go b/internal/store/operator.go index feac0d8755..14b59078fe 100644 --- a/internal/store/operator.go +++ b/internal/store/operator.go @@ -15,14 +15,14 @@ package store import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" ) -//go:generate mockgen -destination=../mocks/mock_atlas_operator_cluster_store.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store OperatorClusterStore -//go:generate mockgen -destination=../mocks/mock_atlas_operator_project_store.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store OperatorProjectStore -//go:generate mockgen -destination=../mocks/mock_atlas_operator_db_users_store.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store OperatorDBUsersStore -//go:generate mockgen -destination=../mocks/mock_atlas_operator_org_store.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store OperatorOrgStore -//go:generate mockgen -destination=../mocks/mock_atlas_generic_store.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store OperatorGenericStore +//go:generate mockgen -destination=../mocks/mock_atlas_operator_cluster_store.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store OperatorClusterStore +//go:generate mockgen -destination=../mocks/mock_atlas_operator_project_store.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store OperatorProjectStore +//go:generate mockgen -destination=../mocks/mock_atlas_operator_db_users_store.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store OperatorDBUsersStore +//go:generate mockgen -destination=../mocks/mock_atlas_operator_org_store.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store OperatorOrgStore +//go:generate mockgen -destination=../mocks/mock_atlas_generic_store.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store OperatorGenericStore type ListOptions struct { PageNum int diff --git a/internal/store/organization_invitations.go b/internal/store/organization_invitations.go index 1f09ace017..bbab1d6e37 100644 --- a/internal/store/organization_invitations.go +++ b/internal/store/organization_invitations.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_organization_invitations.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store OrganizationInvitationLister,OrganizationInvitationDeleter,OrganizationInvitationDescriber,OrganizationInvitationUpdater,OrganizationInviter +//go:generate mockgen -destination=../mocks/mock_organization_invitations.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store OrganizationInvitationLister,OrganizationInvitationDeleter,OrganizationInvitationDescriber,OrganizationInvitationUpdater,OrganizationInviter type OrganizationInvitationLister interface { OrganizationInvitations(*atlasv2.ListOrganizationInvitationsApiParams) ([]atlasv2.OrganizationInvitation, error) diff --git a/internal/store/organizations.go b/internal/store/organizations.go index 9e8a3379a4..0611cbef14 100644 --- a/internal/store/organizations.go +++ b/internal/store/organizations.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_organizations.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store OrganizationLister,OrganizationDeleter,OrganizationDescriber,OrganizationCreator +//go:generate mockgen -destination=../mocks/mock_organizations.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store OrganizationLister,OrganizationDeleter,OrganizationDescriber,OrganizationCreator type OrganizationLister interface { Organizations(*atlasv2.ListOrganizationsApiParams) (*atlasv2.PaginatedOrganization, error) diff --git a/internal/store/peering_connections.go b/internal/store/peering_connections.go index 446f8f73f4..1aa7ad8b53 100644 --- a/internal/store/peering_connections.go +++ b/internal/store/peering_connections.go @@ -19,7 +19,7 @@ import ( atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_peering_connections.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store PeeringConnectionLister,PeeringConnectionDescriber,PeeringConnectionDeleter,AzurePeeringConnectionCreator,AWSPeeringConnectionCreator,GCPPeeringConnectionCreator,PeeringConnectionCreator,ContainersLister,ContainersDeleter +//go:generate mockgen -destination=../mocks/mock_peering_connections.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store PeeringConnectionLister,PeeringConnectionDescriber,PeeringConnectionDeleter,AzurePeeringConnectionCreator,AWSPeeringConnectionCreator,GCPPeeringConnectionCreator,PeeringConnectionCreator,ContainersLister,ContainersDeleter type PeeringConnectionLister interface { PeeringConnections(string, *ContainersListOptions) ([]atlasv2.BaseNetworkPeeringConnectionSettings, error) diff --git a/internal/store/performance_advisor.go b/internal/store/performance_advisor.go index 47172089f9..c4833907b2 100644 --- a/internal/store/performance_advisor.go +++ b/internal/store/performance_advisor.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_performance_advisor.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store PerformanceAdvisorNamespacesLister,PerformanceAdvisorSlowQueriesLister,PerformanceAdvisorIndexesLister,PerformanceAdvisorSlowOperationThresholdEnabler,PerformanceAdvisorSlowOperationThresholdDisabler +//go:generate mockgen -destination=../mocks/mock_performance_advisor.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store PerformanceAdvisorNamespacesLister,PerformanceAdvisorSlowQueriesLister,PerformanceAdvisorIndexesLister,PerformanceAdvisorSlowOperationThresholdEnabler,PerformanceAdvisorSlowOperationThresholdDisabler type PerformanceAdvisorNamespacesLister interface { PerformanceAdvisorNamespaces(opts *atlasv2.ListSlowQueryNamespacesApiParams) (*atlasv2.Namespaces, error) } diff --git a/internal/store/private_endpoints.go b/internal/store/private_endpoints.go index f9c7aa867a..5ac9231be5 100644 --- a/internal/store/private_endpoints.go +++ b/internal/store/private_endpoints.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_private_endpoints.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store PrivateEndpointLister,PrivateEndpointDescriber,PrivateEndpointCreator,PrivateEndpointDeleter,InterfaceEndpointDescriber,InterfaceEndpointCreator,InterfaceEndpointDeleter,RegionalizedPrivateEndpointSettingUpdater,RegionalizedPrivateEndpointSettingDescriber,DataLakePrivateEndpointLister,DataLakePrivateEndpointCreator,DataLakePrivateEndpointDeleter,DataLakePrivateEndpointDescriber +//go:generate mockgen -destination=../mocks/mock_private_endpoints.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store PrivateEndpointLister,PrivateEndpointDescriber,PrivateEndpointCreator,PrivateEndpointDeleter,InterfaceEndpointDescriber,InterfaceEndpointCreator,InterfaceEndpointDeleter,RegionalizedPrivateEndpointSettingUpdater,RegionalizedPrivateEndpointSettingDescriber,DataLakePrivateEndpointLister,DataLakePrivateEndpointCreator,DataLakePrivateEndpointDeleter,DataLakePrivateEndpointDescriber type PrivateEndpointLister interface { PrivateEndpoints(string, string) ([]atlasv2.EndpointService, error) diff --git a/internal/store/process_databases.go b/internal/store/process_databases.go index a1637a2741..432cb7c353 100644 --- a/internal/store/process_databases.go +++ b/internal/store/process_databases.go @@ -21,7 +21,7 @@ import ( atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_process_databases.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ProcessDatabaseLister +//go:generate mockgen -destination=../mocks/mock_process_databases.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ProcessDatabaseLister type ProcessDatabaseLister interface { ProcessDatabases(string, string, int, *atlas.ListOptions) (*atlasv2.PaginatedDatabase, error) diff --git a/internal/store/process_disk_measurements.go b/internal/store/process_disk_measurements.go index e1250205b5..851368c44a 100644 --- a/internal/store/process_disk_measurements.go +++ b/internal/store/process_disk_measurements.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_process_disk_measurements.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ProcessDiskMeasurementsLister,ProcessDatabaseMeasurementsLister +//go:generate mockgen -destination=../mocks/mock_process_disk_measurements.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ProcessDiskMeasurementsLister,ProcessDatabaseMeasurementsLister type ProcessDiskMeasurementsLister interface { ProcessDiskMeasurements(*atlasv2.GetDiskMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error) diff --git a/internal/store/process_disks.go b/internal/store/process_disks.go index 339a1b28af..28f3161af8 100644 --- a/internal/store/process_disks.go +++ b/internal/store/process_disks.go @@ -21,7 +21,7 @@ import ( atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_process_disks.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ProcessDisksLister +//go:generate mockgen -destination=../mocks/mock_process_disks.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ProcessDisksLister type ProcessDisksLister interface { ProcessDisks(string, string, int, *atlas.ListOptions) (*atlasv2.PaginatedDiskPartition, error) diff --git a/internal/store/process_measurements.go b/internal/store/process_measurements.go index 516470aaf8..e2f0067d78 100644 --- a/internal/store/process_measurements.go +++ b/internal/store/process_measurements.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_process_measurements.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ProcessMeasurementLister +//go:generate mockgen -destination=../mocks/mock_process_measurements.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ProcessMeasurementLister type ProcessMeasurementLister interface { ProcessMeasurements(*atlasv2.GetHostMeasurementsApiParams) (*atlasv2.ApiMeasurementsGeneralViewAtlas, error) diff --git a/internal/store/processes.go b/internal/store/processes.go index fc3c278f0c..8ed3d10c33 100644 --- a/internal/store/processes.go +++ b/internal/store/processes.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_processes.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ProcessLister,ProcessDescriber +//go:generate mockgen -destination=../mocks/mock_processes.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ProcessLister,ProcessDescriber type ProcessLister interface { Processes(*atlasv2.ListAtlasProcessesApiParams) (*atlasv2.PaginatedHostViewAtlas, error) diff --git a/internal/store/project_invitations.go b/internal/store/project_invitations.go index 2be86867b8..3c679e83b0 100644 --- a/internal/store/project_invitations.go +++ b/internal/store/project_invitations.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_project_invitations.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ProjectInvitationLister,ProjectInvitationDescriber,ProjectInvitationDeleter,ProjectInviter,ProjectInvitationUpdater +//go:generate mockgen -destination=../mocks/mock_project_invitations.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ProjectInvitationLister,ProjectInvitationDescriber,ProjectInvitationDeleter,ProjectInviter,ProjectInvitationUpdater type ProjectInvitationLister interface { ProjectInvitations(*atlasv2.ListProjectInvitationsApiParams) ([]atlasv2.GroupInvitation, error) diff --git a/internal/store/project_ip_access_lists.go b/internal/store/project_ip_access_lists.go index ba9b3dc4ae..d648701920 100644 --- a/internal/store/project_ip_access_lists.go +++ b/internal/store/project_ip_access_lists.go @@ -20,7 +20,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_project_ip_access_lists.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ProjectIPAccessListDescriber,ProjectIPAccessListLister,ProjectIPAccessListCreator,ProjectIPAccessListDeleter +//go:generate mockgen -destination=../mocks/mock_project_ip_access_lists.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ProjectIPAccessListDescriber,ProjectIPAccessListLister,ProjectIPAccessListCreator,ProjectIPAccessListDeleter type ProjectIPAccessListDescriber interface { IPAccessList(string, string) (*atlasv2.NetworkPermissionEntry, error) diff --git a/internal/store/project_settings.go b/internal/store/project_settings.go index 600891f7cb..4502a039b0 100644 --- a/internal/store/project_settings.go +++ b/internal/store/project_settings.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_project_settings.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ProjectSettingsDescriber,ProjectSettingsUpdater +//go:generate mockgen -destination=../mocks/mock_project_settings.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ProjectSettingsDescriber,ProjectSettingsUpdater type ProjectSettingsDescriber interface { ProjectSettings(string) (*atlasv2.GroupSettings, error) diff --git a/internal/store/projects.go b/internal/store/projects.go index 54eed3b4ff..71a5970f02 100644 --- a/internal/store/projects.go +++ b/internal/store/projects.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_projects.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ProjectLister,ProjectCreator,ProjectDeleter,ProjectDescriber,ProjectUsersLister,ProjectUserDeleter,ProjectTeamLister,ProjectTeamAdder,ProjectTeamDeleter,OrgProjectLister +//go:generate mockgen -destination=../mocks/mock_projects.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ProjectLister,ProjectCreator,ProjectDeleter,ProjectDescriber,ProjectUsersLister,ProjectUserDeleter,ProjectTeamLister,ProjectTeamAdder,ProjectTeamDeleter,OrgProjectLister type ProjectLister interface { Projects(*ListOptions) (*atlasv2.PaginatedAtlasGroup, error) diff --git a/internal/store/search.go b/internal/store/search.go index b27e54e5cb..669fd58f43 100644 --- a/internal/store/search.go +++ b/internal/store/search.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_search.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store SearchIndexLister,SearchIndexCreator,SearchIndexDescriber,SearchIndexUpdater,SearchIndexDeleter +//go:generate mockgen -destination=../mocks/mock_search.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store SearchIndexLister,SearchIndexCreator,SearchIndexDescriber,SearchIndexUpdater,SearchIndexDeleter type SearchIndexLister interface { SearchIndexes(string, string, string, string) ([]atlasv2.ClusterSearchIndex, error) diff --git a/internal/store/search_nodes.go b/internal/store/search_nodes.go index 8b3a21d34c..796c6c4598 100644 --- a/internal/store/search_nodes.go +++ b/internal/store/search_nodes.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_search_nodes.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store SearchNodesLister,SearchNodesCreator,SearchNodesUpdater,SearchNodesDeleter +//go:generate mockgen -destination=../mocks/mock_search_nodes.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store SearchNodesLister,SearchNodesCreator,SearchNodesUpdater,SearchNodesDeleter type SearchNodesLister interface { SearchNodes(string, string) (*atlasv2.ApiSearchDeploymentResponse, error) diff --git a/internal/store/serverless_instances.go b/internal/store/serverless_instances.go index 11ad878bae..ae1b709062 100644 --- a/internal/store/serverless_instances.go +++ b/internal/store/serverless_instances.go @@ -17,11 +17,11 @@ package store import ( "fmt" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_serverless_instances.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ServerlessInstanceLister,ServerlessInstanceDescriber,ServerlessInstanceDeleter,ServerlessInstanceCreator,ServerlessInstanceUpdater +//go:generate mockgen -destination=../mocks/mock_serverless_instances.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ServerlessInstanceLister,ServerlessInstanceDescriber,ServerlessInstanceDeleter,ServerlessInstanceCreator,ServerlessInstanceUpdater type ServerlessInstanceLister interface { ServerlessInstances(string, *ListOptions) (*atlasv2.PaginatedServerlessInstanceDescription, error) diff --git a/internal/store/serverless_private_endpoints.go b/internal/store/serverless_private_endpoints.go index c77767fd49..85055f36be 100644 --- a/internal/store/serverless_private_endpoints.go +++ b/internal/store/serverless_private_endpoints.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_serverless_private_endpoints.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store ServerlessPrivateEndpointsLister +//go:generate mockgen -destination=../mocks/mock_serverless_private_endpoints.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store ServerlessPrivateEndpointsLister type ServerlessPrivateEndpointsLister interface { ServerlessPrivateEndpoints(string, string) ([]atlasv2.ServerlessTenantEndpoint, error) diff --git a/internal/store/store.go b/internal/store/store.go index 1560b6898e..9a1566e779 100644 --- a/internal/store/store.go +++ b/internal/store/store.go @@ -14,7 +14,7 @@ package store -//go:generate mockgen -destination=../mocks/mock_store.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store CredentialsGetter +//go:generate mockgen -destination=../mocks/mock_store.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store CredentialsGetter import ( "context" @@ -25,9 +25,9 @@ import ( "strings" "time" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" "github.com/mongodb-forks/digest" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" atlasauth "go.mongodb.org/atlas/auth" atlas "go.mongodb.org/atlas/mongodbatlas" diff --git a/internal/store/store_test.go b/internal/store/store_test.go index 9c5ca8a265..83cdcbad54 100644 --- a/internal/store/store_test.go +++ b/internal/store/store_test.go @@ -20,7 +20,7 @@ import ( "context" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" atlasauth "go.mongodb.org/atlas/auth" ) diff --git a/internal/store/streams.go b/internal/store/streams.go index 0dec279749..a3ae148329 100644 --- a/internal/store/streams.go +++ b/internal/store/streams.go @@ -21,7 +21,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_streams.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store StreamsLister,StreamsDescriber,StreamsCreator,StreamsDeleter,StreamsUpdater,StreamsDownloader,ConnectionCreator,ConnectionDeleter,ConnectionUpdater,StreamsConnectionDescriber,StreamsConnectionLister +//go:generate mockgen -destination=../mocks/mock_streams.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store StreamsLister,StreamsDescriber,StreamsCreator,StreamsDeleter,StreamsUpdater,StreamsDownloader,ConnectionCreator,ConnectionDeleter,ConnectionUpdater,StreamsConnectionDescriber,StreamsConnectionLister type StreamsLister interface { ProjectStreams(*atlasv2.ListStreamInstancesApiParams) (*atlasv2.PaginatedApiStreamsTenant, error) diff --git a/internal/store/teams.go b/internal/store/teams.go index 8683038221..dc524f0a2f 100644 --- a/internal/store/teams.go +++ b/internal/store/teams.go @@ -19,7 +19,7 @@ import ( atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_teams.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store TeamLister,TeamDescriber,TeamCreator,TeamRenamer,TeamDeleter,TeamAdder,TeamUserRemover,TeamRolesUpdater +//go:generate mockgen -destination=../mocks/mock_teams.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store TeamLister,TeamDescriber,TeamCreator,TeamRenamer,TeamDeleter,TeamAdder,TeamUserRemover,TeamRolesUpdater type TeamLister interface { Teams(string, *atlas.ListOptions) (*atlasv2.PaginatedTeam, error) diff --git a/internal/store/telemetry.go b/internal/store/telemetry.go index f335981b9d..8a07e3ad2d 100644 --- a/internal/store/telemetry.go +++ b/internal/store/telemetry.go @@ -17,10 +17,10 @@ package store import ( "net/http" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" ) -//go:generate mockgen -destination=../mocks/mock_telemetry.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store EventsSender,UnauthEventsSender +//go:generate mockgen -destination=../mocks/mock_telemetry.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store EventsSender,UnauthEventsSender type EventsSender interface { SendEvents(body interface{}) error diff --git a/internal/store/users.go b/internal/store/users.go index 67b6e38ff2..ff585fbc55 100644 --- a/internal/store/users.go +++ b/internal/store/users.go @@ -19,7 +19,7 @@ import ( atlas "go.mongodb.org/atlas/mongodbatlas" ) -//go:generate mockgen -destination=../mocks/mock_users.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store UserCreator,UserDescriber,UserLister,TeamUserLister +//go:generate mockgen -destination=../mocks/mock_users.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store UserCreator,UserDescriber,UserLister,TeamUserLister type UserCreator interface { CreateUser(user *atlasv2.CloudAppUser) (*atlasv2.CloudAppUser, error) diff --git a/internal/store/x509_auth_database_users.go b/internal/store/x509_auth_database_users.go index 8da2195164..29438d9e11 100644 --- a/internal/store/x509_auth_database_users.go +++ b/internal/store/x509_auth_database_users.go @@ -18,7 +18,7 @@ import ( atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) -//go:generate mockgen -destination=../mocks/mock_x509_certificate_store.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store X509CertificateConfDescriber,X509CertificateConfSaver,X509CertificateConfDisabler +//go:generate mockgen -destination=../mocks/mock_x509_certificate_store.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store X509CertificateConfDescriber,X509CertificateConfSaver,X509CertificateConfDisabler type X509CertificateConfDescriber interface { X509Configuration(string) (*atlasv2.UserSecurity, error) diff --git a/internal/telemetry/ask.go b/internal/telemetry/ask.go index bb179bc093..88604df171 100644 --- a/internal/telemetry/ask.go +++ b/internal/telemetry/ask.go @@ -16,8 +16,8 @@ package telemetry import ( "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" ) func TrackAsk(qs []*survey.Question, response interface{}, opts ...survey.AskOpt) error { diff --git a/internal/telemetry/command.go b/internal/telemetry/command.go index 3723329e70..73e227bd06 100644 --- a/internal/telemetry/command.go +++ b/internal/telemetry/command.go @@ -15,8 +15,8 @@ package telemetry import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" "github.com/spf13/cobra" ) diff --git a/internal/telemetry/event.go b/internal/telemetry/event.go index b5d2b08e7c..e70e03d825 100644 --- a/internal/telemetry/event.go +++ b/internal/telemetry/event.go @@ -25,11 +25,11 @@ import ( "time" "github.com/denisbrodbeck/machineid" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/terminal" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/terminal" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version" "github.com/spf13/cobra" "github.com/spf13/pflag" ) diff --git a/internal/telemetry/event_test.go b/internal/telemetry/event_test.go index 5067df695f..d08234664b 100644 --- a/internal/telemetry/event_test.go +++ b/internal/telemetry/event_test.go @@ -22,9 +22,9 @@ import ( "testing" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/telemetry/installer.go b/internal/telemetry/installer.go index 0b392b5fef..387f365332 100644 --- a/internal/telemetry/installer.go +++ b/internal/telemetry/installer.go @@ -15,7 +15,7 @@ package telemetry import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/homebrew" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/homebrew" "github.com/spf13/afero" ) diff --git a/internal/telemetry/tracker.go b/internal/telemetry/tracker.go index 21a3d3aab7..7fd5d17243 100644 --- a/internal/telemetry/tracker.go +++ b/internal/telemetry/tracker.go @@ -22,9 +22,9 @@ import ( "path/filepath" "github.com/AlecAivazis/survey/v2" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/log" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" "github.com/spf13/afero" "github.com/spf13/cobra" ) diff --git a/internal/telemetry/tracker_test.go b/internal/telemetry/tracker_test.go index 1e6dc5bb0e..844e68c44e 100644 --- a/internal/telemetry/tracker_test.go +++ b/internal/telemetry/tracker_test.go @@ -23,9 +23,9 @@ import ( "time" "github.com/AlecAivazis/survey/v2" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks" "github.com/spf13/afero" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" diff --git a/internal/test/test.go b/internal/test/test.go index 782d5da584..9984926596 100644 --- a/internal/test/test.go +++ b/internal/test/test.go @@ -18,7 +18,7 @@ import ( "bytes" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/templatewriter" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/templatewriter" "github.com/spf13/cobra" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/internal/validate/validate.go b/internal/validate/validate.go index b9b544e947..0735b4cd3a 100644 --- a/internal/validate/validate.go +++ b/internal/validate/validate.go @@ -24,7 +24,7 @@ import ( "slices" "strings" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" ) const minPasswordLength = 10 diff --git a/internal/version/release_version.go b/internal/version/release_version.go index d72d5c1bb3..88c25152a6 100644 --- a/internal/version/release_version.go +++ b/internal/version/release_version.go @@ -21,7 +21,7 @@ import ( "github.com/google/go-github/v50/github" ) -//go:generate mockgen -destination=../mocks/mock_release_version.go -package=mocks github.com/mongodb/mongodb-atlas-cli/atlascli/internal/version ReleaseVersionDescriber +//go:generate mockgen -destination=../mocks/mock_release_version.go -package=mocks github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/version ReleaseVersionDescriber const ( maxWaitTime = 500 * time.Millisecond diff --git a/internal/watchers/cluster.go b/internal/watchers/cluster.go index 5702101ab8..633a23e31b 100644 --- a/internal/watchers/cluster.go +++ b/internal/watchers/cluster.go @@ -15,8 +15,8 @@ package watchers import ( - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/store" ) const ( diff --git a/test/e2e/atlas/access_lists_test.go b/test/e2e/atlas/access_lists_test.go index c28e409c3f..8877d5baf8 100644 --- a/test/e2e/atlas/access_lists_test.go +++ b/test/e2e/atlas/access_lists_test.go @@ -23,7 +23,7 @@ import ( "testing" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/access_logs_test.go b/test/e2e/atlas/access_logs_test.go index b0f582ec52..3e5c6e5323 100644 --- a/test/e2e/atlas/access_logs_test.go +++ b/test/e2e/atlas/access_logs_test.go @@ -21,7 +21,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/test/e2e/atlas/access_roles_test.go b/test/e2e/atlas/access_roles_test.go index abeeb48907..31bbc6c628 100644 --- a/test/e2e/atlas/access_roles_test.go +++ b/test/e2e/atlas/access_roles_test.go @@ -21,7 +21,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/alert_settings_test.go b/test/e2e/atlas/alert_settings_test.go index d636ccb4c4..3cb2ece443 100644 --- a/test/e2e/atlas/alert_settings_test.go +++ b/test/e2e/atlas/alert_settings_test.go @@ -24,7 +24,7 @@ import ( "strconv" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/alerts_test.go b/test/e2e/atlas/alerts_test.go index 78c53d19aa..c48351c742 100644 --- a/test/e2e/atlas/alerts_test.go +++ b/test/e2e/atlas/alerts_test.go @@ -22,7 +22,7 @@ import ( "testing" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/atlas_e2e_test_generator_test.go b/test/e2e/atlas/atlas_e2e_test_generator_test.go index 6dd256b4b9..5a547aed8e 100644 --- a/test/e2e/atlas/atlas_e2e_test_generator_test.go +++ b/test/e2e/atlas/atlas_e2e_test_generator_test.go @@ -24,7 +24,7 @@ import ( "testing" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/auditing_test.go b/test/e2e/atlas/auditing_test.go index 267f6250aa..359dac8591 100644 --- a/test/e2e/atlas/auditing_test.go +++ b/test/e2e/atlas/auditing_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/test/e2e/atlas/backup_compliancepolicy_copyprotection_test.go b/test/e2e/atlas/backup_compliancepolicy_copyprotection_test.go index a429a38e66..cdaa2d57b7 100644 --- a/test/e2e/atlas/backup_compliancepolicy_copyprotection_test.go +++ b/test/e2e/atlas/backup_compliancepolicy_copyprotection_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/backup_compliancepolicy_describe_test.go b/test/e2e/atlas/backup_compliancepolicy_describe_test.go index c4a03c18b7..0523657591 100644 --- a/test/e2e/atlas/backup_compliancepolicy_describe_test.go +++ b/test/e2e/atlas/backup_compliancepolicy_describe_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/backup_compliancepolicy_enable_test.go b/test/e2e/atlas/backup_compliancepolicy_enable_test.go index 2b7bef09a6..c037e96298 100644 --- a/test/e2e/atlas/backup_compliancepolicy_enable_test.go +++ b/test/e2e/atlas/backup_compliancepolicy_enable_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/backup_compliancepolicy_pitrestore_test.go b/test/e2e/atlas/backup_compliancepolicy_pitrestore_test.go index 89cbbab28e..ab463244eb 100644 --- a/test/e2e/atlas/backup_compliancepolicy_pitrestore_test.go +++ b/test/e2e/atlas/backup_compliancepolicy_pitrestore_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/backup_compliancepolicy_policies_describe_test.go b/test/e2e/atlas/backup_compliancepolicy_policies_describe_test.go index 96e41fa7ee..928c151516 100644 --- a/test/e2e/atlas/backup_compliancepolicy_policies_describe_test.go +++ b/test/e2e/atlas/backup_compliancepolicy_policies_describe_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/backup_compliancepolicy_setup_test.go b/test/e2e/atlas/backup_compliancepolicy_setup_test.go index 7bc319c17b..e3db198675 100644 --- a/test/e2e/atlas/backup_compliancepolicy_setup_test.go +++ b/test/e2e/atlas/backup_compliancepolicy_setup_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/backup_export_buckets_test.go b/test/e2e/atlas/backup_export_buckets_test.go index a548fcecaf..e8bb488a8b 100644 --- a/test/e2e/atlas/backup_export_buckets_test.go +++ b/test/e2e/atlas/backup_export_buckets_test.go @@ -21,7 +21,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/backup_export_jobs_test.go b/test/e2e/atlas/backup_export_jobs_test.go index 5f096867e9..0f0bb71ffd 100644 --- a/test/e2e/atlas/backup_export_jobs_test.go +++ b/test/e2e/atlas/backup_export_jobs_test.go @@ -23,7 +23,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/backup_restores_test.go b/test/e2e/atlas/backup_restores_test.go index 3aa29eaa96..f5dcb49dee 100644 --- a/test/e2e/atlas/backup_restores_test.go +++ b/test/e2e/atlas/backup_restores_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/backup_schedule_test.go b/test/e2e/atlas/backup_schedule_test.go index a351a7ea06..9aaa63df34 100644 --- a/test/e2e/atlas/backup_schedule_test.go +++ b/test/e2e/atlas/backup_schedule_test.go @@ -21,7 +21,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/backup_serverless_test.go b/test/e2e/atlas/backup_serverless_test.go index f32b94e8d7..6f8f753a29 100644 --- a/test/e2e/atlas/backup_serverless_test.go +++ b/test/e2e/atlas/backup_serverless_test.go @@ -21,7 +21,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/backup_snapshot_test.go b/test/e2e/atlas/backup_snapshot_test.go index 047865c7c6..2a1223ed06 100644 --- a/test/e2e/atlas/backup_snapshot_test.go +++ b/test/e2e/atlas/backup_snapshot_test.go @@ -21,7 +21,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/cleanup_test.go b/test/e2e/atlas/cleanup_test.go index 6fb72f4164..c63ef1f5d2 100644 --- a/test/e2e/atlas/cleanup_test.go +++ b/test/e2e/atlas/cleanup_test.go @@ -23,7 +23,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/test/e2e/atlas/clusters_file_test.go b/test/e2e/atlas/clusters_file_test.go index e0d5c3db90..dbf99d0818 100644 --- a/test/e2e/atlas/clusters_file_test.go +++ b/test/e2e/atlas/clusters_file_test.go @@ -24,8 +24,8 @@ import ( "testing" "text/template" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/config" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/config" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/clusters_flags_test.go b/test/e2e/atlas/clusters_flags_test.go index 871bae55b9..ee6d030356 100644 --- a/test/e2e/atlas/clusters_flags_test.go +++ b/test/e2e/atlas/clusters_flags_test.go @@ -23,7 +23,7 @@ import ( "testing" "github.com/Masterminds/semver/v3" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/clusters_m0_test.go b/test/e2e/atlas/clusters_m0_test.go index b0479e270b..6fbf5d006c 100644 --- a/test/e2e/atlas/clusters_m0_test.go +++ b/test/e2e/atlas/clusters_m0_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/clusters_sharded_test.go b/test/e2e/atlas/clusters_sharded_test.go index fcfd19cca2..383af0cae7 100644 --- a/test/e2e/atlas/clusters_sharded_test.go +++ b/test/e2e/atlas/clusters_sharded_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/clusters_upgrade_test.go b/test/e2e/atlas/clusters_upgrade_test.go index f88838f254..824a2a406e 100644 --- a/test/e2e/atlas/clusters_upgrade_test.go +++ b/test/e2e/atlas/clusters_upgrade_test.go @@ -21,7 +21,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/custom_db_roles_test.go b/test/e2e/atlas/custom_db_roles_test.go index a26e09853c..d7d079203c 100644 --- a/test/e2e/atlas/custom_db_roles_test.go +++ b/test/e2e/atlas/custom_db_roles_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/custom_dns_test.go b/test/e2e/atlas/custom_dns_test.go index f4983efa58..5d34d171cb 100644 --- a/test/e2e/atlas/custom_dns_test.go +++ b/test/e2e/atlas/custom_dns_test.go @@ -21,7 +21,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/data_federation_db_test.go b/test/e2e/atlas/data_federation_db_test.go index 3ea2d849ba..4d4f60b814 100644 --- a/test/e2e/atlas/data_federation_db_test.go +++ b/test/e2e/atlas/data_federation_db_test.go @@ -24,7 +24,7 @@ import ( "testing" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/data_federation_private_endpoint_test.go b/test/e2e/atlas/data_federation_private_endpoint_test.go index bb933d89bc..1210bf7a84 100644 --- a/test/e2e/atlas/data_federation_private_endpoint_test.go +++ b/test/e2e/atlas/data_federation_private_endpoint_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/data_federation_query_limit_test.go b/test/e2e/atlas/data_federation_query_limit_test.go index 9bdc2c5af6..a40cec897c 100644 --- a/test/e2e/atlas/data_federation_query_limit_test.go +++ b/test/e2e/atlas/data_federation_query_limit_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/data_lake_pipelines_test.go b/test/e2e/atlas/data_lake_pipelines_test.go index 70b02dd977..13ce751dcd 100644 --- a/test/e2e/atlas/data_lake_pipelines_test.go +++ b/test/e2e/atlas/data_lake_pipelines_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/dbusers_certs_test.go b/test/e2e/atlas/dbusers_certs_test.go index 3e80a6cb6e..abbad4d848 100644 --- a/test/e2e/atlas/dbusers_certs_test.go +++ b/test/e2e/atlas/dbusers_certs_test.go @@ -22,8 +22,8 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/dbusers" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/dbusers" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/dbusers_test.go b/test/e2e/atlas/dbusers_test.go index e98ca4d685..1e5de20d20 100644 --- a/test/e2e/atlas/dbusers_test.go +++ b/test/e2e/atlas/dbusers_test.go @@ -27,7 +27,7 @@ import ( "testing" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/decryption_aws_test.go b/test/e2e/atlas/decryption_aws_test.go index 59b44dbb16..7f276c8da2 100644 --- a/test/e2e/atlas/decryption_aws_test.go +++ b/test/e2e/atlas/decryption_aws_test.go @@ -22,8 +22,8 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e/decryption" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e/decryption" "github.com/stretchr/testify/require" ) diff --git a/test/e2e/atlas/decryption_azure_test.go b/test/e2e/atlas/decryption_azure_test.go index f295c68ecb..cb67c3abaa 100644 --- a/test/e2e/atlas/decryption_azure_test.go +++ b/test/e2e/atlas/decryption_azure_test.go @@ -22,8 +22,8 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e/decryption" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e/decryption" "github.com/stretchr/testify/require" ) diff --git a/test/e2e/atlas/decryption_gcp_test.go b/test/e2e/atlas/decryption_gcp_test.go index d766ab639c..81db09ee93 100644 --- a/test/e2e/atlas/decryption_gcp_test.go +++ b/test/e2e/atlas/decryption_gcp_test.go @@ -24,8 +24,8 @@ import ( "path" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e/decryption" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e/decryption" "github.com/stretchr/testify/require" ) diff --git a/test/e2e/atlas/decryption_localkey_test.go b/test/e2e/atlas/decryption_localkey_test.go index a394c96fbb..517b25b4d6 100644 --- a/test/e2e/atlas/decryption_localkey_test.go +++ b/test/e2e/atlas/decryption_localkey_test.go @@ -22,8 +22,8 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e/decryption" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e/decryption" "github.com/stretchr/testify/require" ) diff --git a/test/e2e/atlas/deployments_atlas_test.go b/test/e2e/atlas/deployments_atlas_test.go index e3478eb475..2f21755faf 100644 --- a/test/e2e/atlas/deployments_atlas_test.go +++ b/test/e2e/atlas/deployments_atlas_test.go @@ -24,7 +24,7 @@ import ( "strings" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.mongodb.org/mongo-driver/mongo" diff --git a/test/e2e/atlas/deployments_local_auth_test.go b/test/e2e/atlas/deployments_local_auth_test.go index b713f2a779..9c554d5632 100644 --- a/test/e2e/atlas/deployments_local_auth_test.go +++ b/test/e2e/atlas/deployments_local_auth_test.go @@ -24,7 +24,7 @@ import ( "strings" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.mongodb.org/mongo-driver/bson" diff --git a/test/e2e/atlas/deployments_local_noauth_test.go b/test/e2e/atlas/deployments_local_noauth_test.go index 622fd7f7d6..1c795ad563 100644 --- a/test/e2e/atlas/deployments_local_noauth_test.go +++ b/test/e2e/atlas/deployments_local_noauth_test.go @@ -25,7 +25,7 @@ import ( "strings" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.mongodb.org/mongo-driver/bson" diff --git a/test/e2e/atlas/events_test.go b/test/e2e/atlas/events_test.go index ebf67a77a2..016ec2ff2e 100644 --- a/test/e2e/atlas/events_test.go +++ b/test/e2e/atlas/events_test.go @@ -22,7 +22,7 @@ import ( "testing" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/helper_test.go b/test/e2e/atlas/helper_test.go index ef23bc8083..8adfaf68c9 100644 --- a/test/e2e/atlas/helper_test.go +++ b/test/e2e/atlas/helper_test.go @@ -28,7 +28,7 @@ import ( "testing" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/integrations_test.go b/test/e2e/atlas/integrations_test.go index 26727b3634..42cd932d07 100644 --- a/test/e2e/atlas/integrations_test.go +++ b/test/e2e/atlas/integrations_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/kubernetes_config_apply_test.go b/test/e2e/atlas/kubernetes_config_apply_test.go index 0bb57265c3..8c20776f92 100644 --- a/test/e2e/atlas/kubernetes_config_apply_test.go +++ b/test/e2e/atlas/kubernetes_config_apply_test.go @@ -22,9 +22,9 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" akov2common "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/common" "github.com/stretchr/testify/assert" diff --git a/test/e2e/atlas/kubernetes_config_generate_test.go b/test/e2e/atlas/kubernetes_config_generate_test.go index 2e124c9975..fcb7eab438 100644 --- a/test/e2e/atlas/kubernetes_config_generate_test.go +++ b/test/e2e/atlas/kubernetes_config_generate_test.go @@ -29,10 +29,10 @@ import ( "strings" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/resources" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" akov2common "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/common" akov2project "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1/project" diff --git a/test/e2e/atlas/kubernetes_operator_install_test.go b/test/e2e/atlas/kubernetes_operator_install_test.go index 8c86fe6fa1..c2928f308e 100644 --- a/test/e2e/atlas/kubernetes_operator_install_test.go +++ b/test/e2e/atlas/kubernetes_operator_install_test.go @@ -24,8 +24,8 @@ import ( "testing" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/kubernetes/operator/features" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/test/e2e/atlas/ldap_test.go b/test/e2e/atlas/ldap_test.go index 24ca1b9ffb..982227f9a3 100644 --- a/test/e2e/atlas/ldap_test.go +++ b/test/e2e/atlas/ldap_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/live_migrations_test.go b/test/e2e/atlas/live_migrations_test.go index f39af02538..48799ff6aa 100644 --- a/test/e2e/atlas/live_migrations_test.go +++ b/test/e2e/atlas/live_migrations_test.go @@ -20,7 +20,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/require" ) diff --git a/test/e2e/atlas/logs_test.go b/test/e2e/atlas/logs_test.go index 77b30e1f6b..dcbec65b52 100644 --- a/test/e2e/atlas/logs_test.go +++ b/test/e2e/atlas/logs_test.go @@ -21,7 +21,7 @@ import ( "strings" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/require" ) diff --git a/test/e2e/atlas/maintenance_test.go b/test/e2e/atlas/maintenance_test.go index ca893aac33..b539ea908e 100644 --- a/test/e2e/atlas/maintenance_test.go +++ b/test/e2e/atlas/maintenance_test.go @@ -21,7 +21,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/metrics_test.go b/test/e2e/atlas/metrics_test.go index 6d90eed3a0..5e29a0e98d 100644 --- a/test/e2e/atlas/metrics_test.go +++ b/test/e2e/atlas/metrics_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/online_archives_test.go b/test/e2e/atlas/online_archives_test.go index 90532d4c5c..78892e47da 100644 --- a/test/e2e/atlas/online_archives_test.go +++ b/test/e2e/atlas/online_archives_test.go @@ -24,7 +24,7 @@ import ( "strings" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/operator_helper_test.go b/test/e2e/atlas/operator_helper_test.go index e5d77f4207..c33b86a899 100644 --- a/test/e2e/atlas/operator_helper_test.go +++ b/test/e2e/atlas/operator_helper_test.go @@ -22,7 +22,7 @@ import ( "testing" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/pointer" akov2 "github.com/mongodb/mongodb-atlas-kubernetes/v2/pkg/api/v1" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" diff --git a/test/e2e/atlas/performance_advisor_test.go b/test/e2e/atlas/performance_advisor_test.go index 58e563d561..3361025465 100644 --- a/test/e2e/atlas/performance_advisor_test.go +++ b/test/e2e/atlas/performance_advisor_test.go @@ -20,7 +20,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/require" ) diff --git a/test/e2e/atlas/private_endpoint_test.go b/test/e2e/atlas/private_endpoint_test.go index 910117dff3..3984426ab7 100644 --- a/test/e2e/atlas/private_endpoint_test.go +++ b/test/e2e/atlas/private_endpoint_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/processes_test.go b/test/e2e/atlas/processes_test.go index 222a213fbb..fd69a10561 100644 --- a/test/e2e/atlas/processes_test.go +++ b/test/e2e/atlas/processes_test.go @@ -21,7 +21,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/profile_test.go b/test/e2e/atlas/profile_test.go index 0e6f22525e..3e01a1612c 100644 --- a/test/e2e/atlas/profile_test.go +++ b/test/e2e/atlas/profile_test.go @@ -20,7 +20,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/require" ) diff --git a/test/e2e/atlas/project_settings_test.go b/test/e2e/atlas/project_settings_test.go index 1d2374bc9d..684d4681b3 100644 --- a/test/e2e/atlas/project_settings_test.go +++ b/test/e2e/atlas/project_settings_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/search_nodes_test.go b/test/e2e/atlas/search_nodes_test.go index 53f2601423..ad6c72cb2c 100644 --- a/test/e2e/atlas/search_nodes_test.go +++ b/test/e2e/atlas/search_nodes_test.go @@ -25,7 +25,7 @@ import ( "strings" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/search_test.go b/test/e2e/atlas/search_test.go index ebf8bec644..1b9a86c02b 100644 --- a/test/e2e/atlas/search_test.go +++ b/test/e2e/atlas/search_test.go @@ -24,7 +24,7 @@ import ( "testing" "text/template" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/serverless_test.go b/test/e2e/atlas/serverless_test.go index 06fc5cb476..e1d3fb3fed 100644 --- a/test/e2e/atlas/serverless_test.go +++ b/test/e2e/atlas/serverless_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/setup_failure_test.go b/test/e2e/atlas/setup_failure_test.go index 599ab351b7..71fcc8d325 100644 --- a/test/e2e/atlas/setup_failure_test.go +++ b/test/e2e/atlas/setup_failure_test.go @@ -21,7 +21,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/test/e2e/atlas/setup_force_test.go b/test/e2e/atlas/setup_force_test.go index 266e957f25..1760a9d6b0 100644 --- a/test/e2e/atlas/setup_force_test.go +++ b/test/e2e/atlas/setup_force_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/atlas/streams_test.go b/test/e2e/atlas/streams_test.go index d0b9d77d90..9622cef698 100644 --- a/test/e2e/atlas/streams_test.go +++ b/test/e2e/atlas/streams_test.go @@ -24,7 +24,7 @@ import ( "testing" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/brew/brew_test.go b/test/e2e/brew/brew_test.go index 944f37d779..9b220254e3 100644 --- a/test/e2e/brew/brew_test.go +++ b/test/e2e/brew/brew_test.go @@ -22,7 +22,7 @@ import ( "strings" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" ) const ( diff --git a/test/e2e/config/autocomplete_test.go b/test/e2e/config/autocomplete_test.go index abcd4e9444..8ae0ebc01b 100644 --- a/test/e2e/config/autocomplete_test.go +++ b/test/e2e/config/autocomplete_test.go @@ -20,7 +20,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" ) const completionEntity = "completion" diff --git a/test/e2e/config/config_test.go b/test/e2e/config/config_test.go index ac6d5c8940..4f81fb569a 100644 --- a/test/e2e/config/config_test.go +++ b/test/e2e/config/config_test.go @@ -25,8 +25,8 @@ import ( "github.com/Netflix/go-expect" pseudotty "github.com/creack/pty" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/hinshun/vt10x" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" ) const ( diff --git a/test/e2e/iam/atlas_org_api_key_access_list_test.go b/test/e2e/iam/atlas_org_api_key_access_list_test.go index d18190255b..0659e420f5 100644 --- a/test/e2e/iam/atlas_org_api_key_access_list_test.go +++ b/test/e2e/iam/atlas_org_api_key_access_list_test.go @@ -23,7 +23,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/iam/atlas_org_api_keys_test.go b/test/e2e/iam/atlas_org_api_keys_test.go index 5e32f0cfd2..810de330bc 100644 --- a/test/e2e/iam/atlas_org_api_keys_test.go +++ b/test/e2e/iam/atlas_org_api_keys_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/iam/atlas_org_invitations_test.go b/test/e2e/iam/atlas_org_invitations_test.go index 14fc95e3ba..58ed212b1a 100644 --- a/test/e2e/iam/atlas_org_invitations_test.go +++ b/test/e2e/iam/atlas_org_invitations_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/iam/atlas_orgs_test.go b/test/e2e/iam/atlas_orgs_test.go index 1f46362dce..975d7476f1 100644 --- a/test/e2e/iam/atlas_orgs_test.go +++ b/test/e2e/iam/atlas_orgs_test.go @@ -23,7 +23,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/iam/atlas_project_api_keys_test.go b/test/e2e/iam/atlas_project_api_keys_test.go index 7549d98a8b..3f499d348c 100644 --- a/test/e2e/iam/atlas_project_api_keys_test.go +++ b/test/e2e/iam/atlas_project_api_keys_test.go @@ -23,7 +23,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/iam/atlas_project_invitations_test.go b/test/e2e/iam/atlas_project_invitations_test.go index a97a328492..4466c7b329 100644 --- a/test/e2e/iam/atlas_project_invitations_test.go +++ b/test/e2e/iam/atlas_project_invitations_test.go @@ -22,7 +22,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/iam/atlas_project_teams_test.go b/test/e2e/iam/atlas_project_teams_test.go index d0a2f3ecaa..04aae14874 100644 --- a/test/e2e/iam/atlas_project_teams_test.go +++ b/test/e2e/iam/atlas_project_teams_test.go @@ -23,7 +23,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/iam/atlas_projects_test.go b/test/e2e/iam/atlas_projects_test.go index c1663edea9..2d43d331d1 100644 --- a/test/e2e/iam/atlas_projects_test.go +++ b/test/e2e/iam/atlas_projects_test.go @@ -23,7 +23,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/require" "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/test/e2e/iam/atlas_team_users_test.go b/test/e2e/iam/atlas_team_users_test.go index ab53ff96cf..9e71a9d7e0 100644 --- a/test/e2e/iam/atlas_team_users_test.go +++ b/test/e2e/iam/atlas_team_users_test.go @@ -23,7 +23,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/iam/atlas_teams_test.go b/test/e2e/iam/atlas_teams_test.go index 12d96dc282..d1e030ca4e 100644 --- a/test/e2e/iam/atlas_teams_test.go +++ b/test/e2e/iam/atlas_teams_test.go @@ -23,7 +23,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/iam/atlas_users_test.go b/test/e2e/iam/atlas_users_test.go index 4cdb7c926e..74447d91c9 100644 --- a/test/e2e/iam/atlas_users_test.go +++ b/test/e2e/iam/atlas_users_test.go @@ -23,7 +23,7 @@ import ( "os/exec" "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" diff --git a/test/e2e/iam/helper_test.go b/test/e2e/iam/helper_test.go index 330e8b1b76..3869d0e653 100644 --- a/test/e2e/iam/helper_test.go +++ b/test/e2e/iam/helper_test.go @@ -23,7 +23,7 @@ import ( "os/exec" "strconv" - "github.com/mongodb/mongodb-atlas-cli/atlascli/test/e2e" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/test/e2e" atlasv2 "go.mongodb.org/atlas-sdk/v20231115008/admin" ) diff --git a/tools/cli-generator/templates/create.gotmpl b/tools/cli-generator/templates/create.gotmpl index c5c57e7877..dd88e71ab2 100644 --- a/tools/cli-generator/templates/create.gotmpl +++ b/tools/cli-generator/templates/create.gotmpl @@ -20,8 +20,8 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/internal/cli" - store "github.com/mongodb/mongodb-atlas-cli/internal/store/atlas" + "github.com/fmenezes/mongodb-atlas-cli/internal/cli" + store "github.com/fmenezes/mongodb-atlas-cli/internal/store/atlas" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20230201007/admin" ) diff --git a/tools/cli-generator/templates/create_test.gotmpl b/tools/cli-generator/templates/create_test.gotmpl index e2075cf295..abca674c87 100644 --- a/tools/cli-generator/templates/create_test.gotmpl +++ b/tools/cli-generator/templates/create_test.gotmpl @@ -22,9 +22,9 @@ import ( "testing" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/internal/flag" - mocks "github.com/mongodb/mongodb-atlas-cli/internal/mocks/atlas" - "github.com/mongodb/mongodb-atlas-cli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/internal/flag" + mocks "github.com/fmenezes/mongodb-atlas-cli/internal/mocks/atlas" + "github.com/fmenezes/mongodb-atlas-cli/internal/test" "go.mongodb.org/atlas-sdk/v20230201007/admin" ) diff --git a/tools/cli-generator/templates/delete.gotmpl b/tools/cli-generator/templates/delete.gotmpl index 68065aaddf..a5f0a8a4ba 100644 --- a/tools/cli-generator/templates/delete.gotmpl +++ b/tools/cli-generator/templates/delete.gotmpl @@ -20,8 +20,8 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/internal/cli" - store "github.com/mongodb/mongodb-atlas-cli/internal/store/atlas" + "github.com/fmenezes/mongodb-atlas-cli/internal/cli" + store "github.com/fmenezes/mongodb-atlas-cli/internal/store/atlas" "github.com/spf13/cobra" ) diff --git a/tools/cli-generator/templates/delete_test.gotmpl b/tools/cli-generator/templates/delete_test.gotmpl index 5af346b84a..6312a77f1b 100644 --- a/tools/cli-generator/templates/delete_test.gotmpl +++ b/tools/cli-generator/templates/delete_test.gotmpl @@ -24,11 +24,11 @@ import ( "time" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/internal/flag" - mocks "github.com/mongodb/mongodb-atlas-cli/internal/mocks/atlas" - "github.com/mongodb/mongodb-atlas-cli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/internal/flag" + mocks "github.com/fmenezes/mongodb-atlas-cli/internal/mocks/atlas" + "github.com/fmenezes/mongodb-atlas-cli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/internal/test" "github.com/stretchr/testify/assert" "go.mongodb.org/atlas-sdk/v20230201007/admin" ) diff --git a/tools/cli-generator/templates/describe.gotmpl b/tools/cli-generator/templates/describe.gotmpl index 685661ddad..5ff1ec9a43 100644 --- a/tools/cli-generator/templates/describe.gotmpl +++ b/tools/cli-generator/templates/describe.gotmpl @@ -20,8 +20,8 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/internal/cli" - store "github.com/mongodb/mongodb-atlas-cli/internal/store/atlas" + "github.com/fmenezes/mongodb-atlas-cli/internal/cli" + store "github.com/fmenezes/mongodb-atlas-cli/internal/store/atlas" "github.com/spf13/cobra" ) diff --git a/tools/cli-generator/templates/describe_test.gotmpl b/tools/cli-generator/templates/describe_test.gotmpl index af28fd6b1c..53ee6a9636 100644 --- a/tools/cli-generator/templates/describe_test.gotmpl +++ b/tools/cli-generator/templates/describe_test.gotmpl @@ -24,13 +24,13 @@ import ( "time" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/internal/flag" - mocks "github.com/mongodb/mongodb-atlas-cli/internal/mocks/atlas" - "github.com/mongodb/mongodb-atlas-cli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/internal/flag" + mocks "github.com/fmenezes/mongodb-atlas-cli/internal/mocks/atlas" + "github.com/fmenezes/mongodb-atlas-cli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/internal/test" "github.com/stretchr/testify/assert" - "github.com/mongodb/mongodb-atlas-cli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/internal/test" "go.mongodb.org/atlas-sdk/v20230201007/admin" ) diff --git a/tools/cli-generator/templates/list.gotmpl b/tools/cli-generator/templates/list.gotmpl index 772fd92a6e..36490c3d61 100644 --- a/tools/cli-generator/templates/list.gotmpl +++ b/tools/cli-generator/templates/list.gotmpl @@ -20,8 +20,8 @@ import ( "context" "fmt" - store "github.com/mongodb/mongodb-atlas-cli/internal/store/atlas" - "github.com/mongodb/mongodb-atlas-cli/internal/cli" + store "github.com/fmenezes/mongodb-atlas-cli/internal/store/atlas" + "github.com/fmenezes/mongodb-atlas-cli/internal/cli" "github.com/spf13/cobra" ) diff --git a/tools/cli-generator/templates/list_test.gotmpl b/tools/cli-generator/templates/list_test.gotmpl index d746353bde..367eb48e90 100644 --- a/tools/cli-generator/templates/list_test.gotmpl +++ b/tools/cli-generator/templates/list_test.gotmpl @@ -24,13 +24,13 @@ import ( "time" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/internal/cli" - "github.com/mongodb/mongodb-atlas-cli/internal/flag" - mocks "github.com/mongodb/mongodb-atlas-cli/internal/mocks/atlas" - "github.com/mongodb/mongodb-atlas-cli/internal/pointer" - "github.com/mongodb/mongodb-atlas-cli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/internal/flag" + mocks "github.com/fmenezes/mongodb-atlas-cli/internal/mocks/atlas" + "github.com/fmenezes/mongodb-atlas-cli/internal/pointer" + "github.com/fmenezes/mongodb-atlas-cli/internal/test" "github.com/stretchr/testify/assert" - "github.com/mongodb/mongodb-atlas-cli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/internal/test" "go.mongodb.org/atlas-sdk/v20230201007/admin" ) diff --git a/tools/cli-generator/templates/parent.gotmpl b/tools/cli-generator/templates/parent.gotmpl index 7fe05e825b..209f7b84e8 100644 --- a/tools/cli-generator/templates/parent.gotmpl +++ b/tools/cli-generator/templates/parent.gotmpl @@ -17,7 +17,7 @@ package {{ .PackageName }} import ( - "github.com/mongodb/mongodb-atlas-cli/internal/cli" + "github.com/fmenezes/mongodb-atlas-cli/internal/cli" "github.com/spf13/cobra" ) diff --git a/tools/cli-generator/templates/parent_test.gotmpl b/tools/cli-generator/templates/parent_test.gotmpl index 7b56fc35ae..b9caaa8180 100644 --- a/tools/cli-generator/templates/parent_test.gotmpl +++ b/tools/cli-generator/templates/parent_test.gotmpl @@ -21,7 +21,7 @@ package {{ .PackageName }} import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/tools/cli-generator/templates/store.gotmpl b/tools/cli-generator/templates/store.gotmpl index cd537ceb0c..a1de8a94f7 100644 --- a/tools/cli-generator/templates/store.gotmpl +++ b/tools/cli-generator/templates/store.gotmpl @@ -20,7 +20,7 @@ import ( "go.mongodb.org/atlas-sdk/v20230201007/admin" ) -//go:generate mockgen -destination=../../mocks/atlas/mock_{{ .BaseFileName }}.go -package=atlas github.com/mongodb/mongodb-atlas-cli/internal/store/atlas {{ .InterfaceNames }} +//go:generate mockgen -destination=../../mocks/atlas/mock_{{ .BaseFileName }}.go -package=atlas github.com/fmenezes/mongodb-atlas-cli/internal/store/atlas {{ .InterfaceNames }} {{ if .Lister }} type {{ .Lister.Name }} interface { diff --git a/tools/cli-generator/templates/update.gotmpl b/tools/cli-generator/templates/update.gotmpl index 6c3dbd0cae..f1b21c5cbf 100644 --- a/tools/cli-generator/templates/update.gotmpl +++ b/tools/cli-generator/templates/update.gotmpl @@ -20,8 +20,8 @@ import ( "context" "fmt" - "github.com/mongodb/mongodb-atlas-cli/internal/cli" - store "github.com/mongodb/mongodb-atlas-cli/internal/store/atlas" + "github.com/fmenezes/mongodb-atlas-cli/internal/cli" + store "github.com/fmenezes/mongodb-atlas-cli/internal/store/atlas" "github.com/spf13/cobra" "go.mongodb.org/atlas-sdk/v20230201007/admin" ) diff --git a/tools/cli-generator/templates/update_test.gotmpl b/tools/cli-generator/templates/update_test.gotmpl index 4ccf034e51..b5fd2ae224 100644 --- a/tools/cli-generator/templates/update_test.gotmpl +++ b/tools/cli-generator/templates/update_test.gotmpl @@ -22,9 +22,9 @@ import ( "testing" "github.com/golang/mock/gomock" - "github.com/mongodb/mongodb-atlas-cli/internal/flag" - mocks "github.com/mongodb/mongodb-atlas-cli/internal/mocks/atlas" - "github.com/mongodb/mongodb-atlas-cli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/internal/flag" + mocks "github.com/fmenezes/mongodb-atlas-cli/internal/mocks/atlas" + "github.com/fmenezes/mongodb-atlas-cli/internal/test" "go.mongodb.org/atlas-sdk/v20230201007/admin" ) diff --git a/tools/docs/main.go b/tools/docs/main.go index 6779617875..ed513e93f9 100644 --- a/tools/docs/main.go +++ b/tools/docs/main.go @@ -18,8 +18,8 @@ import ( "log" "os" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/cli/root" "github.com/mongodb-labs/cobra2snooty" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli/root" "github.com/spf13/cobra" ) diff --git a/tools/genevergreen/main.go b/tools/genevergreen/main.go index 1983aad748..cd0ecfef93 100644 --- a/tools/genevergreen/main.go +++ b/tools/genevergreen/main.go @@ -22,7 +22,7 @@ import ( "log" "github.com/evergreen-ci/shrub" - "github.com/mongodb/mongodb-atlas-cli/atlascli/tools/genevergreen/generate" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/tools/genevergreen/generate" ) var ( diff --git a/tools/release/main.go b/tools/release/main.go index 2853457691..d5e92ddd42 100644 --- a/tools/release/main.go +++ b/tools/release/main.go @@ -21,7 +21,7 @@ import ( "strings" "time" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" "github.com/spf13/cobra" ) @@ -111,7 +111,7 @@ func generateFile(name, version string) error { ReleaseDate: time.Now().UTC(), Version: version, ManualLink: manualLink, - PreviousReleasesLink: "https://github.com/mongodb/mongodb-atlas-cli/atlascli/releases", + PreviousReleasesLink: "https://github.com/fmenezes/mongodb-atlas-cli/atlascli/releases", ReleaseNotesLink: releaseNotesLink, TutorialLink: tutorialLink, Platform: []Platform{ diff --git a/tools/release/main_test.go b/tools/release/main_test.go index 6d8c8591be..e835dfdb96 100644 --- a/tools/release/main_test.go +++ b/tools/release/main_test.go @@ -19,8 +19,8 @@ package main import ( "testing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/flag" - "github.com/mongodb/mongodb-atlas-cli/atlascli/internal/test" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/flag" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/internal/test" ) func TestBuilder(t *testing.T) { diff --git a/tools/templates-checker/main.go b/tools/templates-checker/main.go index a574a69e43..43dc893688 100644 --- a/tools/templates-checker/main.go +++ b/tools/templates-checker/main.go @@ -18,8 +18,8 @@ import ( "fmt" "log" - "github.com/mongodb/mongodb-atlas-cli/atlascli/tools/templates-checker/astparsing" - "github.com/mongodb/mongodb-atlas-cli/atlascli/tools/templates-checker/templateparsing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/tools/templates-checker/astparsing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/tools/templates-checker/templateparsing" ) func main() { diff --git a/tools/templates-checker/templateparsing/validation.go b/tools/templates-checker/templateparsing/validation.go index 4f5f3ce7cd..673296d0df 100644 --- a/tools/templates-checker/templateparsing/validation.go +++ b/tools/templates-checker/templateparsing/validation.go @@ -21,7 +21,7 @@ import ( "strings" "unicode" - "github.com/mongodb/mongodb-atlas-cli/atlascli/tools/templates-checker/astparsing" + "github.com/fmenezes/mongodb-atlas-cli/atlascli/tools/templates-checker/astparsing" "golang.org/x/tools/go/packages" ) From 632d8b610a5e06dfb34d8c619417a2a913bf2076 Mon Sep 17 00:00:00 2001 From: Filipe C Menezes Date: Fri, 5 Apr 2024 19:26:39 +0100 Subject: [PATCH 3/5] fix release --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c0ca38ec33..6989038acf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,10 @@ jobs: uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - - run: curl -sfL https://goreleaser.com/static/run | DISTRIBUTION=pro bash + - run: | + echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list + sudo apt update + sudo apt install goreleaser-pro - run: ./build/package/generate-notices.sh - run: | VERSION_GIT="$(git tag --list "atlascli/v*" --sort=taggerdate | tail -1 | cut -d "v" -f 2)" From 0cf85ecd36abeb255322ab21879666b59cd092f8 Mon Sep 17 00:00:00 2001 From: Filipe C Menezes Date: Fri, 5 Apr 2024 19:32:45 +0100 Subject: [PATCH 4/5] do not sign --- build/package/linux_notarize.sh | 28 +++++++++--------- build/package/mac_notarize.sh | 24 ++++++++-------- build/package/windows_notarize.sh | 48 +++++++++++++++---------------- 3 files changed, 50 insertions(+), 50 deletions(-) diff --git a/build/package/linux_notarize.sh b/build/package/linux_notarize.sh index 1ba245fd2d..0f97ae1c3d 100755 --- a/build/package/linux_notarize.sh +++ b/build/package/linux_notarize.sh @@ -20,22 +20,22 @@ set -Eeou pipefail # This depends on binaries being generated in a goreleaser manner and gon being set up. # goreleaser should already take care of calling this script as a part of a custom publisher. -echo "GRS_CONFIG_USER1_USERNAME=${GRS_USERNAME}" >> "signing-envfile" -echo "GRS_CONFIG_USER1_PASSWORD=${GRS_PASSWORD}" >> "signing-envfile" +# echo "GRS_CONFIG_USER1_USERNAME=${GRS_USERNAME}" >> "signing-envfile" +# echo "GRS_CONFIG_USER1_PASSWORD=${GRS_PASSWORD}" >> "signing-envfile" -if [[ -f "${artifact:?}" ]]; then - echo "${ARTIFACTORY_PASSWORD}" | podman login --password-stdin --username "${ARTIFACTORY_USERNAME}" artifactory.corp.mongodb.com +# if [[ -f "${artifact:?}" ]]; then +# echo "${ARTIFACTORY_PASSWORD}" | podman login --password-stdin --username "${ARTIFACTORY_USERNAME}" artifactory.corp.mongodb.com - echo "notarizing Linux binary ${artifact}" +# echo "notarizing Linux binary ${artifact}" - podman run \ - --env-file=signing-envfile \ - --rm \ - -v "$(pwd)":"$(pwd)" \ - -w "$(pwd)" \ - artifactory.corp.mongodb.com/release-tools-container-registry-local/garasign-gpg \ - /bin/bash -c "gpgloader && gpg --yes -v --armor -o ${artifact}.sig --detach-sign ${artifact}" -fi +# podman run \ +# --env-file=signing-envfile \ +# --rm \ +# -v "$(pwd)":"$(pwd)" \ +# -w "$(pwd)" \ +# artifactory.corp.mongodb.com/release-tools-container-registry-local/garasign-gpg \ +# /bin/bash -c "gpgloader && gpg --yes -v --armor -o ${artifact}.sig --detach-sign ${artifact}" +# fi -echo "Signing of ${artifact} completed." +# echo "Signing of ${artifact} completed." diff --git a/build/package/mac_notarize.sh b/build/package/mac_notarize.sh index 6340860359..13f6a690fe 100755 --- a/build/package/mac_notarize.sh +++ b/build/package/mac_notarize.sh @@ -20,16 +20,16 @@ set -Eeou pipefail # This depends on binaries being generated in a goreleaser manner and gon being set up. # goreleaser should already take care of calling this script as a hook. -if [[ -f "./dist/macos_darwin_amd64_v1/bin/atlas" && -f "./dist/macos_darwin_arm64/bin/atlas" && ! -f "./dist/mongodb-atlas-cli_macos_signed.zip" ]]; then - echo "notarizing macOs binaries" - zip -r ./dist/mongodb-atlas-cli_amd64_arm64_bin.zip ./dist/macos_darwin_amd64_v1/bin/atlas ./dist/macos_darwin_arm64/bin/atlas # The Notarization Service takes an archive as input - ./linux_amd64/macnotary \ - -f ./dist/mongodb-atlas-cli_amd64_arm64_bin.zip \ - -m notarizeAndSign -u https://dev.macos-notary.build.10gen.cc/api \ - -b com.mongodb.mongodb-atlas-cli \ - -o ./dist/mongodb-atlas-cli_macos_signed.zip +# if [[ -f "./dist/macos_darwin_amd64_v1/bin/atlas" && -f "./dist/macos_darwin_arm64/bin/atlas" && ! -f "./dist/mongodb-atlas-cli_macos_signed.zip" ]]; then +# echo "notarizing macOs binaries" +# zip -r ./dist/mongodb-atlas-cli_amd64_arm64_bin.zip ./dist/macos_darwin_amd64_v1/bin/atlas ./dist/macos_darwin_arm64/bin/atlas # The Notarization Service takes an archive as input +# ./linux_amd64/macnotary \ +# -f ./dist/mongodb-atlas-cli_amd64_arm64_bin.zip \ +# -m notarizeAndSign -u https://dev.macos-notary.build.10gen.cc/api \ +# -b com.mongodb.mongodb-atlas-cli \ +# -o ./dist/mongodb-atlas-cli_macos_signed.zip - echo "replacing original files" - unzip -oj ./dist/mongodb-atlas-cli_macos_signed.zip dist/macos_darwin_amd64_v1/bin/atlas -d ./dist/macos_darwin_amd64_v1/bin/ - unzip -oj ./dist/mongodb-atlas-cli_macos_signed.zip dist/macos_darwin_arm64/bin/atlas -d ./dist/macos_darwin_arm64/bin/ -fi +# echo "replacing original files" +# unzip -oj ./dist/mongodb-atlas-cli_macos_signed.zip dist/macos_darwin_amd64_v1/bin/atlas -d ./dist/macos_darwin_amd64_v1/bin/ +# unzip -oj ./dist/mongodb-atlas-cli_macos_signed.zip dist/macos_darwin_arm64/bin/atlas -d ./dist/macos_darwin_arm64/bin/ +# fi diff --git a/build/package/windows_notarize.sh b/build/package/windows_notarize.sh index f71ec3fb0f..96095d0ebe 100755 --- a/build/package/windows_notarize.sh +++ b/build/package/windows_notarize.sh @@ -16,32 +16,32 @@ set -Eeou pipefail -EXE_FILE="bin/atlas.exe" -MSI_FILE="bin/mongodb-atlas-cli_${VERSION}_windows_x86_64.msi" +# EXE_FILE="bin/atlas.exe" +# MSI_FILE="bin/mongodb-atlas-cli_${VERSION}_windows_x86_64.msi" -if [[ -f "$EXE_FILE" && -f "$MSI_FILE" ]]; then - echo "${ARTIFACTORY_PASSWORD}" | podman login --password-stdin --username "${ARTIFACTORY_USERNAME}" artifactory.corp.mongodb.com +# if [[ -f "$EXE_FILE" && -f "$MSI_FILE" ]]; then +# echo "${ARTIFACTORY_PASSWORD}" | podman login --password-stdin --username "${ARTIFACTORY_USERNAME}" artifactory.corp.mongodb.com - echo "GRS_CONFIG_USER1_USERNAME=${GRS_USERNAME}" > .env - echo "GRS_CONFIG_USER1_PASSWORD=${GRS_PASSWORD}" >> .env +# echo "GRS_CONFIG_USER1_USERNAME=${GRS_USERNAME}" > .env +# echo "GRS_CONFIG_USER1_PASSWORD=${GRS_PASSWORD}" >> .env - echo "signing $EXE_FILE" - podman run \ - --env-file=.env \ - --rm \ - -v "$(pwd):$(pwd)" \ - -w "$(pwd)" \ - artifactory.corp.mongodb.com/release-tools-container-registry-local/garasign-jsign \ - /bin/bash -c "jsign --tsaurl http://timestamp.digicert.com -a mongo-authenticode-2021 \"$EXE_FILE\"" +# echo "signing $EXE_FILE" +# podman run \ +# --env-file=.env \ +# --rm \ +# -v "$(pwd):$(pwd)" \ +# -w "$(pwd)" \ +# artifactory.corp.mongodb.com/release-tools-container-registry-local/garasign-jsign \ +# /bin/bash -c "jsign --tsaurl http://timestamp.digicert.com -a mongo-authenticode-2021 \"$EXE_FILE\"" - echo "signing $MSI_FILE" - podman run \ - --env-file=.env \ - --rm \ - -v "$(pwd):$(pwd)" \ - -w "$(pwd)" \ - artifactory.corp.mongodb.com/release-tools-container-registry-local/garasign-jsign \ - /bin/bash -c "jsign --tsaurl http://timestamp.digicert.com -a mongo-authenticode-2021 \"$MSI_FILE\"" +# echo "signing $MSI_FILE" +# podman run \ +# --env-file=.env \ +# --rm \ +# -v "$(pwd):$(pwd)" \ +# -w "$(pwd)" \ +# artifactory.corp.mongodb.com/release-tools-container-registry-local/garasign-jsign \ +# /bin/bash -c "jsign --tsaurl http://timestamp.digicert.com -a mongo-authenticode-2021 \"$MSI_FILE\"" - rm .env -fi +# rm .env +# fi From 70329f393e9c8d7f179ddd31fa6fc01ece9dfec2 Mon Sep 17 00:00:00 2001 From: Filipe C Menezes Date: Fri, 5 Apr 2024 19:41:16 +0100 Subject: [PATCH 5/5] add snapshot --- .github/workflows/snapshot.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/snapshot.yml diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml new file mode 100644 index 0000000000..ccda2f0681 --- /dev/null +++ b/.github/workflows/snapshot.yml @@ -0,0 +1,33 @@ +--- +name: Snapshot +on: + pull_request: + push: + branches: + - master +permissions: + contents: write +jobs: + snapshot: + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install Go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + - run: | + echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list + sudo apt update + sudo apt install goreleaser-pro + - run: ./build/package/generate-notices.sh + - run: | + VERSION_GIT="$(git tag --list "atlascli/v*" --sort=taggerdate | tail -1 | cut -d "v" -f 2)" + export VERSION_GIT + goreleaser --config "build/package/.goreleaser.yml" --rm-dist --release-notes "CHANGELOG.md" -p 1 --snapshot --debug