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

Drop source ANALYTICS #505

Merged
merged 2 commits into from
Dec 4, 2023
Merged

Drop source ANALYTICS #505

merged 2 commits into from
Dec 4, 2023

Conversation

iliascholl-up42
Copy link
Contributor

@iliascholl-up42 iliascholl-up42 commented Dec 1, 2023

Tracked in Jira

This depends on https://github.com/up42/asset-service/pull/558

Items:

  • Ran test & live-tests
  • Implemented (new) unit tests
  • Removed credentials
  • Removed argument pointing to staging
  • Updated documentation

For release:

  • Bumped version
  • Added changelog
  • Updated announcement banner

Copy link
Contributor

@seedlit seedlit left a comment

Choose a reason for hiding this comment

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

Thanks @iliascholl-up42 :)
left a small suggestion.

@@ -141,7 +141,7 @@ def get_assets(
producer_names: Search for assets from any of the provided producers.
tags: Search for assets with any of the provided tags.
sources: Search for assets from any of the provided sources.\
The allowed values: `"ARCHIVE"`, `"TASKING"`, `"ANALYTICS"`, `"USER"`.
The allowed values: `"ARCHIVE"`, `"TASKING"`, `"USER"`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
The allowed values: `"ARCHIVE"`, `"TASKING"`, `"USER"`.
The allowed values: `"ARCHIVE"`, `"TASKING"`, `"PROCESSING"`, `"USER"`.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh, wow! I failed to see that there is no PROCESSING source in that list.
Still, we shouldn't be adding it here since the API will not return any assets with the PROCESSING source on the list assets endpoint

@seedlit
Copy link
Contributor

seedlit commented Dec 1, 2023

@iliascholl-up42 do not merge yet!

pyproject.toml Outdated
@@ -1,6 +1,6 @@
[tool.poetry]
name = "up42-py"
version = "0.33.1"
version = "0.33.2"
Copy link
Contributor

Choose a reason for hiding this comment

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

@iliascholl-up42
I completely forgot.
We don't need to bump version since we are not releasing a new version. We can release it with a bunch of other PRs related to v2 endpoint migration.

Or, do you want to release a new SDK version for this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no, we don't need to release this one, I think. In the worst case, the customer will try to get assets for source ANALYTICS and encounter a bad request. The chance is rather low, I think.
I'll revert the change of the version then

Copy link

sonarcloud bot commented Dec 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@seedlit seedlit merged commit 746ab89 into master Dec 4, 2023
4 checks passed
@seedlit seedlit deleted the AT-4138/drop-source-analytics branch December 4, 2023 09:08
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.

2 participants