fboucquez / symbol-bootstrap

A tool that allows you to quickly configure and setup Symbol testnets and nodes.
Apache License 2.0
47 stars 28 forks source link

[bootstrap] task: add option to configure node metadata #399

Closed cryptoBeliever closed 1 year ago

cryptoBeliever commented 1 year ago

What's the issue?

Newly added endpoint /node/metadata in REST returns meta-information about the node. Bootstrap doesn't allow users to define custom values for this endpoint.

What's the solution?

Add the possibility to define node meta-information via custom preset. This can be done by:

gateways:
-  restNodeMetadata:
    key11: "value1"
    key21: "value2"
    key31: "value4"
    key51: 1
    key61: 10