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

Topology sorting functionality added with docs #143

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

michielmulders
Copy link
Contributor

No description provided.

@codecov-io
Copy link

Codecov Report

Merging #143 into master will decrease coverage by 3.79%.
The diff coverage is 11.11%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #143     +/-   ##
========================================
- Coverage    82.7%   78.9%   -3.8%     
========================================
  Files          11      12      +1     
  Lines         266     275      +9     
========================================
- Hits          220     217      -3     
- Misses         46      58     +12
Impacted Files Coverage Δ
src/utils/topologySorting.js 11.11% <11.11%> (ø)
src/request.js 78.57% <0%> (-14.29%) ⬇️
src/baseRequest.js 72.41% <0%> (-6.9%) ⬇️

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 c371e3b...c941742. Read the comment docs.

@michielmulders
Copy link
Contributor Author

Ok I see, I have to create a test for this.


.. code-block:: js

let bdb = new driver.Connection('https://test.ipdb.io/api/v1/', {
let bdb = new driver.Connection('https://test.bigchaindb.com/api/v1/', {
app_id: 'dgi829l9',
app_key: 'u008ik1bf83b43ce3a95uu0727e66fb9'
})
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess those credentials were valid for IPDB, not for the BigchainDB Test Network anymore. Maybe they could be avoided with

{
        app_id: "Get one from testnet.bigchaindb.com",
        app_key: "Get one from testnet.bigchaindb.com"
    }

@future-is-present
Copy link
Contributor

future-is-present commented Feb 2, 2018

Also, are you planning to add some tests for the topologySorting.js functions ?

@@ -35,12 +35,14 @@ A simple connection with BigchainDB can be established like this.

const conn = new driver.Connection(API_PATH)

It is also possible to connect to a BigchainDB node of the IPDB test net.
To do so, you need to pass the **app_id and app_key**.
Previously you could connect to IPDB testnet, but it has been shutdown.
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't need to explain about IPDB history. I would say that we are connection to BigchainDB node.

Copy link
Contributor

@jernejpregelj jernejpregelj left a comment

Choose a reason for hiding this comment

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

Commented in docs/source/usage.rst

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.

4 participants