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

Clean up function of CBC #331

Closed
djs0109 opened this issue Oct 1, 2024 · 2 comments · Fixed by #336
Closed

Clean up function of CBC #331

djs0109 opened this issue Oct 1, 2024 · 2 comments · Fixed by #336
Assignees
Labels
bug Something isn't working

Comments

@djs0109
Copy link
Contributor

djs0109 commented Oct 1, 2024

Describe the bug
The clear function for context broker has bug when only use client object as input

To Reproduce

    ...
    fiware_header = FiwareHeader(service=SERVICE, service_path=SERVICE_PATH)

    # Create a Context Broker Client
    cb_client = ContextBrokerClient(url=CB_URL, fiware_header=fiware_header)
    clear_context_broker(cb_client=cb_client)

Expected behavior

  • Bug fix
  • Implement test to ensure all the cleanup functions can accept both url+fiware_header and client object
@djs0109 djs0109 added the bug Something isn't working label Oct 1, 2024
@djs0109
Copy link
Contributor Author

djs0109 commented Oct 1, 2024

consider merge the implementation from #284 .

Copy link

github-actions bot commented Oct 1, 2024

Branch 331-Clean-up-function-of-CBC created!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants