Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove references to Ports 30080 and 30443 #2610

Open
artntek opened this issue Feb 5, 2025 · 0 comments
Open

Remove references to Ports 30080 and 30443 #2610

artntek opened this issue Feb 5, 2025 · 0 comments
Assignees

Comments

@artntek
Copy link
Contributor

artntek commented Feb 5, 2025

Ports 30080 and 30443 were originally used by clients of the MetaDig and BookKeeper instances hosted on Kubernetes clusters, but required special intervention to expose them, since standard Ingress only exposes ports 80 and 443.

Since we are now upgrading the ingress, we should remove all client-code references to these ports, so we no longer need to maintain this special config.

The ports are referenced in the following places:

$ egrep -riI "30[04][48][03]" . | egrep -v "node_modules|cesium"

### some refs in ./docs/docs/ and in docs/_site/docs:

./docs/docs/themes_knb_models_AppModel.js.html:      mdqBaseUrl: "https://docker-ucsb-4.dataone.org:30443/quality",
./docs/docs/js_models_AppModel.js.html:      * @default "https://docker-ucsb-4.dataone.org:30443/quality"
./docs/docs/js_models_AppModel.js.html:      mdqBaseUrl: "https://docker-ucsb-4.dataone.org:30443/quality",
./docs/docs/themes_arctic_models_AppModel.js.html:      mdqBaseUrl: "https://docker-ucsb-4.dataone.org:30443/quality",
./docs/docs/models_AppModel.js.html:      mdqBaseUrl: "https://docker-ucsb-4.dataone.org:30443/quality",
./docs/docs/themes_dataone_models_AppModel.js.html:      mdqBaseUrl: "https://docker-ucsb-4.dataone.org:30443/quality",
./docs/docs/src_js_models_AppModel.js.html:          bookkeeperBaseUrl: "https://api.test.dataone.org:30443/bookkeeper/v1",
./docs/_site/docs/themes_knb_models_AppModel.js.html:      mdqBaseUrl: "https://docker-ucsb-4.dataone.org:30443/quality",
./docs/_site/docs/js_models_AppModel.js.html:      * @default "https://docker-ucsb-4.dataone.org:30443/quality"
./docs/_site/docs/js_models_AppModel.js.html:      mdqBaseUrl: "https://docker-ucsb-4.dataone.org:30443/quality",
./docs/_site/docs/themes_arctic_models_AppModel.js.html:      mdqBaseUrl: "https://docker-ucsb-4.dataone.org:30443/quality",
./docs/_site/docs/models_AppModel.js.html:      mdqBaseUrl: "https://docker-ucsb-4.dataone.org:30443/quality",
./docs/_site/docs/themes_dataone_models_AppModel.js.html:      mdqBaseUrl: "https://docker-ucsb-4.dataone.org:30443/quality",

### ..and one in AppModel.js:
./src/js/models/AppModel.js:          bookkeeperBaseUrl: "https://api.test.dataone.org:30443/bookkeeper/v1",

all instances of docker-ucsb-4.dataone.org:30443 should be changed to api.dataone.org (no port number), so the URLs shoudl read as follows:

MetaDIG (mdq): https://api.dataone.org/quality
Bookkeeper: https://api.dataone.org/bookkeeper

Note that any urls of the form api.test.dataone.org should remain unchanged, but should NOT contain a port number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant