Add the possibility to search using a SWHID
Added a new entrypoint called searchSwhid. Search using a valid SWHID will return a searchresult connection. The list will have a single object in most of the cases, but could return multiple items. Result object will be available in the target field. Related to T4263
Showing
- swh/graphql/app.py 2 additions, 0 deletionsswh/graphql/app.py
- swh/graphql/backends/archive.py 11 additions, 6 deletionsswh/graphql/backends/archive.py
- swh/graphql/resolvers/directory.py 9 additions, 3 deletionsswh/graphql/resolvers/directory.py
- swh/graphql/resolvers/resolver_factory.py 7 additions, 0 deletionsswh/graphql/resolvers/resolver_factory.py
- swh/graphql/resolvers/resolvers.py 20 additions, 0 deletionsswh/graphql/resolvers/resolvers.py
- swh/graphql/resolvers/search.py 31 additions, 0 deletionsswh/graphql/resolvers/search.py
- swh/graphql/resolvers/snapshot.py 9 additions, 3 deletionsswh/graphql/resolvers/snapshot.py
- swh/graphql/schema/schema.graphql 76 additions, 0 deletionsswh/graphql/schema/schema.graphql
- swh/graphql/tests/data.py 12 additions, 0 deletionsswh/graphql/tests/data.py
- swh/graphql/tests/functional/test_swhid_resolve.py 182 additions, 0 deletionsswh/graphql/tests/functional/test_swhid_resolve.py
- swh/graphql/tests/unit/resolvers/test_resolver_factory.py 6 additions, 0 deletionsswh/graphql/tests/unit/resolvers/test_resolver_factory.py
Loading
-
Some references in the commit message have been migrated:
- T4263 is now #4263 (closed)
-
mentioned in merge request !32 (closed)
-
mentioned in merge request !33 (closed)
Please register or sign in to comment