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

Tests for node and edge details #66

Open
georgiana-b opened this issue Feb 25, 2018 · 1 comment
Open

Tests for node and edge details #66

georgiana-b opened this issue Feb 25, 2018 · 1 comment
Assignees

Comments

@georgiana-b
Copy link
Member

georgiana-b commented Feb 25, 2018

We need endpoints to retrieve details for network nodes, clusters and edges. All these values will be calculated on the aggregated winning bids of the parts involved filtered by the query of the network:

  • GET /network/:id/nodes/:id
    • total income
    • average competition
    • percent of data missing
    • type
    • actors (the correspondiing actor id, an array if the node is cluster)
    • nodes (in case this is a cluster)
    • list of winning bids exchanged with the following attrs for each bid:
      • lot title
      • tender title
      • bid value
      • number of bids for the lot
      • award date
      • bidders (nodes)
        • id
        • label
        • nodes
        • actors
      • buyers (nodes
  • GET /network/:id:/clusters/:id
    • same as above
  • GET /network/:id/edges/:id
    • total money exhanged
    • average competition
    • percent of data missing
    • bids exchanged - with attrs as above
@georgiana-b
Copy link
Member Author

These have been developed in #77 but due to time constraint have not been tested so I renamed the issue to reflect that.

@georgiana-b georgiana-b changed the title Nodes and edges details Tests for node and edge details Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant