Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

feat: singularity swagger client #110

Merged
merged 19 commits into from
Sep 13, 2023
Merged

Conversation

elijaharita
Copy link
Contributor

@elijaharita elijaharita commented Sep 8, 2023

updates motion to use singularity's new swagger client instead of the old hand-written http/lib clients, which are removed in xinaxu's Storage/Preparation refactor

closes #81
closes #121 i think

@elijaharita elijaharita force-pushed the feat/singularity-swagger-client branch from 8d00228 to 173586a Compare September 8, 2023 05:53
@willscott willscott requested a review from masih September 8, 2023 06:19
Copy link
Contributor

@hannahhoward hannahhoward left a comment

Choose a reason for hiding this comment

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

A few suggestions but generally LGTM. Great job!

go.mod Outdated
@@ -3,167 +3,109 @@ module github.com/filecoin-project/motion
go 1.20

require (
github.com/data-preservation-programs/singularity v0.3.1-0.20230908045144-b48f89bbe21e
Copy link
Contributor

Choose a reason for hiding this comment

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

we should make sure before we merge this that we cut a Singularity v0.4.0 tag

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we may need v0.4.1 because it requires a bug fix from a PR i have open and 0.4.0 has already been merged (ListAttachedWallets swagger client returns models.ModelWallet when it should return []models.ModelWallet)

@elijaharita elijaharita force-pushed the feat/singularity-swagger-client branch from e6e1ab4 to 51f84bc Compare September 11, 2023 23:06
@elijaharita elijaharita marked this pull request as ready for review September 12, 2023 01:18
@elijaharita elijaharita force-pushed the feat/singularity-swagger-client branch from 15cfac6 to 42cfcdf Compare September 13, 2023 20:43
@elijaharita elijaharita force-pushed the feat/singularity-swagger-client branch from c8855ae to 60d5d8b Compare September 13, 2023 22:42
@elijaharita elijaharita merged commit 347490e into main Sep 13, 2023
@elijaharita elijaharita deleted the feat/singularity-swagger-client branch September 13, 2023 23:16
elijaharita added a commit that referenced this pull request Sep 15, 2023
update singularity schedules on startup in case settings have changed.
branched from #110

closes #114
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker-compose should "admin init" Singularity Move Singularity To Use Swagger API
2 participants