From 0e59cd819428704091fcfff17cee584a67de4c6b Mon Sep 17 00:00:00 2001 From: Kevin Rutten Date: Thu, 31 Oct 2024 11:51:52 -0700 Subject: [PATCH] Update repo from cloudfoundry-community/stratos to cloudfoundry/stratos --- .github/workflows/backend_tests.yml | 16 +++++----- .gitignore | 1 + README.md | 24 +++++++------- bin/package | 2 +- deploy/cloud-foundry/build.sh | 2 +- manifest.yml | 2 +- package-lock.json | 4 +-- package.json | 2 +- src/frontend/packages/devkit/src/backend.ts | 2 +- src/jetstream/api/go.mod | 2 +- src/jetstream/api/mock/mock_auth.go | 2 +- src/jetstream/api/structs.go | 2 +- src/jetstream/apikeys.go | 2 +- src/jetstream/apikeys_test.go | 8 ++--- src/jetstream/auth.go | 2 +- src/jetstream/auth_providers.go | 2 +- src/jetstream/auth_test.go | 12 +++---- src/jetstream/authcnsi.go | 6 ++-- src/jetstream/authlocal.go | 6 ++-- src/jetstream/authnone.go | 2 +- src/jetstream/authuaa.go | 4 +-- src/jetstream/cnsi.go | 6 ++-- src/jetstream/cnsi_test.go | 8 ++--- src/jetstream/custom_errors/custom_errors.go | 2 +- src/jetstream/datastore/datastore.go | 4 +-- src/jetstream/default_plugins.go | 10 +++--- src/jetstream/diagnostics.go | 4 +-- src/jetstream/factory/factory.go | 6 ++-- src/jetstream/go.mod | 32 +++++++++---------- src/jetstream/http_basic_requests.go | 2 +- src/jetstream/info.go | 2 +- src/jetstream/jwt.go | 2 +- src/jetstream/load_plugins.go | 4 +-- src/jetstream/localusers.go | 6 ++-- src/jetstream/localusers_test.go | 6 ++-- src/jetstream/main.go | 26 +++++++-------- src/jetstream/main_test.go | 4 +-- src/jetstream/middleware.go | 4 +-- src/jetstream/middleware_test.go | 12 +++---- src/jetstream/mock_server_test.go | 12 +++---- src/jetstream/noauth_requests.go | 2 +- src/jetstream/oauth_requests.go | 2 +- src/jetstream/oauth_requests_test.go | 4 +-- src/jetstream/oidc_requests.go | 2 +- src/jetstream/passthrough.go | 2 +- src/jetstream/passthrough_test.go | 4 +-- .../plugins/analysis/container/sonobuoy.go_ | 2 +- src/jetstream/plugins/analysis/list.go | 2 +- src/jetstream/plugins/analysis/main.go | 4 +-- src/jetstream/plugins/analysis/run.go | 2 +- src/jetstream/plugins/analysis/status.go | 2 +- .../analysis/store/analysis_store_db.go | 2 +- src/jetstream/plugins/autoscaler/main.go | 2 +- .../plugins/backup/backup_restore.go | 4 +-- src/jetstream/plugins/backup/main.go | 4 +-- .../plugins/cfapppush/connection_wrapper.go | 2 +- src/jetstream/plugins/cfapppush/deploy.go | 2 +- src/jetstream/plugins/cfapppush/go.mod | 6 ++-- src/jetstream/plugins/cfapppush/info.go | 2 +- src/jetstream/plugins/cfapppush/main.go | 2 +- src/jetstream/plugins/cfapppush/pushapp.go | 2 +- src/jetstream/plugins/cfappssh/app_ssh.go | 2 +- src/jetstream/plugins/cfappssh/main.go | 2 +- .../cloudfoundry/cf_websocket_streams.go | 2 +- src/jetstream/plugins/cloudfoundry/main.go | 2 +- .../plugins/cloudfoundryhosting/main.go | 2 +- src/jetstream/plugins/desktop/cloudfoundry.go | 2 +- src/jetstream/plugins/desktop/endpoints.go | 2 +- .../plugins/desktop/helm/endpoints.go | 2 +- src/jetstream/plugins/desktop/helm/main.go | 2 +- .../plugins/desktop/helm/repositories.go | 2 +- src/jetstream/plugins/desktop/helm/tokens.go | 2 +- .../plugins/desktop/kubernetes/auth.go | 4 +-- .../plugins/desktop/kubernetes/endpoints.go | 2 +- .../plugins/desktop/kubernetes/kubeconfig.go | 2 +- .../plugins/desktop/kubernetes/main.go | 2 +- .../plugins/desktop/kubernetes/tokens.go | 2 +- src/jetstream/plugins/desktop/main.go | 6 ++-- src/jetstream/plugins/desktop/tokens.go | 2 +- src/jetstream/plugins/kubernetes/api/api.go | 2 +- src/jetstream/plugins/kubernetes/api_proxy.go | 2 +- .../plugins/kubernetes/auth/awsiam.go | 2 +- .../plugins/kubernetes/auth/azure.go | 4 +-- .../plugins/kubernetes/auth/basic_auth.go | 2 +- src/jetstream/plugins/kubernetes/auth/cert.go | 2 +- src/jetstream/plugins/kubernetes/auth/gke.go | 2 +- src/jetstream/plugins/kubernetes/auth/go.mod | 10 +++--- .../plugins/kubernetes/auth/kubeconfig.go | 4 +-- src/jetstream/plugins/kubernetes/auth/oidc.go | 4 +-- .../plugins/kubernetes/auth/token.go | 2 +- .../plugins/kubernetes/auth/types.go | 2 +- .../plugins/kubernetes/auth_providers.go | 2 +- .../plugins/kubernetes/config/kube_config.go | 2 +- .../plugins/kubernetes/dashboard/common.go | 2 +- .../plugins/kubernetes/dashboard/configure.go | 2 +- .../plugins/kubernetes/dashboard/login.go | 2 +- .../plugins/kubernetes/dashboard/proxy.go | 2 +- .../plugins/kubernetes/dashboard/status.go | 2 +- .../plugins/kubernetes/endpoint_config.go | 2 +- .../plugins/kubernetes/get_release.go | 4 +-- src/jetstream/plugins/kubernetes/go.mod | 12 +++---- src/jetstream/plugins/kubernetes/helm/job.go | 2 +- .../plugins/kubernetes/helm/release.go | 2 +- .../plugins/kubernetes/install_release.go | 2 +- .../plugins/kubernetes/kube_dashboard.go | 4 +-- .../plugins/kubernetes/list_releases.go | 2 +- src/jetstream/plugins/kubernetes/main.go | 6 ++-- .../plugins/kubernetes/terminal/helpers.go | 4 +-- .../plugins/kubernetes/terminal/start.go | 2 +- .../plugins/kubernetes/terminal/terminal.go | 6 ++-- .../plugins/metrics/cloud_foundry.go | 2 +- src/jetstream/plugins/metrics/main.go | 4 +-- .../plugins/monocular/artifacthub.go | 2 +- src/jetstream/plugins/monocular/cache.go | 2 +- src/jetstream/plugins/monocular/chart_svc.go | 2 +- src/jetstream/plugins/monocular/endpoint.go | 2 +- src/jetstream/plugins/monocular/go.mod | 16 +++++----- src/jetstream/plugins/monocular/main.go | 4 +-- src/jetstream/plugins/monocular/repository.go | 2 +- .../plugins/monocular/store/chart_store_db.go | 2 +- src/jetstream/plugins/monocular/sync.go | 2 +- .../plugins/monocular/sync_worker.go | 2 +- .../plugins/userfavorites/favorites.go | 4 +-- src/jetstream/plugins/userfavorites/main.go | 4 +-- .../userfavoritesendpoints/main.go | 4 +-- .../userfavoritesstore/favorites-store-db.go | 2 +- src/jetstream/plugins/userinfo/local_user.go | 4 +-- src/jetstream/plugins/userinfo/main.go | 2 +- src/jetstream/plugins/userinfo/noauth_user.go | 2 +- src/jetstream/plugins/userinfo/uaa_user.go | 2 +- src/jetstream/plugins/userinvite/admin.go | 2 +- src/jetstream/plugins/userinvite/auth.go | 2 +- src/jetstream/plugins/userinvite/config.go | 2 +- src/jetstream/plugins/userinvite/email.go | 2 +- src/jetstream/plugins/userinvite/endpoint.go | 2 +- src/jetstream/plugins/userinvite/invite.go | 2 +- src/jetstream/plugins/userinvite/main.go | 2 +- src/jetstream/plugins/yamlgenerated/main.go | 2 +- src/jetstream/portal_config.go | 2 +- src/jetstream/portal_proxy.go | 4 +-- src/jetstream/repository/apikeys/apikeys.go | 2 +- .../repository/apikeys/mock/mock_apikeys.go | 2 +- .../repository/apikeys/psql_apikeys.go | 6 ++-- .../repository/apikeys/psql_apikeys_test.go | 2 +- src/jetstream/repository/cnsis/pgsql_cnsis.go | 6 ++-- .../repository/cnsis/pgsql_cnsis_test.go | 4 +-- .../console_config/console_config.go | 2 +- .../repository/console_config/env_lookup.go | 2 +- .../console_config/psql_console_config.go | 4 +-- .../goose-db-version/goose-db-version.go | 2 +- .../pgsql_goose_db_version.go | 4 +-- .../pgsql_goose_db_version_test.go | 4 +-- .../repository/localusers/localusers.go | 2 +- .../repository/localusers/psql_localusers.go | 4 +-- .../sessiondata/psql_sessiondata.go | 4 +-- .../repository/tokens/pgsql_tokens.go | 6 ++-- .../repository/tokens/pgsql_tokens_test.go | 2 +- src/jetstream/session.go | 4 +-- src/jetstream/session_test.go | 2 +- src/jetstream/setup_console.go | 10 +++--- src/jetstream/setup_console_test.go | 4 +-- src/jetstream/testutils/testhelpers.go | 8 ++--- src/jetstream/version_info.go | 4 +-- 163 files changed, 318 insertions(+), 315 deletions(-) diff --git a/.github/workflows/backend_tests.yml b/.github/workflows/backend_tests.yml index ab1507ad4..e0d7d9296 100644 --- a/.github/workflows/backend_tests.yml +++ b/.github/workflows/backend_tests.yml @@ -22,14 +22,14 @@ jobs: run: | echo 'package main // This file is auto-generated - DO NOT EDIT - import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/autoscaler" - import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/cloudfoundry" - import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/cfapppush" - import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/cfappssh" - import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/userinvite" - import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/analysis" - import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes" - import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/monocular"' > src/jetstream/extra_plugins.go + import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/autoscaler" + import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/cloudfoundry" + import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/cfapppush" + import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/cfappssh" + import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/userinvite" + import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/analysis" + import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes" + import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/monocular"' > src/jetstream/extra_plugins.go - name: Run tests run: build/bk-build.sh test diff --git a/.gitignore b/.gitignore index b9d310b77..432383849 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ /tmp /out-tsc /out +/jetstream # dependencies /node_modules diff --git a/README.md b/README.md index 6ada21968..df349a509 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,19 @@ # Stratos -  - + + -[![GitHub release](https://img.shields.io/github/release/cloudfoundry-community/stratos.svg)](https://github.com/cloudfoundry-community/stratos/releases/latest) -[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/cloudfoundry-community/stratos/blob/master/LICENSE) +[![GitHub release](https://img.shields.io/github/release/cloudfoundry-community/stratos.svg)](https://github.com/cloudfoundry/stratos/releases/latest) +[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/cloudfoundry/stratos/blob/master/LICENSE) [![slack.cloudfoundry.org](https://slack.cloudfoundry.org/badge.svg)](https://cloudfoundry.slack.com/messages/C80EP4Y57/) +(Please note: The official repository is at cloudfoundry/stratos and the cloudfoundry-community/stratos will track this but may be used for some testing purposes) + Stratos is an Open Source Web-based UI (Console) for managing Cloud Foundry. It allows users and administrators to both manage applications running in the Cloud Foundry cluster and perform cluster management tasks. ![Stratos Application view](website/static/images/screenshots/app-summary.png) -Please visit our new [documentation site](https://stratos.app/). There you can discover +Please visit our new [documentation site](https://stratos.app/). There you can discover (* This is currently being updated from the 4.4.0 docs) 1. Our [introduction](https://stratos.app/docs/), including quick start, contributing and troubleshooting guides. 1. How to [deploy](https://stratos.app/docs/deploy/overview) Stratos in a number of environments. @@ -33,11 +35,11 @@ Tested with Browserstack This feature helps in pre-building the -[Stratos](https://github.com/cloudfoundry-community/stratos) web application +[Stratos](https://github.com/cloudfoundry/stratos) web application so that it can be deployed faster in Cloud Foundry, or be run offline. You can find pre-built versions of Stratos UI in the -[releases](https://github.com/cloudfoundry-community/stratos/releases) +[releases](https://github.com/cloudfoundry/stratos/releases) of this repository. To run those `.zip` packages inside Cloud Foundry, unzip it, write a manifest, @@ -67,10 +69,10 @@ Note: `sgs` creates security groups the first time, upgrades do not use `sgs`. ## Packaging -Golang is required, and version 1.12 is recommended as this is the version used by the Stratos build system. +Golang is required, and version 1.21 is recommended as this is the version used by the Stratos build system. -When you want to build the `4.1.2` tag in -[Stratos UI releases](https://github.com/cloudfoundry-community/stratos/releases), +When you want to build the `4.8.1` tag in +[Stratos UI releases](https://github.com/cloudfoundry/stratos/releases), run this command: ```bash @@ -78,7 +80,7 @@ run this command: ``` OR to package a specific tag ```bash -TAG="4.1.2" ./bin/package +TAG="4.8.1" ./bin/package ``` ### NOTE diff --git a/bin/package b/bin/package index 5cf034b9e..a292e696b 100755 --- a/bin/package +++ b/bin/package @@ -6,7 +6,7 @@ set -xeuo pipefail declare git_url git_tag work_dir declare -x TAG NODE_VERSION TMP_DIR -git_url="https://github.com/cloudfoundry-community/stratos.git" +git_url="https://github.com/cloudfoundry/stratos.git" git_tag="${TAG:-develop}" work_dir="${PWD}" NODE_VERSION="${NODE_VERISON:-20.13.1}" diff --git a/deploy/cloud-foundry/build.sh b/deploy/cloud-foundry/build.sh index f346b1168..077371de5 100755 --- a/deploy/cloud-foundry/build.sh +++ b/deploy/cloud-foundry/build.sh @@ -10,7 +10,7 @@ YELLOW="\033[93m" RESET="\033[0m" BOLD="\033[1m" -VENDOR_FOLDER=tmp/go/src/github.com/cloudfoundry-community/stratos/vendor +VENDOR_FOLDER=tmp/go/src/github.com/cloudfoundry/stratos/vendor function log { COLOR=${2:-} diff --git a/manifest.yml b/manifest.yml index 2f444803d..5c7f18eb0 100644 --- a/manifest.yml +++ b/manifest.yml @@ -4,7 +4,7 @@ applications: disk_quota: 1024M host: console timeout: 180 - buildpack: https://github.com/cloudfoundry-community/stratos-buildpack#v5 + buildpack: https://github.com/cloudfoundry/stratos-buildpack#v5 health-check-type: port # env: # Override CF API endpoint URL inferred from VCAP_APPLICATION env diff --git a/package-lock.json b/package-lock.json index d12259ae3..75a8bbb2a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "stratos", - "version": "4.8.0", + "version": "4.8.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "stratos", - "version": "4.8.0", + "version": "4.8.1", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/package.json b/package.json index 3e4d88f23..3671b38bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stratos", - "version": "4.8.0", + "version": "4.8.1", "description": "Stratos Console", "main": "index.js", "scripts": { diff --git a/src/frontend/packages/devkit/src/backend.ts b/src/frontend/packages/devkit/src/backend.ts index 685c5c8f6..eaae05196 100644 --- a/src/frontend/packages/devkit/src/backend.ts +++ b/src/frontend/packages/devkit/src/backend.ts @@ -23,7 +23,7 @@ if (backendPlugins.length === 0) { // Check that the plugin exists if (fs.existsSync(path.join(backendFolder, 'plugins', pkg))) { - fs.appendFileSync(backendPluginsFile, `import _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/${pkg}"\n`); + fs.appendFileSync(backendPluginsFile, `import _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/${pkg}"\n`); console.log(` + ${pkg}`) } else { console.log(` + ${pkg} : WARNING: Backend plugin does not exist`); diff --git a/src/jetstream/api/go.mod b/src/jetstream/api/go.mod index dad0dec46..64e7d7aaf 100644 --- a/src/jetstream/api/go.mod +++ b/src/jetstream/api/go.mod @@ -1,4 +1,4 @@ -module github.com/cloudfoundry-community/stratos/src/jetstream/api +module github.com/cloudfoundry/stratos/src/jetstream/api go 1.21 diff --git a/src/jetstream/api/mock/mock_auth.go b/src/jetstream/api/mock/mock_auth.go index 894d9f780..3d9443372 100644 --- a/src/jetstream/api/mock/mock_auth.go +++ b/src/jetstream/api/mock/mock_auth.go @@ -7,7 +7,7 @@ package mock_api import ( reflect "reflect" - api "github.com/cloudfoundry-community/stratos/src/jetstream/api" + api "github.com/cloudfoundry/stratos/src/jetstream/api" gomock "github.com/golang/mock/gomock" echo "github.com/labstack/echo/v4" ) diff --git a/src/jetstream/api/structs.go b/src/jetstream/api/structs.go index c4a9119fb..49a508e01 100644 --- a/src/jetstream/api/structs.go +++ b/src/jetstream/api/structs.go @@ -6,7 +6,7 @@ import ( "net/url" "reflect" - api "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" + api "github.com/cloudfoundry/stratos/src/jetstream/api/config" "github.com/gorilla/sessions" "github.com/labstack/echo/v4" ) diff --git a/src/jetstream/apikeys.go b/src/jetstream/apikeys.go index 381f697d8..8020f20b1 100644 --- a/src/jetstream/apikeys.go +++ b/src/jetstream/apikeys.go @@ -4,7 +4,7 @@ import ( "errors" "net/http" - "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" + "github.com/cloudfoundry/stratos/src/jetstream/api/config" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/apikeys_test.go b/src/jetstream/apikeys_test.go index 19a88f91a..fbd940382 100644 --- a/src/jetstream/apikeys_test.go +++ b/src/jetstream/apikeys_test.go @@ -6,10 +6,10 @@ import ( "net/http" "testing" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" - mock_api "github.com/cloudfoundry-community/stratos/src/jetstream/api/mock" - mock_apikeys "github.com/cloudfoundry-community/stratos/src/jetstream/repository/apikeys/mock" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api/config" + mock_api "github.com/cloudfoundry/stratos/src/jetstream/api/mock" + mock_apikeys "github.com/cloudfoundry/stratos/src/jetstream/repository/apikeys/mock" "github.com/golang/mock/gomock" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" diff --git a/src/jetstream/auth.go b/src/jetstream/auth.go index 2a34d222b..e0745219c 100644 --- a/src/jetstream/auth.go +++ b/src/jetstream/auth.go @@ -9,7 +9,7 @@ import ( "github.com/labstack/echo/v4" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // LoginHookFunc - function that can be hooked into a successful user login diff --git a/src/jetstream/auth_providers.go b/src/jetstream/auth_providers.go index 26c02cbf0..2040b9e2d 100644 --- a/src/jetstream/auth_providers.go +++ b/src/jetstream/auth_providers.go @@ -1,6 +1,6 @@ package main -import "github.com/cloudfoundry-community/stratos/src/jetstream/api" +import "github.com/cloudfoundry/stratos/src/jetstream/api" // log "github.com/sirupsen/logrus" diff --git a/src/jetstream/auth_test.go b/src/jetstream/auth_test.go index 84c78f891..1d2aac4ea 100644 --- a/src/jetstream/auth_test.go +++ b/src/jetstream/auth_test.go @@ -18,12 +18,12 @@ import ( log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" - mock_api "github.com/cloudfoundry-community/stratos/src/jetstream/api/mock" - "github.com/cloudfoundry-community/stratos/src/jetstream/crypto" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" - "github.com/cloudfoundry-community/stratos/src/jetstream/testutils" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api/config" + mock_api "github.com/cloudfoundry/stratos/src/jetstream/api/mock" + "github.com/cloudfoundry/stratos/src/jetstream/crypto" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/testutils" . "github.com/smartystreets/goconvey/convey" ) diff --git a/src/jetstream/authcnsi.go b/src/jetstream/authcnsi.go index 10cc07326..452e2d864 100644 --- a/src/jetstream/authcnsi.go +++ b/src/jetstream/authcnsi.go @@ -11,9 +11,9 @@ import ( "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/tokens" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api/config" + "github.com/cloudfoundry/stratos/src/jetstream/repository/tokens" ) // CFAdminIdentifier - The scope that Cloud Foundry uses to convey administrative level perms diff --git a/src/jetstream/authlocal.go b/src/jetstream/authlocal.go index 50a89ba6c..69873200f 100644 --- a/src/jetstream/authlocal.go +++ b/src/jetstream/authlocal.go @@ -14,9 +14,9 @@ import ( "github.com/labstack/echo/v4" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/crypto" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/localusers" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/crypto" + "github.com/cloudfoundry/stratos/src/jetstream/repository/localusers" ) // More fields will be moved into here as global portalProxy struct is phased out diff --git a/src/jetstream/authnone.go b/src/jetstream/authnone.go index 41410c1d0..3fb769864 100644 --- a/src/jetstream/authnone.go +++ b/src/jetstream/authnone.go @@ -11,7 +11,7 @@ import ( "github.com/labstack/echo/v4" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) const ( diff --git a/src/jetstream/authuaa.go b/src/jetstream/authuaa.go index 2da0cdac7..3fa5cc961 100644 --- a/src/jetstream/authuaa.go +++ b/src/jetstream/authuaa.go @@ -15,8 +15,8 @@ import ( "github.com/labstack/echo/v4" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/stringutils" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/stringutils" ) // UAAAdminIdentifier - The identifier that UAA uses to convey administrative level perms diff --git a/src/jetstream/cnsi.go b/src/jetstream/cnsi.go index ba0673688..e8d69efc3 100644 --- a/src/jetstream/cnsi.go +++ b/src/jetstream/cnsi.go @@ -16,9 +16,9 @@ import ( "crypto/sha1" "encoding/base64" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/userfavorites/userfavoritesendpoints" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api/config" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/userfavorites/userfavoritesendpoints" ) const dbReferenceError = "unable to establish a database reference: '%v'" diff --git a/src/jetstream/cnsi_test.go b/src/jetstream/cnsi_test.go index 92fe618a4..928dc371b 100644 --- a/src/jetstream/cnsi_test.go +++ b/src/jetstream/cnsi_test.go @@ -7,10 +7,10 @@ import ( "testing" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" - mock_api "github.com/cloudfoundry-community/stratos/src/jetstream/api/mock" - "github.com/cloudfoundry-community/stratos/src/jetstream/testutils" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api/config" + mock_api "github.com/cloudfoundry/stratos/src/jetstream/api/mock" + "github.com/cloudfoundry/stratos/src/jetstream/testutils" "github.com/golang/mock/gomock" _ "github.com/satori/go.uuid" . "github.com/smartystreets/goconvey/convey" diff --git a/src/jetstream/custom_errors/custom_errors.go b/src/jetstream/custom_errors/custom_errors.go index 7cd694bfe..aee442888 100644 --- a/src/jetstream/custom_errors/custom_errors.go +++ b/src/jetstream/custom_errors/custom_errors.go @@ -3,7 +3,7 @@ package custom_errors import ( "fmt" - "github.com/cloudfoundry-community/stratos/src/jetstream/custom_errors/constants" + "github.com/cloudfoundry/stratos/src/jetstream/custom_errors/constants" ) type GooseDBNoDatabaseVersionsFoundError struct{} diff --git a/src/jetstream/datastore/datastore.go b/src/jetstream/datastore/datastore.go index 24c9f1bb0..618450ba4 100644 --- a/src/jetstream/datastore/datastore.go +++ b/src/jetstream/datastore/datastore.go @@ -10,10 +10,10 @@ import ( "strings" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/custom_errors" + "github.com/cloudfoundry/stratos/src/jetstream/custom_errors" "github.com/samber/lo" - goosedbversion "github.com/cloudfoundry-community/stratos/src/jetstream/repository/goose-db-version" + goosedbversion "github.com/cloudfoundry/stratos/src/jetstream/repository/goose-db-version" "github.com/govau/cf-common/env" log "github.com/sirupsen/logrus" diff --git a/src/jetstream/default_plugins.go b/src/jetstream/default_plugins.go index 435ccbc4e..af93afd25 100644 --- a/src/jetstream/default_plugins.go +++ b/src/jetstream/default_plugins.go @@ -3,9 +3,9 @@ package main // These imports bring in the default set of plugins import ( - _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/backup" - _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/cloudfoundryhosting" - _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/metrics" - _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/userfavorites" - _ "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/userinfo" + _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/backup" + _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/cloudfoundryhosting" + _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/metrics" + _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/userfavorites" + _ "github.com/cloudfoundry/stratos/src/jetstream/plugins/userinfo" ) diff --git a/src/jetstream/diagnostics.go b/src/jetstream/diagnostics.go index 0f5b6f88e..e5773d826 100644 --- a/src/jetstream/diagnostics.go +++ b/src/jetstream/diagnostics.go @@ -6,8 +6,8 @@ import ( log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - goosedbversion "github.com/cloudfoundry-community/stratos/src/jetstream/repository/goose-db-version" + "github.com/cloudfoundry/stratos/src/jetstream/api" + goosedbversion "github.com/cloudfoundry/stratos/src/jetstream/repository/goose-db-version" ) func (p *portalProxy) StoreDiagnostics() { diff --git a/src/jetstream/factory/factory.go b/src/jetstream/factory/factory.go index cd6d2d793..7c8d7189f 100644 --- a/src/jetstream/factory/factory.go +++ b/src/jetstream/factory/factory.go @@ -3,9 +3,9 @@ package factory import ( "database/sql" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/cnsis" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/tokens" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/repository/cnsis" + "github.com/cloudfoundry/stratos/src/jetstream/repository/tokens" ) // DefaultStoreFactory is default factory for getting store interfaces diff --git a/src/jetstream/go.mod b/src/jetstream/go.mod index e5d74700e..7f355a9fb 100644 --- a/src/jetstream/go.mod +++ b/src/jetstream/go.mod @@ -1,20 +1,20 @@ -module github.com/cloudfoundry-community/stratos/src/jetstream +module github.com/cloudfoundry/stratos/src/jetstream go 1.21 toolchain go1.21.9 replace ( - github.com/cloudfoundry-community/stratos/src/jetstream/api => ./api - github.com/cloudfoundry-community/stratos/src/jetstream/api/config => ./api/config - github.com/cloudfoundry-community/stratos/src/jetstream/crypto => ./crypto - github.com/cloudfoundry-community/stratos/src/jetstream/docs => ./docs - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/cfapppush => ./plugins/cfapppush - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/cloudfoundry => ./plugins/cloudfoundry - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes => ./plugins/kubernetes - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/auth => ./plugins/kubernetes/auth - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/terminal => ./plugins/kubernetes/terminal - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/monocular => ./plugins/monocular + github.com/cloudfoundry/stratos/src/jetstream/api => ./api + github.com/cloudfoundry/stratos/src/jetstream/api/config => ./api/config + github.com/cloudfoundry/stratos/src/jetstream/crypto => ./crypto + github.com/cloudfoundry/stratos/src/jetstream/docs => ./docs + github.com/cloudfoundry/stratos/src/jetstream/plugins/cfapppush => ./plugins/cfapppush + github.com/cloudfoundry/stratos/src/jetstream/plugins/cloudfoundry => ./plugins/cloudfoundry + github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes => ./plugins/kubernetes + github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/auth => ./plugins/kubernetes/auth + github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/terminal => ./plugins/kubernetes/terminal + github.com/cloudfoundry/stratos/src/jetstream/plugins/monocular => ./plugins/monocular ) // ported from plugins/kubernetes @@ -31,11 +31,11 @@ require ( github.com/antonlindstrom/pgstore v0.0.0-20220421113606-e3a6e3fed12a github.com/cf-stratos/mysqlstore v0.0.0-20170822100912-304308519d13 github.com/cloudfoundry-community/go-cfenv v1.18.0 - github.com/cloudfoundry-community/stratos/src/jetstream/api v0.0.0-00010101000000-000000000000 - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/cfapppush v0.0.0-00010101000000-000000000000 - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes v0.0.0-20210416105629-f34f428ca775 - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/auth v0.0.0-00010101000000-000000000000 - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/monocular v0.0.0-20210416105629-f34f428ca775 + github.com/cloudfoundry/stratos/src/jetstream/api v0.0.0-00010101000000-000000000000 + github.com/cloudfoundry/stratos/src/jetstream/plugins/cfapppush v0.0.0-00010101000000-000000000000 + github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes v0.0.0-20210416105629-f34f428ca775 + github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/auth v0.0.0-00010101000000-000000000000 + github.com/cloudfoundry/stratos/src/jetstream/plugins/monocular v0.0.0-20210416105629-f34f428ca775 github.com/cloudfoundry/noaa/v2 v2.3.0 github.com/cloudfoundry/sonde-go v0.0.0-20230911203642-fa89d986ae20 github.com/domodwyer/mailyak v3.1.1+incompatible diff --git a/src/jetstream/http_basic_requests.go b/src/jetstream/http_basic_requests.go index ff5135b04..e8dab12a6 100644 --- a/src/jetstream/http_basic_requests.go +++ b/src/jetstream/http_basic_requests.go @@ -7,7 +7,7 @@ import ( log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) func (p *portalProxy) doHttpBasicFlowRequest(cnsiRequest *api.CNSIRequest, req *http.Request) (*http.Response, error) { diff --git a/src/jetstream/info.go b/src/jetstream/info.go index 19e534c2d..4ca6a2fe5 100644 --- a/src/jetstream/info.go +++ b/src/jetstream/info.go @@ -6,7 +6,7 @@ import ( "net/http" "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/jwt.go b/src/jetstream/jwt.go index 3e1cb34eb..2385a08fa 100644 --- a/src/jetstream/jwt.go +++ b/src/jetstream/jwt.go @@ -8,7 +8,7 @@ import ( log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) func (p *portalProxy) GetUserTokenInfo(tok string) (u *api.JWTUserTokenInfo, err error) { diff --git a/src/jetstream/load_plugins.go b/src/jetstream/load_plugins.go index d6a51a2e4..03a75ce48 100644 --- a/src/jetstream/load_plugins.go +++ b/src/jetstream/load_plugins.go @@ -1,10 +1,10 @@ package main import ( - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/yamlgenerated" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/yamlgenerated" ) func (pp *portalProxy) loadPlugins() { diff --git a/src/jetstream/localusers.go b/src/jetstream/localusers.go index c25a1454f..227257395 100644 --- a/src/jetstream/localusers.go +++ b/src/jetstream/localusers.go @@ -7,9 +7,9 @@ import ( uuid "github.com/satori/go.uuid" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/crypto" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/localusers" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/crypto" + "github.com/cloudfoundry/stratos/src/jetstream/repository/localusers" ) func (p *portalProxy) FindUserGUID(c echo.Context) (string, error) { diff --git a/src/jetstream/localusers_test.go b/src/jetstream/localusers_test.go index c63233a40..3a9321675 100644 --- a/src/jetstream/localusers_test.go +++ b/src/jetstream/localusers_test.go @@ -9,9 +9,9 @@ import ( log "github.com/sirupsen/logrus" sqlmock "gopkg.in/DATA-DOG/go-sqlmock.v1" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/crypto" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/localusers" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/crypto" + "github.com/cloudfoundry/stratos/src/jetstream/repository/localusers" . "github.com/smartystreets/goconvey/convey" ) diff --git a/src/jetstream/main.go b/src/jetstream/main.go index 2b0b2ae71..624baab76 100644 --- a/src/jetstream/main.go +++ b/src/jetstream/main.go @@ -20,8 +20,8 @@ import ( "syscall" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/custombinder" - _ "github.com/cloudfoundry-community/stratos/src/jetstream/docs" + "github.com/cloudfoundry/stratos/src/jetstream/custombinder" + _ "github.com/cloudfoundry/stratos/src/jetstream/docs" "github.com/antonlindstrom/pgstore" "github.com/cf-stratos/mysqlstore" @@ -35,17 +35,17 @@ import ( log "github.com/sirupsen/logrus" echoSwagger "github.com/swaggo/echo-swagger" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" - "github.com/cloudfoundry-community/stratos/src/jetstream/crypto" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" - "github.com/cloudfoundry-community/stratos/src/jetstream/factory" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/apikeys" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/cnsis" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/console_config" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/localusers" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/sessiondata" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/tokens" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api/config" + "github.com/cloudfoundry/stratos/src/jetstream/crypto" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/factory" + "github.com/cloudfoundry/stratos/src/jetstream/repository/apikeys" + "github.com/cloudfoundry/stratos/src/jetstream/repository/cnsis" + "github.com/cloudfoundry/stratos/src/jetstream/repository/console_config" + "github.com/cloudfoundry/stratos/src/jetstream/repository/localusers" + "github.com/cloudfoundry/stratos/src/jetstream/repository/sessiondata" + "github.com/cloudfoundry/stratos/src/jetstream/repository/tokens" ) // @title Stratos API diff --git a/src/jetstream/main_test.go b/src/jetstream/main_test.go index fd06817f6..ca53ac15f 100644 --- a/src/jetstream/main_test.go +++ b/src/jetstream/main_test.go @@ -5,8 +5,8 @@ import ( "github.com/govau/cf-common/env" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" ) // DO NOT DELETE - this is necessary for thr HTTP Client used during unit tests diff --git a/src/jetstream/middleware.go b/src/jetstream/middleware.go index 03e048382..44ac3b96c 100644 --- a/src/jetstream/middleware.go +++ b/src/jetstream/middleware.go @@ -16,8 +16,8 @@ import ( "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api/config" ) const cfSessionCookieName = "JSESSIONID" diff --git a/src/jetstream/middleware_test.go b/src/jetstream/middleware_test.go index 9d0352b69..227a62516 100644 --- a/src/jetstream/middleware_test.go +++ b/src/jetstream/middleware_test.go @@ -8,12 +8,12 @@ import ( "net/http/httptest" "testing" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" - mock_api "github.com/cloudfoundry-community/stratos/src/jetstream/api/mock" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/apikeys" - mock_apikeys "github.com/cloudfoundry-community/stratos/src/jetstream/repository/apikeys/mock" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api/config" + mock_api "github.com/cloudfoundry/stratos/src/jetstream/api/mock" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/repository/apikeys" + mock_apikeys "github.com/cloudfoundry/stratos/src/jetstream/repository/apikeys/mock" "github.com/golang/mock/gomock" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" diff --git a/src/jetstream/mock_server_test.go b/src/jetstream/mock_server_test.go index 8a53c3f76..e32191416 100644 --- a/src/jetstream/mock_server_test.go +++ b/src/jetstream/mock_server_test.go @@ -20,13 +20,13 @@ import ( "github.com/labstack/echo/v4" sqlmock "gopkg.in/DATA-DOG/go-sqlmock.v1" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/crypto" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" - "github.com/cloudfoundry-community/stratos/src/jetstream/factory" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/tokens" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/crypto" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/factory" + "github.com/cloudfoundry/stratos/src/jetstream/repository/tokens" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/cloudfoundry" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/cloudfoundry" ) type mockServer struct { diff --git a/src/jetstream/noauth_requests.go b/src/jetstream/noauth_requests.go index a750cf1f2..c66ef46ff 100644 --- a/src/jetstream/noauth_requests.go +++ b/src/jetstream/noauth_requests.go @@ -3,7 +3,7 @@ package main import ( "net/http" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/oauth_requests.go b/src/jetstream/oauth_requests.go index 030c428e4..255580307 100644 --- a/src/jetstream/oauth_requests.go +++ b/src/jetstream/oauth_requests.go @@ -6,7 +6,7 @@ import ( "net/http" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/oauth_requests_test.go b/src/jetstream/oauth_requests_test.go index d9982ad81..950b3dd6b 100644 --- a/src/jetstream/oauth_requests_test.go +++ b/src/jetstream/oauth_requests_test.go @@ -8,8 +8,8 @@ import ( "testing" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/testutils" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/testutils" . "github.com/smartystreets/goconvey/convey" sqlmock "gopkg.in/DATA-DOG/go-sqlmock.v1" ) diff --git a/src/jetstream/oidc_requests.go b/src/jetstream/oidc_requests.go index 1fbd0be98..4e8e953e0 100644 --- a/src/jetstream/oidc_requests.go +++ b/src/jetstream/oidc_requests.go @@ -5,7 +5,7 @@ import ( "fmt" "net/http" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/passthrough.go b/src/jetstream/passthrough.go index 6198d0b94..42f941d74 100644 --- a/src/jetstream/passthrough.go +++ b/src/jetstream/passthrough.go @@ -15,7 +15,7 @@ import ( "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // API Host Prefix to replace if the custom header is supplied diff --git a/src/jetstream/passthrough_test.go b/src/jetstream/passthrough_test.go index e5d2d21e6..a79f6692d 100644 --- a/src/jetstream/passthrough_test.go +++ b/src/jetstream/passthrough_test.go @@ -9,8 +9,8 @@ import ( . "github.com/smartystreets/goconvey/convey" sqlmock "gopkg.in/DATA-DOG/go-sqlmock.v1" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/testutils" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/testutils" ) func TestPassthroughDoRequest(t *testing.T) { diff --git a/src/jetstream/plugins/analysis/container/sonobuoy.go_ b/src/jetstream/plugins/analysis/container/sonobuoy.go_ index ac1029fdb..184dbddcc 100644 --- a/src/jetstream/plugins/analysis/container/sonobuoy.go_ +++ b/src/jetstream/plugins/analysis/container/sonobuoy.go_ @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/analysis/store" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/analysis/store" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/analysis/list.go b/src/jetstream/plugins/analysis/list.go index 47f679dcc..47ea3c56e 100644 --- a/src/jetstream/plugins/analysis/list.go +++ b/src/jetstream/plugins/analysis/list.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/analysis/store" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/analysis/store" "github.com/labstack/echo/v4" diff --git a/src/jetstream/plugins/analysis/main.go b/src/jetstream/plugins/analysis/main.go index 587e0500b..58d20054e 100644 --- a/src/jetstream/plugins/analysis/main.go +++ b/src/jetstream/plugins/analysis/main.go @@ -7,8 +7,8 @@ import ( "net/http" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/analysis/store" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/analysis/store" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" diff --git a/src/jetstream/plugins/analysis/run.go b/src/jetstream/plugins/analysis/run.go index 5cb048a77..0cce25e4d 100644 --- a/src/jetstream/plugins/analysis/run.go +++ b/src/jetstream/plugins/analysis/run.go @@ -11,7 +11,7 @@ import ( "net/textproto" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/analysis/store" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/analysis/store" "github.com/labstack/echo/v4" uuid "github.com/satori/go.uuid" diff --git a/src/jetstream/plugins/analysis/status.go b/src/jetstream/plugins/analysis/status.go index 3fac589e7..9c3343278 100644 --- a/src/jetstream/plugins/analysis/status.go +++ b/src/jetstream/plugins/analysis/status.go @@ -8,7 +8,7 @@ import ( "net/http" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/analysis/store" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/analysis/store" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/analysis/store/analysis_store_db.go b/src/jetstream/plugins/analysis/store/analysis_store_db.go index b1cf4bbe9..790633f42 100644 --- a/src/jetstream/plugins/analysis/store/analysis_store_db.go +++ b/src/jetstream/plugins/analysis/store/analysis_store_db.go @@ -6,7 +6,7 @@ import ( log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" ) var ( diff --git a/src/jetstream/plugins/autoscaler/main.go b/src/jetstream/plugins/autoscaler/main.go index bd74b8f06..70cbe31a8 100644 --- a/src/jetstream/plugins/autoscaler/main.go +++ b/src/jetstream/plugins/autoscaler/main.go @@ -3,7 +3,7 @@ package autoscaler import ( "errors" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" ) diff --git a/src/jetstream/plugins/backup/backup_restore.go b/src/jetstream/plugins/backup/backup_restore.go index 078992328..516ed78dd 100644 --- a/src/jetstream/plugins/backup/backup_restore.go +++ b/src/jetstream/plugins/backup/backup_restore.go @@ -8,8 +8,8 @@ import ( "io/ioutil" "net/http" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/crypto" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/crypto" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/backup/main.go b/src/jetstream/plugins/backup/main.go index b37256c36..24827c17b 100644 --- a/src/jetstream/plugins/backup/main.go +++ b/src/jetstream/plugins/backup/main.go @@ -6,8 +6,8 @@ import ( "net/http" "strconv" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - goosedbversion "github.com/cloudfoundry-community/stratos/src/jetstream/repository/goose-db-version" + "github.com/cloudfoundry/stratos/src/jetstream/api" + goosedbversion "github.com/cloudfoundry/stratos/src/jetstream/repository/goose-db-version" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/cfapppush/connection_wrapper.go b/src/jetstream/plugins/cfapppush/connection_wrapper.go index 123e8f318..9c00c53a1 100644 --- a/src/jetstream/plugins/cfapppush/connection_wrapper.go +++ b/src/jetstream/plugins/cfapppush/connection_wrapper.go @@ -6,7 +6,7 @@ import ( "code.cloudfoundry.org/cli/api/cloudcontroller" "code.cloudfoundry.org/cli/command" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // PushConnectionWrapper can wrap a given connection allowing the wrapper to modify diff --git a/src/jetstream/plugins/cfapppush/deploy.go b/src/jetstream/plugins/cfapppush/deploy.go index b703ba10e..d5081279b 100644 --- a/src/jetstream/plugins/cfapppush/deploy.go +++ b/src/jetstream/plugins/cfapppush/deploy.go @@ -11,7 +11,7 @@ import ( "strings" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/gorilla/websocket" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" diff --git a/src/jetstream/plugins/cfapppush/go.mod b/src/jetstream/plugins/cfapppush/go.mod index ba361d74f..004ca98e2 100644 --- a/src/jetstream/plugins/cfapppush/go.mod +++ b/src/jetstream/plugins/cfapppush/go.mod @@ -1,9 +1,9 @@ -module github.com/cloudfoundry-community/stratos/src/jetstream/plugins/cfapppush +module github.com/cloudfoundry/stratos/src/jetstream/plugins/cfapppush go 1.21 replace ( - github.com/cloudfoundry-community/stratos/src/jetstream/api => ../../api + github.com/cloudfoundry/stratos/src/jetstream/api => ../../api github.com/cloudfoundry/cli-plugin-repo => code.cloudfoundry.org/cli-plugin-repo v0.0.0-20230525012251-b9c89116786e github.com/moby/moby => github.com/moby/moby v20.10.25+incompatible github.com/sabhiram/go-gitignore => github.com/sabhiram/go-gitignore v0.0.0-20180611051255-d3107576ba94 @@ -13,7 +13,7 @@ replace ( require ( code.cloudfoundry.org/cli v0.0.0-20230912192837-efd1d03e7292 code.cloudfoundry.org/clock v1.1.0 - github.com/cloudfoundry-community/stratos/src/jetstream/api v0.0.0-00010101000000-000000000000 + github.com/cloudfoundry/stratos/src/jetstream/api v0.0.0-00010101000000-000000000000 github.com/gorilla/websocket v1.5.0 github.com/labstack/echo/v4 v4.11.1 github.com/mholt/archiver/v3 v3.5.1 diff --git a/src/jetstream/plugins/cfapppush/info.go b/src/jetstream/plugins/cfapppush/info.go index 3b2991b8b..f02ccdb57 100644 --- a/src/jetstream/plugins/cfapppush/info.go +++ b/src/jetstream/plugins/cfapppush/info.go @@ -3,7 +3,7 @@ package cfapppush import ( "errors" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "code.cloudfoundry.org/cli/util/configv3" log "github.com/sirupsen/logrus" diff --git a/src/jetstream/plugins/cfapppush/main.go b/src/jetstream/plugins/cfapppush/main.go index 05ba83e4c..89d3e8e4a 100644 --- a/src/jetstream/plugins/cfapppush/main.go +++ b/src/jetstream/plugins/cfapppush/main.go @@ -3,7 +3,7 @@ package cfapppush import ( "errors" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" ) diff --git a/src/jetstream/plugins/cfapppush/pushapp.go b/src/jetstream/plugins/cfapppush/pushapp.go index dc958596a..c356ce518 100644 --- a/src/jetstream/plugins/cfapppush/pushapp.go +++ b/src/jetstream/plugins/cfapppush/pushapp.go @@ -29,7 +29,7 @@ import ( v7 "code.cloudfoundry.org/cli/command/v7" "code.cloudfoundry.org/cli/command/v7/shared" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // CFPushApp abstracts the push functionality form the CLI library diff --git a/src/jetstream/plugins/cfappssh/app_ssh.go b/src/jetstream/plugins/cfappssh/app_ssh.go index 61c36e6e4..e145ff2d6 100644 --- a/src/jetstream/plugins/cfappssh/app_ssh.go +++ b/src/jetstream/plugins/cfappssh/app_ssh.go @@ -11,7 +11,7 @@ import ( "net/url" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/gorilla/websocket" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" diff --git a/src/jetstream/plugins/cfappssh/main.go b/src/jetstream/plugins/cfappssh/main.go index 8c4b53145..cdc0d91c6 100644 --- a/src/jetstream/plugins/cfappssh/main.go +++ b/src/jetstream/plugins/cfappssh/main.go @@ -3,7 +3,7 @@ package cfappssh import ( "errors" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" ) diff --git a/src/jetstream/plugins/cloudfoundry/cf_websocket_streams.go b/src/jetstream/plugins/cloudfoundry/cf_websocket_streams.go index 19a54af52..58cf15cdc 100644 --- a/src/jetstream/plugins/cloudfoundry/cf_websocket_streams.go +++ b/src/jetstream/plugins/cloudfoundry/cf_websocket_streams.go @@ -13,9 +13,9 @@ import ( logcache "code.cloudfoundry.org/go-log-cache" "code.cloudfoundry.org/go-log-cache/rpc/logcache_v1" "code.cloudfoundry.org/go-loggregator/v8/rpc/loggregator_v2" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" "github.com/cloudfoundry/noaa/v2/consumer" "github.com/cloudfoundry/sonde-go/events" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/gorilla/websocket" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" diff --git a/src/jetstream/plugins/cloudfoundry/main.go b/src/jetstream/plugins/cloudfoundry/main.go index 3694370e5..801a4159a 100644 --- a/src/jetstream/plugins/cloudfoundry/main.go +++ b/src/jetstream/plugins/cloudfoundry/main.go @@ -10,7 +10,7 @@ import ( "errors" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/cloudfoundryhosting/main.go b/src/jetstream/plugins/cloudfoundryhosting/main.go index d3faf4575..6b53f63ce 100644 --- a/src/jetstream/plugins/cloudfoundryhosting/main.go +++ b/src/jetstream/plugins/cloudfoundryhosting/main.go @@ -15,7 +15,7 @@ import ( uuid "github.com/satori/go.uuid" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // Constants diff --git a/src/jetstream/plugins/desktop/cloudfoundry.go b/src/jetstream/plugins/desktop/cloudfoundry.go index 27b940a03..99b03201c 100644 --- a/src/jetstream/plugins/desktop/cloudfoundry.go +++ b/src/jetstream/plugins/desktop/cloudfoundry.go @@ -9,7 +9,7 @@ import ( "os/user" "path/filepath" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // CFConfigFile represents the data we need for CF config file diff --git a/src/jetstream/plugins/desktop/endpoints.go b/src/jetstream/plugins/desktop/endpoints.go index 865f22270..269581370 100644 --- a/src/jetstream/plugins/desktop/endpoints.go +++ b/src/jetstream/plugins/desktop/endpoints.go @@ -4,7 +4,7 @@ import ( "crypto/sha1" "encoding/base64" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/desktop/helm/endpoints.go b/src/jetstream/plugins/desktop/helm/endpoints.go index e3acb557b..60af53ea0 100644 --- a/src/jetstream/plugins/desktop/helm/endpoints.go +++ b/src/jetstream/plugins/desktop/helm/endpoints.go @@ -5,7 +5,7 @@ import ( "encoding/base64" "errors" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/desktop/helm/main.go b/src/jetstream/plugins/desktop/helm/main.go index e6b30afde..060e650b1 100644 --- a/src/jetstream/plugins/desktop/helm/main.go +++ b/src/jetstream/plugins/desktop/helm/main.go @@ -3,7 +3,7 @@ package helm import ( "errors" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/desktop/helm/repositories.go b/src/jetstream/plugins/desktop/helm/repositories.go index 1875064f8..b060da279 100644 --- a/src/jetstream/plugins/desktop/helm/repositories.go +++ b/src/jetstream/plugins/desktop/helm/repositories.go @@ -16,7 +16,7 @@ import ( "strconv" "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" diff --git a/src/jetstream/plugins/desktop/helm/tokens.go b/src/jetstream/plugins/desktop/helm/tokens.go index d1f2fbad5..938545073 100644 --- a/src/jetstream/plugins/desktop/helm/tokens.go +++ b/src/jetstream/plugins/desktop/helm/tokens.go @@ -1,7 +1,7 @@ package helm import ( - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // TokenStore is a token store that combines local tokens with the usual database stored tokens diff --git a/src/jetstream/plugins/desktop/kubernetes/auth.go b/src/jetstream/plugins/desktop/kubernetes/auth.go index 0961dc1ef..259038992 100644 --- a/src/jetstream/plugins/desktop/kubernetes/auth.go +++ b/src/jetstream/plugins/desktop/kubernetes/auth.go @@ -5,9 +5,9 @@ import ( "io/ioutil" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/auth" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/auth" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) diff --git a/src/jetstream/plugins/desktop/kubernetes/endpoints.go b/src/jetstream/plugins/desktop/kubernetes/endpoints.go index 207109462..a47d0e811 100644 --- a/src/jetstream/plugins/desktop/kubernetes/endpoints.go +++ b/src/jetstream/plugins/desktop/kubernetes/endpoints.go @@ -4,7 +4,7 @@ import ( "crypto/sha1" "encoding/base64" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/desktop/kubernetes/kubeconfig.go b/src/jetstream/plugins/desktop/kubernetes/kubeconfig.go index d5ff9b874..b6d9c805a 100644 --- a/src/jetstream/plugins/desktop/kubernetes/kubeconfig.go +++ b/src/jetstream/plugins/desktop/kubernetes/kubeconfig.go @@ -9,7 +9,7 @@ import ( "os/user" "path/filepath" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" log "github.com/sirupsen/logrus" "k8s.io/client-go/tools/clientcmd" diff --git a/src/jetstream/plugins/desktop/kubernetes/main.go b/src/jetstream/plugins/desktop/kubernetes/main.go index aad6b9e48..1345bdf69 100644 --- a/src/jetstream/plugins/desktop/kubernetes/main.go +++ b/src/jetstream/plugins/desktop/kubernetes/main.go @@ -1,7 +1,7 @@ package kubernetes import ( - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/desktop/kubernetes/tokens.go b/src/jetstream/plugins/desktop/kubernetes/tokens.go index bc855a710..8dcbc792d 100644 --- a/src/jetstream/plugins/desktop/kubernetes/tokens.go +++ b/src/jetstream/plugins/desktop/kubernetes/tokens.go @@ -1,7 +1,7 @@ package kubernetes import ( - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // TokenStore is a token store that combines local tokens with the usual database stored tokens diff --git a/src/jetstream/plugins/desktop/main.go b/src/jetstream/plugins/desktop/main.go index f0c26a88c..ecae89962 100644 --- a/src/jetstream/plugins/desktop/main.go +++ b/src/jetstream/plugins/desktop/main.go @@ -3,9 +3,9 @@ package desktop import ( "errors" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/desktop/helm" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/desktop/kubernetes" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/desktop/helm" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/desktop/kubernetes" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" diff --git a/src/jetstream/plugins/desktop/tokens.go b/src/jetstream/plugins/desktop/tokens.go index af0625824..a2c2c69fc 100644 --- a/src/jetstream/plugins/desktop/tokens.go +++ b/src/jetstream/plugins/desktop/tokens.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // TokenStore is a token store that combines local tokens with the usual database stored tokens diff --git a/src/jetstream/plugins/kubernetes/api/api.go b/src/jetstream/plugins/kubernetes/api/api.go index eaae1c55f..fa16bfe45 100644 --- a/src/jetstream/plugins/kubernetes/api/api.go +++ b/src/jetstream/plugins/kubernetes/api/api.go @@ -1,7 +1,7 @@ package api import ( - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" restclient "k8s.io/client-go/rest" ) diff --git a/src/jetstream/plugins/kubernetes/api_proxy.go b/src/jetstream/plugins/kubernetes/api_proxy.go index 3b788b73a..3908eac63 100644 --- a/src/jetstream/plugins/kubernetes/api_proxy.go +++ b/src/jetstream/plugins/kubernetes/api_proxy.go @@ -7,7 +7,7 @@ import ( // Import the OIDC auth plugin _ "k8s.io/client-go/plugin/pkg/client/auth/oidc" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // KubeProxyError represents error when a proxied request to the Kube API failes diff --git a/src/jetstream/plugins/kubernetes/auth/awsiam.go b/src/jetstream/plugins/kubernetes/auth/awsiam.go index 12fd36937..5dde8f94b 100644 --- a/src/jetstream/plugins/kubernetes/auth/awsiam.go +++ b/src/jetstream/plugins/kubernetes/auth/awsiam.go @@ -8,7 +8,7 @@ import ( "time" // "github.com/SermoDigital/jose/jws" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" diff --git a/src/jetstream/plugins/kubernetes/auth/azure.go b/src/jetstream/plugins/kubernetes/auth/azure.go index 57722d2e4..5f666342c 100644 --- a/src/jetstream/plugins/kubernetes/auth/azure.go +++ b/src/jetstream/plugins/kubernetes/auth/azure.go @@ -6,8 +6,8 @@ import ( "io/ioutil" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/config" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/config" "github.com/labstack/echo/v4" ) diff --git a/src/jetstream/plugins/kubernetes/auth/basic_auth.go b/src/jetstream/plugins/kubernetes/auth/basic_auth.go index f764aee55..8b90c2db7 100644 --- a/src/jetstream/plugins/kubernetes/auth/basic_auth.go +++ b/src/jetstream/plugins/kubernetes/auth/basic_auth.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" diff --git a/src/jetstream/plugins/kubernetes/auth/cert.go b/src/jetstream/plugins/kubernetes/auth/cert.go index 657182e9a..df90ea183 100644 --- a/src/jetstream/plugins/kubernetes/auth/cert.go +++ b/src/jetstream/plugins/kubernetes/auth/cert.go @@ -14,7 +14,7 @@ import ( "time" // "github.com/SermoDigital/jose/jws" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" diff --git a/src/jetstream/plugins/kubernetes/auth/gke.go b/src/jetstream/plugins/kubernetes/auth/gke.go index 690be1eab..22307e4f2 100644 --- a/src/jetstream/plugins/kubernetes/auth/gke.go +++ b/src/jetstream/plugins/kubernetes/auth/gke.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" diff --git a/src/jetstream/plugins/kubernetes/auth/go.mod b/src/jetstream/plugins/kubernetes/auth/go.mod index 95c389671..d884957ee 100644 --- a/src/jetstream/plugins/kubernetes/auth/go.mod +++ b/src/jetstream/plugins/kubernetes/auth/go.mod @@ -1,10 +1,10 @@ -module github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/auth +module github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/auth go 1.21 replace ( - github.com/cloudfoundry-community/stratos/src/jetstream/api => ../../../api - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes => ../../kubernetes + github.com/cloudfoundry/stratos/src/jetstream/api => ../../../api + github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes => ../../kubernetes github.com/kubernetes-sigs/aws-iam-authenticator => github.com/kubernetes-sigs/aws-iam-authenticator v0.3.1-0.20190111160901-390d9087a4bc k8s.io/client-go => k8s.io/client-go v0.23.17 ) @@ -12,8 +12,8 @@ replace ( require ( github.com/SermoDigital/jose v0.9.1 github.com/aws/aws-sdk-go v1.44.324 - github.com/cloudfoundry-community/stratos/src/jetstream/api v0.0.0-00010101000000-000000000000 - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes v0.0.0-00010101000000-000000000000 + github.com/cloudfoundry/stratos/src/jetstream/api v0.0.0-00010101000000-000000000000 + github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes v0.0.0-00010101000000-000000000000 github.com/labstack/echo/v4 v4.11.3 github.com/sirupsen/logrus v1.9.3 k8s.io/client-go v0.27.3 diff --git a/src/jetstream/plugins/kubernetes/auth/kubeconfig.go b/src/jetstream/plugins/kubernetes/auth/kubeconfig.go index 27713f256..cd593b5d7 100644 --- a/src/jetstream/plugins/kubernetes/auth/kubeconfig.go +++ b/src/jetstream/plugins/kubernetes/auth/kubeconfig.go @@ -6,8 +6,8 @@ import ( "io/ioutil" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/config" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/config" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" diff --git a/src/jetstream/plugins/kubernetes/auth/oidc.go b/src/jetstream/plugins/kubernetes/auth/oidc.go index 8361bbd7e..b38d36843 100644 --- a/src/jetstream/plugins/kubernetes/auth/oidc.go +++ b/src/jetstream/plugins/kubernetes/auth/oidc.go @@ -8,8 +8,8 @@ import ( "net/http" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/config" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/config" "github.com/SermoDigital/jose/jws" "github.com/labstack/echo/v4" diff --git a/src/jetstream/plugins/kubernetes/auth/token.go b/src/jetstream/plugins/kubernetes/auth/token.go index fa4e3eb40..942be7310 100644 --- a/src/jetstream/plugins/kubernetes/auth/token.go +++ b/src/jetstream/plugins/kubernetes/auth/token.go @@ -4,7 +4,7 @@ import ( "net/http" "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" diff --git a/src/jetstream/plugins/kubernetes/auth/types.go b/src/jetstream/plugins/kubernetes/auth/types.go index 1a3c52ed4..d9ba0f619 100644 --- a/src/jetstream/plugins/kubernetes/auth/types.go +++ b/src/jetstream/plugins/kubernetes/auth/types.go @@ -5,7 +5,7 @@ import ( "encoding/json" "net/http" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" "github.com/labstack/echo/v4" diff --git a/src/jetstream/plugins/kubernetes/auth_providers.go b/src/jetstream/plugins/kubernetes/auth_providers.go index 278432ab9..d5a4a2a5e 100644 --- a/src/jetstream/plugins/kubernetes/auth_providers.go +++ b/src/jetstream/plugins/kubernetes/auth_providers.go @@ -3,7 +3,7 @@ package kubernetes import ( "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/auth" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/auth" ) var kubeAuthProviders map[string]auth.KubeAuthProvider diff --git a/src/jetstream/plugins/kubernetes/config/kube_config.go b/src/jetstream/plugins/kubernetes/config/kube_config.go index 350e41a1e..743c7e980 100644 --- a/src/jetstream/plugins/kubernetes/config/kube_config.go +++ b/src/jetstream/plugins/kubernetes/config/kube_config.go @@ -6,7 +6,7 @@ import ( "net/url" "reflect" - "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" + "github.com/cloudfoundry/stratos/src/jetstream/api/config" "gopkg.in/yaml.v2" ) diff --git a/src/jetstream/plugins/kubernetes/dashboard/common.go b/src/jetstream/plugins/kubernetes/dashboard/common.go index 5643f6586..4a9978f9a 100644 --- a/src/jetstream/plugins/kubernetes/dashboard/common.go +++ b/src/jetstream/plugins/kubernetes/dashboard/common.go @@ -6,7 +6,7 @@ import ( "fmt" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" diff --git a/src/jetstream/plugins/kubernetes/dashboard/configure.go b/src/jetstream/plugins/kubernetes/dashboard/configure.go index 89550d44d..d1c4c5adc 100644 --- a/src/jetstream/plugins/kubernetes/dashboard/configure.go +++ b/src/jetstream/plugins/kubernetes/dashboard/configure.go @@ -9,7 +9,7 @@ import ( "net/http" "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" log "github.com/sirupsen/logrus" "gopkg.in/yaml.v2" ) diff --git a/src/jetstream/plugins/kubernetes/dashboard/login.go b/src/jetstream/plugins/kubernetes/dashboard/login.go index 5dbe7bc0e..53ac8d65d 100644 --- a/src/jetstream/plugins/kubernetes/dashboard/login.go +++ b/src/jetstream/plugins/kubernetes/dashboard/login.go @@ -9,7 +9,7 @@ import ( "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) type loginResponse struct { diff --git a/src/jetstream/plugins/kubernetes/dashboard/proxy.go b/src/jetstream/plugins/kubernetes/dashboard/proxy.go index 76d28e518..7bc004fb6 100644 --- a/src/jetstream/plugins/kubernetes/dashboard/proxy.go +++ b/src/jetstream/plugins/kubernetes/dashboard/proxy.go @@ -7,7 +7,7 @@ import ( "net/url" "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" utilnet "k8s.io/apimachinery/pkg/util/net" diff --git a/src/jetstream/plugins/kubernetes/dashboard/status.go b/src/jetstream/plugins/kubernetes/dashboard/status.go index 282716745..f46561c98 100644 --- a/src/jetstream/plugins/kubernetes/dashboard/status.go +++ b/src/jetstream/plugins/kubernetes/dashboard/status.go @@ -1,7 +1,7 @@ package dashboard import ( - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) const stratosServiceAccountSelector = "stratos-role%3Dkubernetes-dashboard-user" diff --git a/src/jetstream/plugins/kubernetes/endpoint_config.go b/src/jetstream/plugins/kubernetes/endpoint_config.go index 81bf99a26..f2c6b4bfa 100644 --- a/src/jetstream/plugins/kubernetes/endpoint_config.go +++ b/src/jetstream/plugins/kubernetes/endpoint_config.go @@ -10,7 +10,7 @@ import ( "k8s.io/client-go/tools/clientcmd" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // GetConfigForEndpoint gets a config for the Kubernetes go-client for the specified endpoint diff --git a/src/jetstream/plugins/kubernetes/get_release.go b/src/jetstream/plugins/kubernetes/get_release.go index 14e2797ae..9ce645183 100644 --- a/src/jetstream/plugins/kubernetes/get_release.go +++ b/src/jetstream/plugins/kubernetes/get_release.go @@ -12,8 +12,8 @@ import ( "helm.sh/helm/v3/pkg/action" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/helm" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/helm" ) const ( diff --git a/src/jetstream/plugins/kubernetes/go.mod b/src/jetstream/plugins/kubernetes/go.mod index e853871f6..901690940 100644 --- a/src/jetstream/plugins/kubernetes/go.mod +++ b/src/jetstream/plugins/kubernetes/go.mod @@ -1,12 +1,12 @@ -module github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes +module github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes go 1.21 toolchain go1.21.5 require ( - github.com/cloudfoundry-community/stratos/src/jetstream/api v0.0.0-00010101000000-000000000000 - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/auth v0.0.0-00010101000000-000000000000 + github.com/cloudfoundry/stratos/src/jetstream/api v0.0.0-00010101000000-000000000000 + github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/auth v0.0.0-00010101000000-000000000000 github.com/gorilla/websocket v1.5.0 github.com/labstack/echo/v4 v4.11.3 github.com/satori/go.uuid v1.2.0 @@ -172,9 +172,9 @@ require ( replace ( github.com/SermoDigital/jose => github.com/SermoDigital/jose v0.9.2-0.20180104203859-803625baeddc - github.com/cloudfoundry-community/stratos/src/jetstream => ../../../jetstream - github.com/cloudfoundry-community/stratos/src/jetstream/api => ../../../jetstream/api - github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/auth => ./auth + github.com/cloudfoundry/stratos/src/jetstream => ../../../jetstream + github.com/cloudfoundry/stratos/src/jetstream/api => ../../../jetstream/api + github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/auth => ./auth github.com/docker/docker => github.com/moby/moby v0.7.3-0.20190826074503-38ab9da00309 github.com/kubernetes-sigs/aws-iam-authenticator => github.com/kubernetes-sigs/aws-iam-authenticator v0.3.1-0.20190111160901-390d9087a4bc github.com/russross/blackfriday v2.0.0+incompatible => github.com/russross/blackfriday v1.5.2 diff --git a/src/jetstream/plugins/kubernetes/helm/job.go b/src/jetstream/plugins/kubernetes/helm/job.go index 700b3c7a3..6d7f7a1a3 100644 --- a/src/jetstream/plugins/kubernetes/helm/job.go +++ b/src/jetstream/plugins/kubernetes/helm/job.go @@ -3,7 +3,7 @@ package helm import ( log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // KubeResourceJob = Resource(s) that we need to go and fetch diff --git a/src/jetstream/plugins/kubernetes/helm/release.go b/src/jetstream/plugins/kubernetes/helm/release.go index 7281498be..b1461de2e 100644 --- a/src/jetstream/plugins/kubernetes/helm/release.go +++ b/src/jetstream/plugins/kubernetes/helm/release.go @@ -9,7 +9,7 @@ import ( "reflect" "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" log "github.com/sirupsen/logrus" "helm.sh/helm/v3/pkg/release" appsv1 "k8s.io/api/apps/v1" diff --git a/src/jetstream/plugins/kubernetes/install_release.go b/src/jetstream/plugins/kubernetes/install_release.go index e3a554a35..703619c3c 100644 --- a/src/jetstream/plugins/kubernetes/install_release.go +++ b/src/jetstream/plugins/kubernetes/install_release.go @@ -17,7 +17,7 @@ import ( "helm.sh/helm/v3/pkg/chart" "helm.sh/helm/v3/pkg/chart/loader" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) const chartCollection = "charts" diff --git a/src/jetstream/plugins/kubernetes/kube_dashboard.go b/src/jetstream/plugins/kubernetes/kube_dashboard.go index 146033c4f..814318431 100644 --- a/src/jetstream/plugins/kubernetes/kube_dashboard.go +++ b/src/jetstream/plugins/kubernetes/kube_dashboard.go @@ -9,8 +9,8 @@ import ( log "github.com/sirupsen/logrus" "k8s.io/client-go/rest" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/dashboard" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/dashboard" ) // Get the config for the endpoint diff --git a/src/jetstream/plugins/kubernetes/list_releases.go b/src/jetstream/plugins/kubernetes/list_releases.go index 77438b2b4..3dd2e9d53 100644 --- a/src/jetstream/plugins/kubernetes/list_releases.go +++ b/src/jetstream/plugins/kubernetes/list_releases.go @@ -6,7 +6,7 @@ import ( "helm.sh/helm/v3/pkg/action" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // ListReleases will list the helm releases for all endpoints diff --git a/src/jetstream/plugins/kubernetes/main.go b/src/jetstream/plugins/kubernetes/main.go index 480331907..a9e9127ea 100644 --- a/src/jetstream/plugins/kubernetes/main.go +++ b/src/jetstream/plugins/kubernetes/main.go @@ -11,13 +11,13 @@ import ( "errors" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/auth" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/auth" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/terminal" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/terminal" ) // KubernetesSpecification is the endpoint that adds Kubernetes support to the backend diff --git a/src/jetstream/plugins/kubernetes/terminal/helpers.go b/src/jetstream/plugins/kubernetes/terminal/helpers.go index 664c9bf6d..955c1915a 100644 --- a/src/jetstream/plugins/kubernetes/terminal/helpers.go +++ b/src/jetstream/plugins/kubernetes/terminal/helpers.go @@ -13,8 +13,8 @@ import ( uuid "github.com/satori/go.uuid" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/auth" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/auth" "github.com/gorilla/websocket" v1 "k8s.io/api/core/v1" diff --git a/src/jetstream/plugins/kubernetes/terminal/start.go b/src/jetstream/plugins/kubernetes/terminal/start.go index 2064828ed..aa50e902c 100644 --- a/src/jetstream/plugins/kubernetes/terminal/start.go +++ b/src/jetstream/plugins/kubernetes/terminal/start.go @@ -14,7 +14,7 @@ import ( "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/gorilla/websocket" ) diff --git a/src/jetstream/plugins/kubernetes/terminal/terminal.go b/src/jetstream/plugins/kubernetes/terminal/terminal.go index 1bd00835d..74b91ad36 100644 --- a/src/jetstream/plugins/kubernetes/terminal/terminal.go +++ b/src/jetstream/plugins/kubernetes/terminal/terminal.go @@ -4,9 +4,9 @@ import ( "fmt" "io/ioutil" - jetstream_api "github.com/cloudfoundry-community/stratos/src/jetstream/api" - jetstream_config "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/api" + jetstream_api "github.com/cloudfoundry/stratos/src/jetstream/api" + jetstream_config "github.com/cloudfoundry/stratos/src/jetstream/api/config" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/api" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/metrics/cloud_foundry.go b/src/jetstream/plugins/metrics/cloud_foundry.go index 68afe4a1b..497feeaaf 100644 --- a/src/jetstream/plugins/metrics/cloud_foundry.go +++ b/src/jetstream/plugins/metrics/cloud_foundry.go @@ -9,7 +9,7 @@ import ( "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) var ( diff --git a/src/jetstream/plugins/metrics/main.go b/src/jetstream/plugins/metrics/main.go index 01fc6b3f3..8b4806e56 100644 --- a/src/jetstream/plugins/metrics/main.go +++ b/src/jetstream/plugins/metrics/main.go @@ -10,8 +10,8 @@ import ( "net/url" "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/tokens" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/repository/tokens" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/monocular/artifacthub.go b/src/jetstream/plugins/monocular/artifacthub.go index fa49e8109..1ba494fe9 100644 --- a/src/jetstream/plugins/monocular/artifacthub.go +++ b/src/jetstream/plugins/monocular/artifacthub.go @@ -13,7 +13,7 @@ import ( "strings" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/monocular/store" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/monocular/store" "github.com/labstack/echo/v4" yaml "gopkg.in/yaml.v2" ) diff --git a/src/jetstream/plugins/monocular/cache.go b/src/jetstream/plugins/monocular/cache.go index 8df58eace..3b69f7411 100644 --- a/src/jetstream/plugins/monocular/cache.go +++ b/src/jetstream/plugins/monocular/cache.go @@ -16,7 +16,7 @@ import ( "path/filepath" "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/monocular/store" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/monocular/store" log "github.com/sirupsen/logrus" yaml "gopkg.in/yaml.v2" ) diff --git a/src/jetstream/plugins/monocular/chart_svc.go b/src/jetstream/plugins/monocular/chart_svc.go index 5d4d127c2..cabaec3f2 100644 --- a/src/jetstream/plugins/monocular/chart_svc.go +++ b/src/jetstream/plugins/monocular/chart_svc.go @@ -7,7 +7,7 @@ import ( "os" "path" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/monocular/store" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/monocular/store" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/monocular/endpoint.go b/src/jetstream/plugins/monocular/endpoint.go index d95966589..e6797a0bc 100644 --- a/src/jetstream/plugins/monocular/endpoint.go +++ b/src/jetstream/plugins/monocular/endpoint.go @@ -5,7 +5,7 @@ import ( "fmt" "net/url" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/monocular/go.mod b/src/jetstream/plugins/monocular/go.mod index 934f5656a..aa7f09b67 100644 --- a/src/jetstream/plugins/monocular/go.mod +++ b/src/jetstream/plugins/monocular/go.mod @@ -1,4 +1,4 @@ -module github.com/cloudfoundry-community/stratos/src/jetstream/plugins/monocular +module github.com/cloudfoundry/stratos/src/jetstream/plugins/monocular go 1.21 @@ -6,8 +6,8 @@ toolchain go1.21.5 require ( github.com/Masterminds/semver/v3 v3.2.1 - github.com/cloudfoundry-community/stratos/src/jetstream v0.0.0-00010101000000-000000000000 - github.com/cloudfoundry-community/stratos/src/jetstream/api v0.0.0-00010101000000-000000000000 + github.com/cloudfoundry/stratos/src/jetstream v0.0.0-00010101000000-000000000000 + github.com/cloudfoundry/stratos/src/jetstream/api v0.0.0-00010101000000-000000000000 github.com/labstack/echo/v4 v4.11.3 github.com/pressly/goose v2.7.0+incompatible github.com/satori/go.uuid v1.2.0 @@ -43,12 +43,12 @@ require ( gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect ) -replace github.com/cloudfoundry-community/stratos/src/jetstream => ../../ +replace github.com/cloudfoundry/stratos/src/jetstream => ../../ -replace github.com/cloudfoundry-community/stratos/src/jetstream/api => ../../api +replace github.com/cloudfoundry/stratos/src/jetstream/api => ../../api -replace github.com/cloudfoundry-community/stratos/src/jetstream/plugins/cfapppush => ../cfapppush +replace github.com/cloudfoundry/stratos/src/jetstream/plugins/cfapppush => ../cfapppush -replace github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes => ../kubernetes +replace github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes => ../kubernetes -replace github.com/cloudfoundry-community/stratos/src/jetstream/plugins/kubernetes/auth => ../kubernetes/auth +replace github.com/cloudfoundry/stratos/src/jetstream/plugins/kubernetes/auth => ../kubernetes/auth diff --git a/src/jetstream/plugins/monocular/main.go b/src/jetstream/plugins/monocular/main.go index 900f10e89..d56fe367d 100644 --- a/src/jetstream/plugins/monocular/main.go +++ b/src/jetstream/plugins/monocular/main.go @@ -7,8 +7,8 @@ import ( "path/filepath" "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/monocular/store" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/monocular/store" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/monocular/repository.go b/src/jetstream/plugins/monocular/repository.go index 26ca5b0f6..b3f6bd7fd 100644 --- a/src/jetstream/plugins/monocular/repository.go +++ b/src/jetstream/plugins/monocular/repository.go @@ -4,7 +4,7 @@ import ( "encoding/json" "io/ioutil" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/monocular/store/chart_store_db.go b/src/jetstream/plugins/monocular/store/chart_store_db.go index b89ddad65..8b2d5b63f 100644 --- a/src/jetstream/plugins/monocular/store/chart_store_db.go +++ b/src/jetstream/plugins/monocular/store/chart_store_db.go @@ -6,7 +6,7 @@ import ( "fmt" "sort" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/monocular/sync.go b/src/jetstream/plugins/monocular/sync.go index 0bc89885e..2a3118c2d 100644 --- a/src/jetstream/plugins/monocular/sync.go +++ b/src/jetstream/plugins/monocular/sync.go @@ -3,7 +3,7 @@ package monocular import ( "encoding/json" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/monocular/sync_worker.go b/src/jetstream/plugins/monocular/sync_worker.go index bc1195ab5..7cbdfee01 100644 --- a/src/jetstream/plugins/monocular/sync_worker.go +++ b/src/jetstream/plugins/monocular/sync_worker.go @@ -7,7 +7,7 @@ import ( yaml "gopkg.in/yaml.v2" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/monocular/store" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/monocular/store" uuid "github.com/satori/go.uuid" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/userfavorites/favorites.go b/src/jetstream/plugins/userfavorites/favorites.go index a824593f0..0d2980a38 100644 --- a/src/jetstream/plugins/userfavorites/favorites.go +++ b/src/jetstream/plugins/userfavorites/favorites.go @@ -8,10 +8,10 @@ import ( "net/http" "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/userfavorites/userfavoritesstore" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/userfavorites/userfavoritesstore" "github.com/labstack/echo/v4" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) func (uf *UserFavorites) getAll(c echo.Context) error { diff --git a/src/jetstream/plugins/userfavorites/main.go b/src/jetstream/plugins/userfavorites/main.go index 37fea8549..cbf3b3923 100644 --- a/src/jetstream/plugins/userfavorites/main.go +++ b/src/jetstream/plugins/userfavorites/main.go @@ -3,8 +3,8 @@ package userfavorites import ( "errors" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/userfavorites/userfavoritesstore" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/userfavorites/userfavoritesstore" "github.com/labstack/echo/v4" ) diff --git a/src/jetstream/plugins/userfavorites/userfavoritesendpoints/main.go b/src/jetstream/plugins/userfavorites/userfavoritesendpoints/main.go index 25c51ce0b..46fa7c40b 100644 --- a/src/jetstream/plugins/userfavorites/userfavoritesendpoints/main.go +++ b/src/jetstream/plugins/userfavorites/userfavoritesendpoints/main.go @@ -1,8 +1,8 @@ package userfavoritesendpoints import ( - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/plugins/userfavorites/userfavoritesstore" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/plugins/userfavorites/userfavoritesstore" ) type userFavoriteEndpoints struct { diff --git a/src/jetstream/plugins/userfavorites/userfavoritesstore/favorites-store-db.go b/src/jetstream/plugins/userfavorites/userfavoritesstore/favorites-store-db.go index e5deb0dd3..2523d4036 100644 --- a/src/jetstream/plugins/userfavorites/userfavoritesstore/favorites-store-db.go +++ b/src/jetstream/plugins/userfavorites/userfavoritesstore/favorites-store-db.go @@ -7,7 +7,7 @@ import ( log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" ) var ( diff --git a/src/jetstream/plugins/userinfo/local_user.go b/src/jetstream/plugins/userinfo/local_user.go index 64571058e..97db5ad50 100644 --- a/src/jetstream/plugins/userinfo/local_user.go +++ b/src/jetstream/plugins/userinfo/local_user.go @@ -6,8 +6,8 @@ import ( "golang.org/x/crypto/bcrypt" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/localusers" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/repository/localusers" ) // LocalUserInfo is a plugin to fetch user info diff --git a/src/jetstream/plugins/userinfo/main.go b/src/jetstream/plugins/userinfo/main.go index 35401d65a..8e7f0b1b0 100644 --- a/src/jetstream/plugins/userinfo/main.go +++ b/src/jetstream/plugins/userinfo/main.go @@ -8,7 +8,7 @@ import ( log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" ) diff --git a/src/jetstream/plugins/userinfo/noauth_user.go b/src/jetstream/plugins/userinfo/noauth_user.go index 22cb68207..14a76edf5 100644 --- a/src/jetstream/plugins/userinfo/noauth_user.go +++ b/src/jetstream/plugins/userinfo/noauth_user.go @@ -5,7 +5,7 @@ import ( "errors" "net/http" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // NoAuthUserInfo is a plugin for no authentication diff --git a/src/jetstream/plugins/userinfo/uaa_user.go b/src/jetstream/plugins/userinfo/uaa_user.go index 96ddddb17..6c7c02c2c 100644 --- a/src/jetstream/plugins/userinfo/uaa_user.go +++ b/src/jetstream/plugins/userinfo/uaa_user.go @@ -10,7 +10,7 @@ import ( "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // UaaUserInfo for UAA User Info diff --git a/src/jetstream/plugins/userinvite/admin.go b/src/jetstream/plugins/userinvite/admin.go index d46ac7238..50f6b7331 100644 --- a/src/jetstream/plugins/userinvite/admin.go +++ b/src/jetstream/plugins/userinvite/admin.go @@ -9,7 +9,7 @@ import ( "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) type StatusResponse struct { diff --git a/src/jetstream/plugins/userinvite/auth.go b/src/jetstream/plugins/userinvite/auth.go index f27f1405d..e07205748 100644 --- a/src/jetstream/plugins/userinvite/auth.go +++ b/src/jetstream/plugins/userinvite/auth.go @@ -14,7 +14,7 @@ import ( "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // RefreshToken will refresh the token for the client diff --git a/src/jetstream/plugins/userinvite/config.go b/src/jetstream/plugins/userinvite/config.go index 5783a5e7d..10d635da2 100644 --- a/src/jetstream/plugins/userinvite/config.go +++ b/src/jetstream/plugins/userinvite/config.go @@ -7,7 +7,7 @@ import ( "path" text "text/template" - "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" + "github.com/cloudfoundry/stratos/src/jetstream/api/config" "github.com/govau/cf-common/env" log "github.com/sirupsen/logrus" diff --git a/src/jetstream/plugins/userinvite/email.go b/src/jetstream/plugins/userinvite/email.go index 9e9bbcc66..914b091b0 100644 --- a/src/jetstream/plugins/userinvite/email.go +++ b/src/jetstream/plugins/userinvite/email.go @@ -7,7 +7,7 @@ import ( "net/smtp" "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/domodwyer/mailyak" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/userinvite/endpoint.go b/src/jetstream/plugins/userinvite/endpoint.go index 331e30f8b..5765b3919 100644 --- a/src/jetstream/plugins/userinvite/endpoint.go +++ b/src/jetstream/plugins/userinvite/endpoint.go @@ -3,7 +3,7 @@ package userinvite import ( "errors" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" diff --git a/src/jetstream/plugins/userinvite/invite.go b/src/jetstream/plugins/userinvite/invite.go index 9e868252d..d5c397210 100644 --- a/src/jetstream/plugins/userinvite/invite.go +++ b/src/jetstream/plugins/userinvite/invite.go @@ -14,7 +14,7 @@ import ( "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // CFError is the error info returned from the CF API diff --git a/src/jetstream/plugins/userinvite/main.go b/src/jetstream/plugins/userinvite/main.go index 396c96183..eeb8287f0 100644 --- a/src/jetstream/plugins/userinvite/main.go +++ b/src/jetstream/plugins/userinvite/main.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/plugins/yamlgenerated/main.go b/src/jetstream/plugins/yamlgenerated/main.go index c70bbe018..0792c770c 100644 --- a/src/jetstream/plugins/yamlgenerated/main.go +++ b/src/jetstream/plugins/yamlgenerated/main.go @@ -10,7 +10,7 @@ import ( "net/url" "strings" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/labstack/echo/v4" "gopkg.in/yaml.v2" diff --git a/src/jetstream/portal_config.go b/src/jetstream/portal_config.go index 3f721e335..c2d4232f0 100644 --- a/src/jetstream/portal_config.go +++ b/src/jetstream/portal_config.go @@ -1,7 +1,7 @@ package main import ( - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/govau/cf-common/env" ) diff --git a/src/jetstream/portal_proxy.go b/src/jetstream/portal_proxy.go index 8ef7a3f82..65384486d 100644 --- a/src/jetstream/portal_proxy.go +++ b/src/jetstream/portal_proxy.go @@ -5,8 +5,8 @@ import ( "regexp" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/apikeys" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/repository/apikeys" "github.com/gorilla/sessions" "github.com/govau/cf-common/env" "github.com/labstack/echo/v4" diff --git a/src/jetstream/repository/apikeys/apikeys.go b/src/jetstream/repository/apikeys/apikeys.go index 4a100f402..657fc076a 100644 --- a/src/jetstream/repository/apikeys/apikeys.go +++ b/src/jetstream/repository/apikeys/apikeys.go @@ -1,6 +1,6 @@ package apikeys -import "github.com/cloudfoundry-community/stratos/src/jetstream/api" +import "github.com/cloudfoundry/stratos/src/jetstream/api" // Repository - API keys repository type Repository interface { diff --git a/src/jetstream/repository/apikeys/mock/mock_apikeys.go b/src/jetstream/repository/apikeys/mock/mock_apikeys.go index a53e8896d..8884ffd84 100644 --- a/src/jetstream/repository/apikeys/mock/mock_apikeys.go +++ b/src/jetstream/repository/apikeys/mock/mock_apikeys.go @@ -7,7 +7,7 @@ package mock_apikeys import ( reflect "reflect" - api "github.com/cloudfoundry-community/stratos/src/jetstream/api" + api "github.com/cloudfoundry/stratos/src/jetstream/api" gomock "github.com/golang/mock/gomock" ) diff --git a/src/jetstream/repository/apikeys/psql_apikeys.go b/src/jetstream/repository/apikeys/psql_apikeys.go index 94bdbce7b..ae01fd773 100644 --- a/src/jetstream/repository/apikeys/psql_apikeys.go +++ b/src/jetstream/repository/apikeys/psql_apikeys.go @@ -8,9 +8,9 @@ import ( "reflect" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/crypto" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/crypto" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" uuid "github.com/satori/go.uuid" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/repository/apikeys/psql_apikeys_test.go b/src/jetstream/repository/apikeys/psql_apikeys_test.go index b61012992..e574d599c 100644 --- a/src/jetstream/repository/apikeys/psql_apikeys_test.go +++ b/src/jetstream/repository/apikeys/psql_apikeys_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" . "github.com/smartystreets/goconvey/convey" "gopkg.in/DATA-DOG/go-sqlmock.v1" ) diff --git a/src/jetstream/repository/cnsis/pgsql_cnsis.go b/src/jetstream/repository/cnsis/pgsql_cnsis.go index e289eba50..42c30cdd2 100644 --- a/src/jetstream/repository/cnsis/pgsql_cnsis.go +++ b/src/jetstream/repository/cnsis/pgsql_cnsis.go @@ -6,9 +6,9 @@ import ( "fmt" "net/url" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/crypto" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/crypto" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/repository/cnsis/pgsql_cnsis_test.go b/src/jetstream/repository/cnsis/pgsql_cnsis_test.go index dddf2f3ce..c38b32edb 100644 --- a/src/jetstream/repository/cnsis/pgsql_cnsis_test.go +++ b/src/jetstream/repository/cnsis/pgsql_cnsis_test.go @@ -7,8 +7,8 @@ import ( "gopkg.in/DATA-DOG/go-sqlmock.v1" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/testutils" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/testutils" . "github.com/smartystreets/goconvey/convey" ) diff --git a/src/jetstream/repository/console_config/console_config.go b/src/jetstream/repository/console_config/console_config.go index ac7a15198..ccc0de156 100644 --- a/src/jetstream/repository/console_config/console_config.go +++ b/src/jetstream/repository/console_config/console_config.go @@ -1,7 +1,7 @@ package console_config import ( - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) type Repository interface { diff --git a/src/jetstream/repository/console_config/env_lookup.go b/src/jetstream/repository/console_config/env_lookup.go index 9e892cfc2..0dce1e6da 100644 --- a/src/jetstream/repository/console_config/env_lookup.go +++ b/src/jetstream/repository/console_config/env_lookup.go @@ -6,7 +6,7 @@ import ( "github.com/govau/cf-common/env" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) const ( diff --git a/src/jetstream/repository/console_config/psql_console_config.go b/src/jetstream/repository/console_config/psql_console_config.go index e58d24aca..0a7d822e1 100644 --- a/src/jetstream/repository/console_config/psql_console_config.go +++ b/src/jetstream/repository/console_config/psql_console_config.go @@ -8,8 +8,8 @@ import ( log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" ) // Legacy diff --git a/src/jetstream/repository/goose-db-version/goose-db-version.go b/src/jetstream/repository/goose-db-version/goose-db-version.go index 343231627..c21379f8e 100644 --- a/src/jetstream/repository/goose-db-version/goose-db-version.go +++ b/src/jetstream/repository/goose-db-version/goose-db-version.go @@ -1,7 +1,7 @@ package goosedbversion import ( - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // Repository - the repository required to talk to this table of data diff --git a/src/jetstream/repository/goose-db-version/pgsql_goose_db_version.go b/src/jetstream/repository/goose-db-version/pgsql_goose_db_version.go index 4e35f08b3..240a7a2f0 100644 --- a/src/jetstream/repository/goose-db-version/pgsql_goose_db_version.go +++ b/src/jetstream/repository/goose-db-version/pgsql_goose_db_version.go @@ -8,8 +8,8 @@ import ( log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/custom_errors" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/custom_errors" ) const ( diff --git a/src/jetstream/repository/goose-db-version/pgsql_goose_db_version_test.go b/src/jetstream/repository/goose-db-version/pgsql_goose_db_version_test.go index 1aa5058e5..9e4c8ee2b 100644 --- a/src/jetstream/repository/goose-db-version/pgsql_goose_db_version_test.go +++ b/src/jetstream/repository/goose-db-version/pgsql_goose_db_version_test.go @@ -8,8 +8,8 @@ import ( . "github.com/smartystreets/goconvey/convey" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/custom_errors" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/custom_errors" ) func TestPgSQLGooseDB(t *testing.T) { diff --git a/src/jetstream/repository/localusers/localusers.go b/src/jetstream/repository/localusers/localusers.go index 0d11ffb60..a05cdb731 100644 --- a/src/jetstream/repository/localusers/localusers.go +++ b/src/jetstream/repository/localusers/localusers.go @@ -3,7 +3,7 @@ package localusers import ( "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" ) // Repository is an application of the repository pattern for storing local users diff --git a/src/jetstream/repository/localusers/psql_localusers.go b/src/jetstream/repository/localusers/psql_localusers.go index 1381143ec..647d69605 100644 --- a/src/jetstream/repository/localusers/psql_localusers.go +++ b/src/jetstream/repository/localusers/psql_localusers.go @@ -6,8 +6,8 @@ import ( "fmt" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/repository/sessiondata/psql_sessiondata.go b/src/jetstream/repository/sessiondata/psql_sessiondata.go index fadd1ae63..6b383967d 100644 --- a/src/jetstream/repository/sessiondata/psql_sessiondata.go +++ b/src/jetstream/repository/sessiondata/psql_sessiondata.go @@ -8,8 +8,8 @@ import ( log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" ) var getSessionDataValues = `SELECT name, value FROM session_data WHERE expired=false AND session=$1 AND groupName = $1` diff --git a/src/jetstream/repository/tokens/pgsql_tokens.go b/src/jetstream/repository/tokens/pgsql_tokens.go index 92e4bb272..d0b31907f 100644 --- a/src/jetstream/repository/tokens/pgsql_tokens.go +++ b/src/jetstream/repository/tokens/pgsql_tokens.go @@ -5,9 +5,9 @@ import ( "errors" "fmt" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/crypto" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/crypto" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" uuid "github.com/satori/go.uuid" log "github.com/sirupsen/logrus" ) diff --git a/src/jetstream/repository/tokens/pgsql_tokens_test.go b/src/jetstream/repository/tokens/pgsql_tokens_test.go index ace6a3834..0975734eb 100644 --- a/src/jetstream/repository/tokens/pgsql_tokens_test.go +++ b/src/jetstream/repository/tokens/pgsql_tokens_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" . "github.com/smartystreets/goconvey/convey" "gopkg.in/DATA-DOG/go-sqlmock.v1" ) diff --git a/src/jetstream/session.go b/src/jetstream/session.go index 0de501ff7..1af184e29 100644 --- a/src/jetstream/session.go +++ b/src/jetstream/session.go @@ -12,8 +12,8 @@ import ( "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/crypto" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/crypto" ) const ( diff --git a/src/jetstream/session_test.go b/src/jetstream/session_test.go index 2a743297e..7be6e7baf 100644 --- a/src/jetstream/session_test.go +++ b/src/jetstream/session_test.go @@ -5,7 +5,7 @@ import ( "net/http" "testing" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api" "github.com/gorilla/sessions" "github.com/labstack/echo/v4" . "github.com/smartystreets/goconvey/convey" diff --git a/src/jetstream/setup_console.go b/src/jetstream/setup_console.go index 545e1615d..ed1e94eda 100644 --- a/src/jetstream/setup_console.go +++ b/src/jetstream/setup_console.go @@ -14,11 +14,11 @@ import ( uuid "github.com/satori/go.uuid" log "github.com/sirupsen/logrus" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/api/config" - "github.com/cloudfoundry-community/stratos/src/jetstream/crypto" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/console_config" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/localusers" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/api/config" + "github.com/cloudfoundry/stratos/src/jetstream/crypto" + "github.com/cloudfoundry/stratos/src/jetstream/repository/console_config" + "github.com/cloudfoundry/stratos/src/jetstream/repository/localusers" ) const ( diff --git a/src/jetstream/setup_console_test.go b/src/jetstream/setup_console_test.go index d78922e1b..1216cc81a 100644 --- a/src/jetstream/setup_console_test.go +++ b/src/jetstream/setup_console_test.go @@ -3,8 +3,8 @@ package main import ( "testing" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/console_config" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/repository/console_config" "github.com/govau/cf-common/env" . "github.com/smartystreets/goconvey/convey" diff --git a/src/jetstream/testutils/testhelpers.go b/src/jetstream/testutils/testhelpers.go index ad50003c5..cacc45fbd 100644 --- a/src/jetstream/testutils/testhelpers.go +++ b/src/jetstream/testutils/testhelpers.go @@ -4,10 +4,10 @@ import ( "net/url" "time" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - "github.com/cloudfoundry-community/stratos/src/jetstream/crypto" - "github.com/cloudfoundry-community/stratos/src/jetstream/datastore" - "github.com/cloudfoundry-community/stratos/src/jetstream/repository/tokens" + "github.com/cloudfoundry/stratos/src/jetstream/api" + "github.com/cloudfoundry/stratos/src/jetstream/crypto" + "github.com/cloudfoundry/stratos/src/jetstream/datastore" + "github.com/cloudfoundry/stratos/src/jetstream/repository/tokens" "gopkg.in/DATA-DOG/go-sqlmock.v1" ) diff --git a/src/jetstream/version_info.go b/src/jetstream/version_info.go index ad54d9151..4f1a582c8 100644 --- a/src/jetstream/version_info.go +++ b/src/jetstream/version_info.go @@ -4,8 +4,8 @@ import ( "errors" "net/http" - "github.com/cloudfoundry-community/stratos/src/jetstream/api" - goosedbversion "github.com/cloudfoundry-community/stratos/src/jetstream/repository/goose-db-version" + "github.com/cloudfoundry/stratos/src/jetstream/api" + goosedbversion "github.com/cloudfoundry/stratos/src/jetstream/repository/goose-db-version" "github.com/labstack/echo/v4" log "github.com/sirupsen/logrus" )