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

fix(config-service): faulty shutdownHook definition in the Config-Schema #1649

Merged

Conversation

m-courtin
Copy link
Contributor

@m-courtin m-courtin commented Dec 10, 2021

In the config-service of the api-server the configuration value for
"shutdownHook" is not getting applied due to an issue in the reducer of
the newExampleConfigEnv(). The reducer is not populating the
shutdownHook configuration based on a faulty Config-Schema definition
for the shutdownHook where "arg" and "env" are missing.

This PR needs to be approved first as it is enabling PR1621 to execute the unit tests in correct way

Closes: #1648
Signed-off-by: Michael Courtin michael.courtin@accenture.com

@m-courtin
Copy link
Contributor Author

@petermetz: Can you please review / approve this PR before continuing with PR 1621 as PR 1621 needs to get this PR first to successfully execute the api-server config UTs

Copy link
Contributor

@petermetz petermetz left a comment

Choose a reason for hiding this comment

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

@m-courtin Thank you very much, LGTM

In the config-service of the api-server the configuration value for
"shutdownHook" is not getting applied due to an issue in the reducer of
the newExampleConfigEnv(). The reducer is not populating the
shutdownHook configuration based on a faulty Config-Schema definition
for the shutdownHook where "arg" and "env" are missing.

Closes: hyperledger-cacti#1648
Signed-off-by: Michael Courtin <michael.courtin@accenture.com>
@m-courtin m-courtin force-pushed the fix-1648-faulty-schema-definition branch from 879fccd to f74e62d Compare December 14, 2021 08:18
@m-courtin m-courtin closed this Dec 14, 2021
@m-courtin m-courtin reopened this Dec 14, 2021
@petermetz petermetz removed the request for review from jonathan-m-hamilton December 14, 2021 18:45
@petermetz petermetz self-assigned this Dec 14, 2021
@petermetz petermetz added API_Server bug Something isn't working labels Dec 14, 2021
@petermetz petermetz merged commit fbae2da into hyperledger-cacti:main Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API_Server bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix(config-service): faulty shutdownHook definition in the Config-Schema definition
3 participants