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 getting node configurations #25

Merged
merged 13 commits into from
Apr 25, 2019
Merged

Conversation

dmytrostriletskyi
Copy link
Contributor

@dmytrostriletskyi dmytrostriletskyi commented Apr 22, 2019

Jira references

Description

Getting node configurations command line interface's command implementation.

Arguments Type Required Description
node-url String No Node URL to apply a command to.

Example of the usage:

$ remme node get-configs --node-url=node-genesis-testnet.remme.io
{
    "node_address": "1168296ecf036e857f42129b58303bcf1e03723764a1702cbe98529802aad8514ee3cf",
    "node_public_key": "03738df3f4ac3621ba8e89413d3ff4ad036c3a0a4dbb164b695885aab6aab614ad"
}

References

@codecov-io
Copy link

codecov-io commented Apr 22, 2019

Codecov Report

Merging #25 into develop will increase coverage by 0.37%.
The diff coverage is 97.82%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #25      +/-   ##
===========================================
+ Coverage    95.71%   96.09%   +0.37%     
===========================================
  Files           15       19       +4     
  Lines          210      256      +46     
===========================================
+ Hits           201      246      +45     
- Misses           9       10       +1
Impacted Files Coverage Δ
cli/node/cli.py 100% <100%> (ø)
cli/node/service.py 100% <100%> (ø)
cli/entrypoint.py 100% <100%> (ø) ⬆️
cli/constants.py 100% <100%> (ø) ⬆️
cli/node/forms.py 100% <100%> (ø)
cli/node/interfaces.py 66.66% <66.66%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef7ecd5...0ed94c7. Read the comment docs.

README.md Outdated
@@ -139,6 +140,26 @@ $ remme account transfer-tokens \
}
```

### Node

Get node configurations — ``remme node get-configurations``:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Get node configurations — ``remme node get-configurations``:
Get node configurations — ``remme node get-configs``:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

README.md Outdated

| Arguments | Type | Required | Description |
| :-------: | :----: | :-------: | ------------------------------------ |
| node-url | String | No | Node URL to apply a command to. |
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
| node-url | String | No | Node URL to apply a command to. |
| node-url | String | No | Node URL to apply a command to. |

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@implements(NodeInterface)
class Node:
"""
Implements account.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Implements account.
Implements node.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dmytrostriletskyi dmytrostriletskyi merged commit e036a9c into develop Apr 25, 2019
@delete-merged-branch delete-merged-branch bot deleted the get-node-configs branch April 25, 2019 10:59
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.

5 participants