Skip to content

Fixes in Tethys CLI for Creating THREDDS Services#1272

Open
jakeymac wants to merge 3 commits into
mainfrom
spatial-dataset-cli-fix
Open

Fixes in Tethys CLI for Creating THREDDS Services#1272
jakeymac wants to merge 3 commits into
mainfrom
spatial-dataset-cli-fix

Conversation

@jakeymac
Copy link
Copy Markdown
Contributor

@jakeymac jakeymac commented May 15, 2026

Description

This merge request addresses an inconsistency in the CLI command for creating a spatial dataset service. This addresses issues in creating THREDDS services as they don't often require usernames and passwords that are a required part of the connection argument.

Changes Made to Code

  • Made the connection argument no longer required
  • Added an endpoint requirement to be used instead of including the endpoint in a connection argument.

Quality Checks

  • At least one new test has been written for new code
  • New code has 100% test coverage
  • Code has been formatted with Black
  • Code has been linted with flake8
  • Docstrings for new methods have been added
  • The documentation has been updated appropriately

@coveralls
Copy link
Copy Markdown

coveralls commented May 15, 2026

Coverage Status

Coverage is 99.993%spatial-dataset-cli-fix into main. No base build found for main.

service_username = cred_parts[0]
service_password = cred_parts[1]
endpoint = parts[1]
if connection:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are endpoint and connection mutually exclusive? If so, we need to check and throw an error if neither are provided.

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

Successfully merging this pull request may close these issues.

3 participants