Repository navigation
Synternet pubsub examples update - #3
Merged
Merged
Conversation
Packages listed in requirements.txt were outdated -> renewed to the latest versions. "republish_using_creds_file.py" example was outdated and required a rework. Updates are aligned with the actions available on Synternet Portal.
Dancia
requested changes
Feb 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updating python package version. Renewed URL links in README file. Rework of given example scripts: changing variable names for better understanding, complete rework of "republish_using_creds_files.py" file - used deprecated scenarios so changes were made according to available actions. at Synternet Portal.
Proposed Changes
List the specific changes or additions made in this PR.
publish.py: subject naming change (for easier understanding and unification between other pubsub repos)
republish_using_creds_files.py: complete re-do. Instead of one NATS jwt and connection usage to subscribe and publish again - switched to two separate connections/jwt usage. Synternet restrict NATS creds only to perform 1 type of action so now 1st CREDS will be used for publisher and 2nd for subscriber only
Checklist