Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

api: search claims #23

Closed
jbenito3 opened this issue Aug 24, 2015 · 1 comment
Closed

api: search claims #23

jbenito3 opened this issue Aug 24, 2015 · 1 comment
Assignees
Milestone

Comments

@jbenito3
Copy link
Member

Add some kind of search capabilities so claims can be fetched by specifying some filters as described in the RFC.

@tiborsimko
Copy link
Member

For the time being, additional URL arguments can be simply Boolean AND query additions.

Later, we could expose complete JSONB like syntax for connaisseurs, depending on evolving needs.

jbenito3 added a commit to jbenito3/claimstore that referenced this issue Aug 28, 2015
* Enriches the resource GET claims by adding a by-argument-search. Now
  one can search by any combination of: claimant, predicate,
  certainty, human, actor, role, since, from, object/subject or
  type/value. (addresses inveniosoftware#23)

* Refactores the database model: `uid` columns are now simply `id`,
  certainty became a float number and human is a 0/1 value.

Signed-off-by: Jose Benito Gonzalez Lopez <jose.benito.gonzalez@cern.ch>
jbenito3 added a commit to jbenito3/claimstore that referenced this issue Aug 28, 2015
* Explains how to do requests through python.

* Lists all arguments that can be used in GET claims. (addresses inveniosoftware#23)

Signed-off-by: Jose Benito Gonzalez Lopez <jose.benito.gonzalez@cern.ch>
jbenito3 added a commit to jbenito3/claimstore that referenced this issue Aug 28, 2015
* Tests all possible queries for GET claims. (closes inveniosoftware#23)

Signed-off-by: Jose Benito Gonzalez Lopez <jose.benito.gonzalez@cern.ch>
jbenito3 added a commit to jbenito3/claimstore that referenced this issue Aug 30, 2015
* Enriches the resource GET claims by adding a by-argument-search. Now
  one can search by any combination of: claimant, predicate,
  certainty, human, actor, role, since, from, object/subject or
  type/value. (addresses inveniosoftware#23)

* Refactores the database model: `uid` columns are now simply `id`,
  certainty became a float number and human is a 0/1 value.

Signed-off-by: Jose Benito Gonzalez Lopez <jose.benito.gonzalez@cern.ch>
jbenito3 added a commit to jbenito3/claimstore that referenced this issue Aug 30, 2015
* Explains how to do requests through python.

* Lists all arguments that can be used in GET claims. (addresses inveniosoftware#23)

Signed-off-by: Jose Benito Gonzalez Lopez <jose.benito.gonzalez@cern.ch>
jbenito3 added a commit to jbenito3/claimstore that referenced this issue Aug 30, 2015
* Tests all possible queries for GET claims. (closes inveniosoftware#23)

Signed-off-by: Jose Benito Gonzalez Lopez <jose.benito.gonzalez@cern.ch>
jbenito3 added a commit to jbenito3/claimstore that referenced this issue Aug 30, 2015
* Enriches the resource GET claims by adding a by-argument-search. Now
  one can search by any combination of: claimant, predicate,
  certainty, human, actor, role, since, from, object/subject or
  type/value. (addresses inveniosoftware#23)

* Refactores the database model: `uid` columns are now simply `id`,
  certainty became a float number and human is a 0/1 value.

Signed-off-by: Jose Benito Gonzalez Lopez <jose.benito.gonzalez@cern.ch>
jbenito3 added a commit to jbenito3/claimstore that referenced this issue Aug 30, 2015
* Explains how to do requests through python.

* Lists all arguments that can be used in GET claims. (addresses inveniosoftware#23)

Signed-off-by: Jose Benito Gonzalez Lopez <jose.benito.gonzalez@cern.ch>
jbenito3 added a commit to jbenito3/claimstore that referenced this issue Aug 30, 2015
* Tests all possible queries for GET claims. (closes inveniosoftware#23)

Signed-off-by: Jose Benito Gonzalez Lopez <jose.benito.gonzalez@cern.ch>
jbenito3 added a commit to jbenito3/claimstore that referenced this issue Aug 30, 2015
* Enriches the resource GET claims by adding a by-argument-search. Now
  one can search by any combination of: claimant, predicate,
  certainty, human, actor, role, since, from, object/subject or
  type/value. (addresses inveniosoftware#23)

* Refactores the database model: `uid` columns are now simply `id`,
  certainty became a float number and human is a 0/1 value.

Signed-off-by: Jose Benito Gonzalez Lopez <jose.benito.gonzalez@cern.ch>
jbenito3 added a commit to jbenito3/claimstore that referenced this issue Aug 30, 2015
* Explains how to do requests through python.

* Lists all arguments that can be used in GET claims. (addresses inveniosoftware#23)

Signed-off-by: Jose Benito Gonzalez Lopez <jose.benito.gonzalez@cern.ch>
jbenito3 added a commit to jbenito3/claimstore that referenced this issue Aug 31, 2015
* Enriches the resource GET claims by adding a by-argument-search. Now
  one can search by any combination of: claimant, predicate,
  certainty, human, actor, role, since, from, object/subject or
  type/value. (addresses inveniosoftware#23)

* Refactores the database model: `uid` columns are now simply `id`,
  certainty became a float number and human is a 0/1 value.

Signed-off-by: Jose Benito Gonzalez Lopez <jose.benito.gonzalez@cern.ch>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants