spring-data-gremlin icon indicating copy to clipboard operation
spring-data-gremlin copied to clipboard

Query annotation

Open gguttikonda opened this issue 6 years ago • 3 comments

Description

Support @Query annotation from GremlinRepository. Integration test is validated against Microsoft Cosmos DB ( and also a JanusGraph setup ). This also fixes https://github.com/microsoft/spring-data-gremlin/issues/248

Related PRs

List related PRs against other branches:

branch PR
other_pr_production link
other_pr_master link

Todos

  • [ ] Documentation

Steps to Test

Steps to test code change

gguttikonda avatar Nov 13 '19 21:11 gguttikonda

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6f33b72). Click here to learn what that means. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #255   +/-   ##
=========================================
  Coverage          ?   85.65%           
=========================================
  Files             ?       61           
  Lines             ?     1408           
  Branches          ?      241           
=========================================
  Hits              ?     1206           
  Misses            ?       84           
  Partials          ?      118
Impacted Files Coverage Δ
...emlin/query/query/GraphRepositoryGremlinQuery.java 61.53% <0%> (ø)

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 6f33b72...932a650. Read the comment docs.

codecov-io avatar Nov 13 '19 21:11 codecov-io

Codacy Here is an overview of what got changed by this pull request:


Complexity increasing per file
==============================
- src/main/java/com/microsoft/spring/data/gremlin/repository/support/GremlinRepositoryFactory.java  1
- src/main/java/com/microsoft/spring/data/gremlin/query/query/GremlinQueryMethod.java  2
- src/main/java/com/microsoft/spring/data/gremlin/query/query/GraphRepositoryGremlinQuery.java  11
         

See the complete overview on Codacy

Incarnation-p-lee avatar Jan 19 '20 02:01 Incarnation-p-lee

Codecov Report

Merging #255 into master will decrease coverage by 0.56%. The diff coverage is 71.69%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #255      +/-   ##
==========================================
- Coverage   86.21%   85.65%   -0.57%     
==========================================
  Files          60       61       +1     
  Lines        1357     1408      +51     
  Branches      232      241       +9     
==========================================
+ Hits         1170     1206      +36     
- Misses         74       84      +10     
- Partials      113      118       +5     
Impacted Files Coverage Δ
...oft/spring/data/gremlin/query/GremlinTemplate.java 90.51% <ø> (ø)
...emlin/query/query/GraphRepositoryGremlinQuery.java 61.53% <61.53%> (ø)
...g/data/gremlin/query/query/GremlinQueryMethod.java 75.00% <100.00%> (+35.00%) :arrow_up:
...n/repository/support/GremlinRepositoryFactory.java 100.00% <100.00%> (ø)

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 1ab6bfb...932a650. Read the comment docs.

codecov-commenter avatar Jun 18 '20 11:06 codecov-commenter