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

Initial Connect/DBS resources #396

Merged
merged 8 commits into from
Jan 30, 2024

Conversation

koendelaat
Copy link
Contributor

No description provided.

loafoe and others added 5 commits January 26, 2024 17:59
Signed-off-by: Andy Lo-A-Foe <andy.loafoe@gmail.com>
Signed-off-by: Andy Lo-A-Foe <andy.loafoe@gmail.com>
var ok bool
err = tools.TryHTTPCall(ctx, 10, func() (*http.Response, error) {
var err error
ok, _, err = client.Subscribers.DeleteSQS(*resource)

Choose a reason for hiding this comment

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

Check: you appear to be passing the full resource. I would assume a delete is by reference (just passing the resource id)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The go-hsdp-api accepts a resource for the DELETE operation.
See also: https://github.com/philips-software/go-hsdp-api/blob/main/connect/dbs/subscriber_service.go#L128

@koendelaat
Copy link
Contributor Author

@marcin-dzwonkowicz / @akodhawan can you also have a look?

@loafoe loafoe merged commit fdd1649 into philips-software:main Jan 30, 2024
7 of 8 checks passed
@koendelaat koendelaat deleted the feature/data-broker-service branch January 30, 2024 18:22
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