spring-attic / spring-cloud-gcp

Integration for Google Cloud Platform APIs with Spring
Apache License 2.0
706 stars 693 forks source link

handle simple type empty response in Spanner #2578

Closed dmitry-s closed 3 years ago

dmitry-s commented 3 years ago

fixes #2577

codecov[bot] commented 3 years ago

Codecov Report

Merging #2578 (3c67da8) into master (4c807e8) will decrease coverage by 7.21%. The diff coverage is 20.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2578      +/-   ##
============================================
- Coverage     81.44%   74.23%   -7.22%     
+ Complexity     2397     2171     -226     
============================================
  Files           267      267              
  Lines          7792     7800       +8     
  Branches        807      808       +1     
============================================
- Hits           6346     5790     -556     
- Misses         1103     1632     +529     
- Partials        343      378      +35     
Flag Coverage Δ Complexity Δ
integration ? ?
unittests 74.23% <20.00%> (-0.03%) 0.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
...spanner/repository/query/AbstractSpannerQuery.java 42.85% <0.00%> (-51.27%) 6.00 <0.00> (-10.00)
...a/spanner/core/convert/SpannerCustomConverter.java 82.35% <33.33%> (-10.99%) 7.00 <0.00> (ø)
...gcp/secretmanager/SecretManagerPropertySource.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-4.00%)
...a/spanner/repository/query/SpannerQueryMethod.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-6.00%)
...retmanager/SecretManagerPropertySourceLocator.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-2.00%)
...figure/config/GcpConfigBootstrapConfiguration.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-2.00%)
...e/spanner/GcpSpannerEmulatorAutoConfiguration.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-2.00%)
...epository/config/SpannerRepositoriesRegistrar.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-3.00%)
...ository/config/DatastoreRepositoriesRegistrar.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-3.00%)
...restore/GcpFirestoreEmulatorAutoConfiguration.java 0.00% <0.00%> (-84.85%) 0.00% <0.00%> (-4.00%)
... and 55 more

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 4c807e8...3c67da8. Read the comment docs.

dmitry-s commented 3 years ago

@meltsufin I actually added a test, but forgot to include the files :)

sonarcloud[bot] commented 3 years ago

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

33.3% 33.3% Coverage
0.0% 0.0% Duplication

warning The version of Java (1.8.0_151) you have used to run this analysis is deprecated and we will stop accepting it accepting it soon.Please update to at least Java 11. Read more here