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

Implement API to upload node config file #483

Merged
merged 2 commits into from
Aug 25, 2022

Conversation

xichen1
Copy link
Member

@xichen1 xichen1 commented Aug 25, 2022

Enable to post and update config file through the api:
http://127.0.0.1:8080/api/v1/nodes/:node_id/config

orderer.yaml or core.yaml can be uploaded.
The corresponding yaml, zip files and database field will be updated.

Signed-off-by: Xichen Pan xichen.pan@gmail.com

Enable to get config file through the api:
http://127.0.0.1:8080/api/v1/nodes/:node_id/config

orderer.yaml or core.yaml can be uploaded.

Signed-off-by: Xichen Pan <xichen.pan@gmail.com>
Remove unused libraries from import

Signed-off-by: Xichen Pan <xichen.pan@gmail.com>
@xichen1 xichen1 requested a review from a team as a code owner August 25, 2022 03:28
@yeasy
Copy link
Member

yeasy commented Aug 25, 2022

I believe one more step is that: the docker-agent needs to update the node config and restart the node container.

@yeasy yeasy merged commit ad23f07 into hyperledger:main Aug 25, 2022
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.

None yet

2 participants