8000 [plugin-web-app-to-rest-api] Add ability to set headers for headless … by uarlouski · Pull Request #4598 · vividus-framework/vividus · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[plugin-web-app-to-rest-api] Add ability to set headers for headless … #4598

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

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

uarlouski
Copy link
Member

…crawler requests

@uarlouski uarlouski requested a review from a team as a code owner November 24, 2023 14:26
Copy link
codecov bot commented Nov 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (9ec938a) 97.39% compared to head (4bc990f) 97.39%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##             master    #4598    +/-   ##
==========================================
  Coverage     97.39%   97.39%            
+ Complexity     6728     6499   -229     
==========================================
  Files           907      911     +4     
  Lines         18680    18704    +24     
  Branches       1241     1241            
==========================================
+ Hits          18193    18217    +24     
- Misses          380      381     +1     
+ Partials        107      106     -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
github-actions bot commented Nov 24, 2023

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

Copy link
Collaborator
@valfirst valfirst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something is missing: no property mapping to any bean field/arg

@uarlouski uarlouski force-pushed the feature/headless-crawler-headers branch 3 times, most recently from 1bb02ec to 5ce5a06 Compare November 28, 2023 11:17
@uarlouski uarlouski requested a review from valfirst November 28, 2023 14:14
@@ -182,6 +182,16 @@ a|`true`
|`true`
|Whether to crawl https pages.

|`transformer.from-headless-crawling.default-headers.<header name>=<header value>`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the doc should be updated now

@SuppressWarnings({ "EmptyPublicCtorInClass", "RedundantModifier" })
private final class Http
{
public Http()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is it needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

required by jackson: non-static inner classes like this can only by instantiated using default, no-argument constructor

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is package-private an option here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, it has to be public

}

@SuppressWarnings({ "EmptyPublicCtorInClass", "RedundantModifier" })
private final class Http
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

avoid mixing visibility modifiers, either make everything private or public

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or maybe package-private?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made everything private

@uarlouski uarlouski force-pushed the feature/headless-crawler-headers branch from 5ce5a06 to ca76f7e Compare November 28, 2023 15:41
@uarlouski uarlouski requested a review from valfirst November 28, 2023 15:46
@uarlouski uarlouski force-pushed the feature/headless-crawler-headers branch 2 times, most recently from 2180ad3 to 1540fff Compare November 28, 2023 16:24
@uarlouski uarlouski force-pushed the feature/headless-crawler-headers branch from 1540fff to 4bc990f Compare November 28, 2023 17:03
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@valfirst valfirst merged commit 598dfa1 into master Nov 29, 2023
@valfirst valfirst deleted the feature/headless-crawler-headers branch November 29, 2023 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0