-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add etag in consolidated api controller #38873
Changes from 16 commits
04cd97d
e18fe85
f91e4f7
38f333e
e22758b
cb05fe5
7eb9204
93044c3
b7a1f1a
c7d303e
e2d9163
ff33111
1df234d
1cd7aa6
812a10c
c63507d
6ad4395
8fe8dfa
0008ee8
c14d58d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# To run only limited tests - give the spec names in below format: | ||
#cypress/e2e/Regression/ClientSide/VisualTests/JSEditorIndent_spec.js | ||
# For running all specs - uncomment below: | ||
#cypress/e2e/**/**/* | ||
cypress/e2e/Regression/ClientSide/Anvil/Widgets/* | ||
cypress/e2e/Regression/ClientSide/ExplorerTests/Page_Load_Spec.js | ||
|
||
#ci-test-limit uses this file to run minimum of specs. Do not run entire suite with this command. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -412,6 +412,11 @@ | |
<version>2.14.2.Final</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.datatype</groupId> | ||
<artifactId>jackson-datatype-jsr310</artifactId> | ||
<version>2.17.0</version> | ||
</dependency> | ||
Comment on lines
+415
to
+419
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Use property reference for jackson-datatype-jsr310 version The version should reference the property <dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
- <version>2.17.0</version>
+ <version>${jackson-bom.version}</version>
</dependency> 🔗 Analysis chainVerify jackson-datatype-jsr310 version and management The addition of this dependency is appropriate for handling Java 8 date/time types in the ETag implementation. However, there are a few considerations:
Run this script to check the latest stable version and current usage: Consider managing the version in properties: <properties>
<jmh.version>1.35</jmh.version>
<org.modelmapper.version>2.4.4</org.modelmapper.version>
+ <jackson.version>2.17.0</jackson.version>
</properties>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
- <version>2.17.0</version>
+ <version>${jackson.version}</version>
</dependency> 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Check latest version from Maven Central
curl -s "https://search.maven.org/solrsearch/select?q=g:com.fasterxml.jackson.datatype+AND+a:jackson-datatype-jsr310&rows=1&wt=json" | jq -r '.response.docs[0].latestVersion'
# Check if version is already managed by Spring Boot
rg "jackson.*version" -g "pom.xml"
Length of output: 3399 |
||
</dependencies> | ||
|
||
<repositories> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace cy.wait with proper wait conditions.
The use of
cy.wait(4000)
violates the coding guidelines which state "Avoid using cy.wait in code". Fixed wait times are unreliable and can lead to flaky tests.Consider this alternative implementation that uses proper wait conditions: