Fix 403: replace XorCsrfTokenRequestAttributeHandler with plain handl… #92
cicd.yml
on: push
Tests
1m 32s
Build, Docker and Push
4m 2s
Annotations
56 warnings and 1 notice
|
AutoCloseable used without 'try'-with-resources:
src/main/java/com/espacogeek/geek/data/api/impl/QuoteApiImpl.java#L67
'Response' used without 'try'-with-resources statement
|
|
Boxing of already boxed value:
src/main/java/com/espacogeek/geek/controllers/UserController.java#L135
Boxing of already boxed `userId`
|
|
Boxing of already boxed value:
src/main/java/com/espacogeek/geek/controllers/UserController.java#L161
Boxing of already boxed `userId`
|
|
Constant values:
src/main/java/com/espacogeek/geek/data/impl/GenericMediaDataControllerImpl.java#L352
Result of `external.orElseThrow().getMedia()` is always 'null'
|
|
Constant values:
src/main/java/com/espacogeek/geek/data/impl/SerieControllerImpl.java#L96
Condition `externalReferenceExisted.isPresent()` is always `false`
|
|
Constant values:
src/main/java/com/espacogeek/geek/repositories/impl/MediaRepositoryCustomImpl.java#L123
Condition `params != null` is always `true`
|
|
Constant values:
src/main/java/com/espacogeek/geek/data/impl/MovieControllerImpl.java#L127
Condition `externalReferenceExisted.isPresent()` is always `false`
|
|
Constant values:
src/main/java/com/espacogeek/geek/utils/TokenUtils.java#L55
Condition `request != null` is always `true`
|
|
Constant values:
src/main/java/com/espacogeek/geek/data/impl/GenericMediaDataControllerImpl.java#L274
Condition `media != null` is always `true`
|
|
Nullability and data flow problems:
src/main/java/com/espacogeek/geek/services/impl/MediaServiceImpl.java#L214
Passing `null` argument to parameter annotated as @NotNull
|
|
Nullability and data flow problems:
src/main/java/com/espacogeek/geek/config/GraphQlCookieInterceptor.java#L70
Result of 'min' is the same as the second argument making the call meaningless
|
|
Result of method call ignored:
src/main/java/com/espacogeek/geek/data/api/impl/MovieAPIImpl.java#L240
Result of `String.replace()` is ignored
|
|
'long' literal ending with 'l' instead of 'L':
src/main/java/com/espacogeek/geek/utils/MediaUtils.java#L43
'long' literal `1l` ends with lowercase 'l'
|
|
Mismatched query and update of collection:
src/main/java/com/espacogeek/geek/utils/MediaUtils.java#L64
Contents of collection `updatedMedias` are updated, but never queried
|
|
Mismatched query and update of collection:
src/main/java/com/espacogeek/geek/utils/MediaUtils.java#L84
Contents of collection `updatedMedias` are updated, but never queried
|
|
Optional.get() is called without isPresent() check:
src/main/java/com/espacogeek/geek/controllers/UserController.java#L135
`Optional.get()` without 'isPresent()' check
|
|
Optional.get() is called without isPresent() check:
src/main/java/com/espacogeek/geek/controllers/UserController.java#L157
`Optional.get()` without 'isPresent()' check
|
|
Optional.get() is called without isPresent() check:
src/main/java/com/espacogeek/geek/controllers/UserController.java#L192
`Optional.get()` without 'isPresent()' check
|
|
Optional.get() is called without isPresent() check:
src/main/java/com/espacogeek/geek/controllers/UserController.java#L174
`Optional.get()` without 'isPresent()' check
|
|
Use of Optional.ofNullable with null or non-null argument:
src/main/java/com/espacogeek/geek/services/impl/ApiKeyServiceImpl.java#L34
'Optional.ofNullable()' with non-null argument should be replaced with 'Optional.of()'
|
|
Single character alternation:
src/main/java/com/espacogeek/geek/metrics/GraphQLMetricsInstrumentation.java#L31
Single character alternation in RegExp
|
|
String comparison using '==', instead of 'equals()':
src/main/java/com/espacogeek/geek/controllers/MediaController.java#L46
String values are compared using `==`, not 'equals()'
|
|
String comparison using '==', instead of 'equals()':
src/main/java/com/espacogeek/geek/controllers/MediaController.java#L122
String values are compared using `==`, not 'equals()'
|
|
String comparison using '==', instead of 'equals()':
src/main/java/com/espacogeek/geek/controllers/MediaController.java#L65
String values are compared using `==`, not 'equals()'
|
|
String comparison using '==', instead of 'equals()':
src/main/java/com/espacogeek/geek/controllers/MediaController.java#L84
String values are compared using `==`, not 'equals()'
|
|
String comparison using '==', instead of 'equals()':
src/main/java/com/espacogeek/geek/controllers/MediaController.java#L104
String values are compared using `==`, not 'equals()'
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/TvSeriesApiImpl.java#L136
Variable `rawArtwork` initializer `new Images()` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/MovieAPIImpl.java#L163
Variable `rawAlternativeTitles` initializer `new ArrayList<>()` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/MovieAPIImpl.java#L232
Variable `genres` initializer `new ArrayList<GenreModel>()` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/TvSeriesApiImpl.java#L170
Variable `rawAlternativeTitles` initializer `new ArrayList<>()` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/TvSeriesApiImpl.java#L85
Variable `rawSerieDetails` initializer `new TvSeriesDb()` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/QuoteApiImpl.java#L52
Variable `request` initializer `null` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/TvSeriesApiImpl.java#L228
Variable `rawSerieDetails` initializer `new TvSeriesDb()` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/impl/GenericMediaDataControllerImpl.java#L271
The value `createMediaIfNotExistAndIfExistReturnIt(mediaSearch, typeReference)` assigned to `media` is never used
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/QuoteApiImpl.java#L65
Variable `response` initializer `null` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/TvSeriesApiImpl.java#L195
Variable `rawExternalReferences` initializer `new ExternalIds()` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/MovieAPIImpl.java#L217
Variable `movieDb` initializer `new MovieDb()` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/TvSeriesApiImpl.java#L120
Variable `trailers` initializer `null` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/MovieAPIImpl.java#L189
Variable `rawExternalReferences` initializer `new ExternalIds()` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/MovieAPIImpl.java#L128
Variable `rawArtwork` initializer `new Images()` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/MovieAPIImpl.java#L114
Variable `trailers` initializer `null` is redundant
|
|
Unused assignment:
src/main/java/com/espacogeek/geek/data/api/impl/MovieAPIImpl.java#L80
Variable `movieDb` initializer `new MovieDb()` is redundant
|
|
Tests
Failed to save cache entry with path '/home/runner/.gradle/caches,/home/runner/.gradle/notifications,/home/runner/.gradle/.setup-gradle' and key: gradle-home-v1|Linux|tests[9135b4882d00dff6218dac81a00d34cb]-80df488fcfc2d9864bfda2ab7a6c0847b2a7a0a2: Error: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>00VKraQAAAACbePzQqeTbQaBduirY8SODUEhMMzBFREdFMDExOQBFZGdl
|
|
Tests
Failed to save cache entry with path '/home/runner/.gradle/caches/modules-*/files-*/*/*/*/*' and key: gradle-dependencies-v1-c79e7f46bccb053cfd7e29e7277d1297: Error: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>00FKraQAAAAC73M06cidcSK09IfNKbN+HUEhMMzBFREdFMDExNwBFZGdl
|
|
Tests
Failed to save cache entry with path '/home/runner/.gradle/caches/transforms-4/*/
/home/runner/.gradle/caches/*/transforms/*/' and key: gradle-transforms-v1-141489eee02ca2ca63b5b64148996e0b: Error: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>00FKraQAAAAA+PSdNZLsYSp+RxaYAUM0iUEhMMzBFREdFMDIxNgBFZGdl
|
|
Tests
Failed to save cache entry with path '/home/runner/.gradle/wrapper/dists/gradle-8.10-bin/deqhafrv1ntovfmgh0nh3npr9' and key: gradle-wrapper-zips-v1-68e268aa5bbc0127f7332b88e18d7a5d: Error: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>00FKraQAAAADr69PVHuOnRJml5cagBflwUEhMMzBFREdFMDQwOQBFZGdl
|
|
Tests
Failed to save cache entry with path '/home/runner/.gradle/caches/*/groovy-dsl/*/' and key: gradle-groovy-dsl-v1-3b94b0815e398f4f35250eb6ae28c06e: Error: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>00FKraQAAAADGeq9t7cSoRb2ZdS2p5mLhUEhMMzBFREdFMDIwOQBFZGdl
|
|
Tests
Failed to save cache entry with path '/home/runner/.gradle/caches/jars-*/*/' and key: gradle-instrumented-jars-v1-2461cb0527abf9473100998082c96d34: Error: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>00FKraQAAAADc90Pr0lQ9SLRLN5pIrzaXUEhMMzBFREdFMDExNABFZGdl
|
|
Tests
Failed to restore gradle-home-v1|Linux|tests[9135b4882d00dff6218dac81a00d34cb]-80df488fcfc2d9864bfda2ab7a6c0847b2a7a0a2: Error: Cache service responded with 400
|
|
Build, Docker and Push
Failed to save cache entry with path '/home/runner/.gradle/caches,/home/runner/.gradle/notifications,/home/runner/.gradle/.setup-gradle' and key: gradle-home-v1|Linux|build_and_publish[9135b4882d00dff6218dac81a00d34cb]-80df488fcfc2d9864bfda2ab7a6c0847b2a7a0a2: Error: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0xVOraQAAAAA/T28nO/z+SZsxAMvJcuwNRE0yRURHRTA4MTkARWRnZQ==
|
|
Build, Docker and Push
Failed to save cache entry with path '/home/runner/.gradle/caches/transforms-4/*/
/home/runner/.gradle/caches/*/transforms/*/' and key: gradle-transforms-v1-141489eee02ca2ca63b5b64148996e0b: Error: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0xVOraQAAAACvMNuBi1ylTISr5i2MtWASRE0yRURHRTA5MTMARWRnZQ==
|
|
Build, Docker and Push
Failed to save cache entry with path '/home/runner/.gradle/caches/modules-*/files-*/*/*/*/*' and key: gradle-dependencies-v1-008d0aa4a8e646afb45b71c2d645abe8: Error: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0xFOraQAAAADqFBbRN1JBRISPfUIjrpT7RE0yRURHRTA5MTQARWRnZQ==
|
|
Build, Docker and Push
Failed to save cache entry with path '/home/runner/.gradle/wrapper/dists/gradle-8.10-bin/deqhafrv1ntovfmgh0nh3npr9' and key: gradle-wrapper-zips-v1-68e268aa5bbc0127f7332b88e18d7a5d: Error: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0xFOraQAAAAAMwhl7DDa6T75w8Ol3cWYURE0yRURHRTA4MDgARWRnZQ==
|
|
Build, Docker and Push
Failed to save cache entry with path '/home/runner/.gradle/caches/*/groovy-dsl/*/' and key: gradle-groovy-dsl-v1-3b94b0815e398f4f35250eb6ae28c06e: Error: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0xFOraQAAAACSKKoE/KaESaTV2LtbjmFERE0yRURHRTA5MTIARWRnZQ==
|
|
Build, Docker and Push
Failed to save cache entry with path '/home/runner/.gradle/caches/jars-*/*/' and key: gradle-instrumented-jars-v1-2461cb0527abf9473100998082c96d34: Error: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0xFOraQAAAADidyahLmtNSJ4k6qvR/lE5RE0yRURHRTA5MTkARWRnZQ==
|
|
Build, Docker and Push
Failed to restore gradle-home-v1|Linux|build_and_publish[9135b4882d00dff6218dac81a00d34cb]-80df488fcfc2d9864bfda2ab7a6c0847b2a7a0a2: Error: Cache service responded with 400
|
|
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
EspacoGeek-Teams~EspacoGeek_API~XQJM6U.dockerbuild
|
65.2 KB |
sha256:e3ddf794e3d28a91b95dde8317a77c8adac0834ede0819967fa3fa89c51eb58d
|
|
|
test-reports
|
97.8 KB |
sha256:01b8d50be42583a6529857a9f474e9b9e5c8fda3210b0e1d77ebc40a2acbdb04
|
|