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

Feat/pika #9

Merged
merged 14 commits into from
Aug 1, 2023
Merged

Feat/pika #9

merged 14 commits into from
Aug 1, 2023

Conversation

marshHawk4
Copy link
Contributor

Description

  • This PR adds RabbitMQ messages as a way to track progress of calibrate functionality in pyciemms.

@marshHawk4 marshHawk4 changed the base branch from main to feat/handle_errors July 13, 2023 18:24
@marshHawk4 marshHawk4 changed the base branch from feat/handle_errors to main July 13, 2023 18:50
connection = pika.BlockingConnection(pika.ConnectionParameters(host=PIKA_HOST))
channel = connection.channel()

channel.queue_declare(queue='terarium')
Copy link
Member

Choose a reason for hiding this comment

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

We might want to use a more specific name for this queue.
simulation-status?

@brandomr
Copy link

@fivegrant can you test and merge this today? Let's also add to the README a section describing how this works for Uncharted's reference.

@fivegrant fivegrant changed the base branch from main to dev/1.6.0 July 31, 2023 15:58
@fivegrant
Copy link
Collaborator

calibrate writes progress to RabbitMQ. If we want to support more operations, we'll need to ask the CIEMSS team to provide progress_hooks for their other operations

@fivegrant fivegrant merged commit 14595d2 into dev/1.6.0 Aug 1, 2023
fivegrant added a commit that referenced this pull request Aug 10, 2023
* merging things

* working service with latest changes

* Pika status

* set pyciemms to offical repo

* working

* working

* removed print

* remove test

* removed print

* Fix pika upstream

* Fix pika usage

* Deploy in separate image

* Fix mock consumer and README

---------

Co-authored-by: Five Grant <5@fivegrant.com>
@fivegrant fivegrant deleted the feat/pika branch August 10, 2023 14:06
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.

4 participants