diff --git a/CHANGELOG.md b/CHANGELOG.md index 595e1ab8..f309edda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Reorganized repository structure [#10](https://github.com/ncsa/standalone-smm-analytics/issues/10) +### Fixed +- Rabbitmq username and password [#61](https://github.com/ncsa/standalone-smm-analytics/issues/90) + ## [Beta] - 10-26-2023 ### Added diff --git a/containerized_analytics/clowder/clowder_create_collection/CHANGELOG.md b/containerized_analytics/clowder/clowder_create_collection/CHANGELOG.md new file mode 100644 index 00000000..cb8bc652 --- /dev/null +++ b/containerized_analytics/clowder/clowder_create_collection/CHANGELOG.md @@ -0,0 +1,16 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Fixed +- Rabbitmq username and password [#61](https://github.com/ncsa/standalone-smm-analytics/issues/90) + +## [0.1.0] - 09-21-2023 + +### Added +- Initial release + diff --git a/containerized_analytics/clowder/clowder_create_collection/rabbitmq_handler.py b/containerized_analytics/clowder/clowder_create_collection/rabbitmq_handler.py index 66aa49f0..ba57b23d 100644 --- a/containerized_analytics/clowder/clowder_create_collection/rabbitmq_handler.py +++ b/containerized_analytics/clowder/clowder_create_collection/rabbitmq_handler.py @@ -6,8 +6,8 @@ import requests RABBITMQ_HOST = os.getenv('RABBITMQ_HOST', 'rabbitmq') -RABBITMQ_USER = os.getenv('RABBITMQ_HOST', 'guest') -RABBITMQ_PASSWORD = os.getenv('RABBITMQ_HOST', 'guest') +RABBITMQ_USER = os.getenv('RABBITMQ_USER', 'guest') +RABBITMQ_PASSWORD = os.getenv('RABBITMQ_PASSWORD', 'guest') def rabbitmq_handler(ch, method, properties, body): diff --git a/containerized_analytics/clowder/clowder_create_dataset/CHANGELOG.md b/containerized_analytics/clowder/clowder_create_dataset/CHANGELOG.md new file mode 100644 index 00000000..cb8bc652 --- /dev/null +++ b/containerized_analytics/clowder/clowder_create_dataset/CHANGELOG.md @@ -0,0 +1,16 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Fixed +- Rabbitmq username and password [#61](https://github.com/ncsa/standalone-smm-analytics/issues/90) + +## [0.1.0] - 09-21-2023 + +### Added +- Initial release + diff --git a/containerized_analytics/clowder/clowder_create_dataset/rabbitmq_handler.py b/containerized_analytics/clowder/clowder_create_dataset/rabbitmq_handler.py index aa27982b..5de4d2ee 100644 --- a/containerized_analytics/clowder/clowder_create_dataset/rabbitmq_handler.py +++ b/containerized_analytics/clowder/clowder_create_dataset/rabbitmq_handler.py @@ -6,8 +6,8 @@ import requests RABBITMQ_HOST = os.getenv('RABBITMQ_HOST', 'rabbitmq') -RABBITMQ_USER = os.getenv('RABBITMQ_HOST', 'guest') -RABBITMQ_PASSWORD = os.getenv('RABBITMQ_HOST', 'guest') +RABBITMQ_USER = os.getenv('RABBITMQ_USER', 'guest') +RABBITMQ_PASSWORD = os.getenv('RABBITMQ_PASSWORD', 'guest') def rabbitmq_handler(ch, method, properties, body): diff --git a/containerized_analytics/clowder/clowder_create_space/CHANGELOG.md b/containerized_analytics/clowder/clowder_create_space/CHANGELOG.md new file mode 100644 index 00000000..cb8bc652 --- /dev/null +++ b/containerized_analytics/clowder/clowder_create_space/CHANGELOG.md @@ -0,0 +1,16 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Fixed +- Rabbitmq username and password [#61](https://github.com/ncsa/standalone-smm-analytics/issues/90) + +## [0.1.0] - 09-21-2023 + +### Added +- Initial release + diff --git a/containerized_analytics/clowder/clowder_create_space/rabbitmq_handler.py b/containerized_analytics/clowder/clowder_create_space/rabbitmq_handler.py index ba3db0d3..76a91824 100644 --- a/containerized_analytics/clowder/clowder_create_space/rabbitmq_handler.py +++ b/containerized_analytics/clowder/clowder_create_space/rabbitmq_handler.py @@ -6,8 +6,8 @@ import requests RABBITMQ_HOST = os.getenv('RABBITMQ_HOST', 'rabbitmq') -RABBITMQ_USER = os.getenv('RABBITMQ_HOST', 'guest') -RABBITMQ_PASSWORD = os.getenv('RABBITMQ_HOST', 'guest') +RABBITMQ_USER = os.getenv('RABBITMQ_USER', 'guest') +RABBITMQ_PASSWORD = os.getenv('RABBITMQ_PASSWORD', 'guest') def rabbitmq_handler(ch, method, properties, body): @@ -100,7 +100,7 @@ def _findMyself(username): if __name__ == '__main__': - ccredentials = pika.PlainCredentials(RABBITMQ_USER, RABBITMQ_PASSWORD) + credentials = pika.PlainCredentials(RABBITMQ_USER, RABBITMQ_PASSWORD) parameters = pika.ConnectionParameters(RABBITMQ_HOST, 5672, '/', credentials) connection = pika.BlockingConnection(parameters) channel = connection.channel() diff --git a/containerized_analytics/clowder/clowder_list/CHANGELOG.md b/containerized_analytics/clowder/clowder_list/CHANGELOG.md new file mode 100644 index 00000000..cb8bc652 --- /dev/null +++ b/containerized_analytics/clowder/clowder_list/CHANGELOG.md @@ -0,0 +1,16 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Fixed +- Rabbitmq username and password [#61](https://github.com/ncsa/standalone-smm-analytics/issues/90) + +## [0.1.0] - 09-21-2023 + +### Added +- Initial release + diff --git a/containerized_analytics/clowder/clowder_list/rabbitmq_handler.py b/containerized_analytics/clowder/clowder_list/rabbitmq_handler.py index 969f4ee5..0f55188e 100644 --- a/containerized_analytics/clowder/clowder_list/rabbitmq_handler.py +++ b/containerized_analytics/clowder/clowder_list/rabbitmq_handler.py @@ -6,8 +6,8 @@ import requests RABBITMQ_HOST = os.getenv('RABBITMQ_HOST', 'rabbitmq') -RABBITMQ_USER = os.getenv('RABBITMQ_HOST', 'guest') -RABBITMQ_PASSWORD = os.getenv('RABBITMQ_HOST', 'guest') +RABBITMQ_USER = os.getenv('RABBITMQ_USER', 'guest') +RABBITMQ_PASSWORD = os.getenv('RABBITMQ_PASSWORD', 'guest') def rabbitmq_handler(ch, method, properties, body): diff --git a/containerized_analytics/clowder/clowder_upload_file/CHANGELOG.md b/containerized_analytics/clowder/clowder_upload_file/CHANGELOG.md new file mode 100644 index 00000000..cb8bc652 --- /dev/null +++ b/containerized_analytics/clowder/clowder_upload_file/CHANGELOG.md @@ -0,0 +1,16 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Fixed +- Rabbitmq username and password [#61](https://github.com/ncsa/standalone-smm-analytics/issues/90) + +## [0.1.0] - 09-21-2023 + +### Added +- Initial release + diff --git a/containerized_analytics/clowder/clowder_upload_file/rabbitmq_handler.py b/containerized_analytics/clowder/clowder_upload_file/rabbitmq_handler.py index 11579cc1..13aaf3f2 100644 --- a/containerized_analytics/clowder/clowder_upload_file/rabbitmq_handler.py +++ b/containerized_analytics/clowder/clowder_upload_file/rabbitmq_handler.py @@ -7,8 +7,8 @@ import writeToS3 as s3 RABBITMQ_HOST = os.getenv('RABBITMQ_HOST', 'rabbitmq') -RABBITMQ_USER = os.getenv('RABBITMQ_HOST', 'guest') -RABBITMQ_PASSWORD = os.getenv('RABBITMQ_HOST', 'guest') +RABBITMQ_USER = os.getenv('RABBITMQ_USER', 'guest') +RABBITMQ_PASSWORD = os.getenv('RABBITMQ_PASSWORD', 'guest') def get_config_json(config_url): diff --git a/containerized_analytics/smile/classification_predict/CHANGELOG.md b/containerized_analytics/smile/classification_predict/CHANGELOG.md index d6637e04..0a02eeff 100644 --- a/containerized_analytics/smile/classification_predict/CHANGELOG.md +++ b/containerized_analytics/smile/classification_predict/CHANGELOG.md @@ -3,3 +3,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + + +## [Unreleased] + +### Fixed +- Rabbitmq username and password [#61](https://github.com/ncsa/standalone-smm-analytics/issues/90) diff --git a/containerized_analytics/smile/classification_predict/rabbitmq_handler.py b/containerized_analytics/smile/classification_predict/rabbitmq_handler.py index 666b3f9d..17e4a861 100644 --- a/containerized_analytics/smile/classification_predict/rabbitmq_handler.py +++ b/containerized_analytics/smile/classification_predict/rabbitmq_handler.py @@ -8,8 +8,8 @@ import postToAWSLambda RABBITMQ_HOST = os.getenv('RABBITMQ_HOST', 'rabbitmq') -RABBITMQ_USER = os.getenv('RABBITMQ_HOST', 'guest') -RABBITMQ_PASSWORD = os.getenv('RABBITMQ_HOST', 'guest') +RABBITMQ_USER = os.getenv('RABBITMQ_USER', 'guest') +RABBITMQ_PASSWORD = os.getenv('RABBITMQ_PASSWORD', 'guest') def rabbitmq_handler(ch, method, properties, body): diff --git a/containerized_analytics/smile/classification_split/CHANGELOG.md b/containerized_analytics/smile/classification_split/CHANGELOG.md index d6637e04..0a02eeff 100644 --- a/containerized_analytics/smile/classification_split/CHANGELOG.md +++ b/containerized_analytics/smile/classification_split/CHANGELOG.md @@ -3,3 +3,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + + +## [Unreleased] + +### Fixed +- Rabbitmq username and password [#61](https://github.com/ncsa/standalone-smm-analytics/issues/90) diff --git a/containerized_analytics/smile/classification_split/rabbitmq_handler.py b/containerized_analytics/smile/classification_split/rabbitmq_handler.py index b8a3dc89..2181e618 100644 --- a/containerized_analytics/smile/classification_split/rabbitmq_handler.py +++ b/containerized_analytics/smile/classification_split/rabbitmq_handler.py @@ -9,8 +9,8 @@ import postToAWSLambda RABBITMQ_HOST = os.getenv('RABBITMQ_HOST', 'rabbitmq') -RABBITMQ_USER = os.getenv('RABBITMQ_HOST', 'guest') -RABBITMQ_PASSWORD = os.getenv('RABBITMQ_HOST', 'guest') +RABBITMQ_USER = os.getenv('RABBITMQ_USER', 'guest') +RABBITMQ_PASSWORD = os.getenv('RABBITMQ_PASSWORD', 'guest') def rabbitmq_handler(ch, method, properties, body): diff --git a/containerized_analytics/smile/classification_train/CHANGELOG.md b/containerized_analytics/smile/classification_train/CHANGELOG.md index d6637e04..0a02eeff 100644 --- a/containerized_analytics/smile/classification_train/CHANGELOG.md +++ b/containerized_analytics/smile/classification_train/CHANGELOG.md @@ -3,3 +3,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + + +## [Unreleased] + +### Fixed +- Rabbitmq username and password [#61](https://github.com/ncsa/standalone-smm-analytics/issues/90) diff --git a/containerized_analytics/smile/classification_train/rabbitmq_handler.py b/containerized_analytics/smile/classification_train/rabbitmq_handler.py index 6aecb730..139c57b7 100644 --- a/containerized_analytics/smile/classification_train/rabbitmq_handler.py +++ b/containerized_analytics/smile/classification_train/rabbitmq_handler.py @@ -9,8 +9,8 @@ import postToAWSLambda RABBITMQ_HOST = os.getenv('RABBITMQ_HOST', 'rabbitmq') -RABBITMQ_USER = os.getenv('RABBITMQ_HOST', 'guest') -RABBITMQ_PASSWORD = os.getenv('RABBITMQ_HOST', 'guest') +RABBITMQ_USER = os.getenv('RABBITMQ_USER', 'guest') +RABBITMQ_PASSWORD = os.getenv('RABBITMQ_PASSWORD', 'guest') def rabbitmq_handler(ch, method, properties, body):