ATTX-project / graph-component

Graph Manager component that handles state of the internal graph/data.
0 stars 0 forks source link

Extends the linkstrategy API to include more data from the individual strategy #24

Closed jkesanie closed 7 years ago

jkesanie commented 7 years ago

Description

Currently /linkstrategy return only "uri" field. This should be extended with at least "title" information so it could be more easily used in UI (see ATTX-project/workflow-component#43)

DoD

/linkstrategy return also "title" value for every strategy (and perhaps something else too).

Testing

Update integration tests.

blankdots commented 7 years ago

Result from linking strategies endpoint:

[
  {
    "title": "IDs based Linking Strategy",
    "uri": "http://data.hulib.helsinki.fi/attx/idstrategy1"
  },
  {
    "title": "IDs v2 based Linking Strategy",
    "uri": "http://data.hulib.helsinki.fi/attx/idstrategy2"
  }
]

Waiting for merge ... to deploy artifact. One can also test by creating a new pipeline or building locally. Documentation update for the https://github.com/ATTX-project/project-management/wiki/Graph-Manager-API#linkstrategy-endpoint