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

90 fix rabbitmq username and password in clowder related containers #91

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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

Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
@@ -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

Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
16 changes: 16 additions & 0 deletions containerized_analytics/clowder/clowder_create_space/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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()
Expand Down
16 changes: 16 additions & 0 deletions containerized_analytics/clowder/clowder_list/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
16 changes: 16 additions & 0 deletions containerized_analytics/clowder/clowder_upload_file/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down