-
-
Notifications
You must be signed in to change notification settings - Fork 88
[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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. |
Qodana Community for JVMIt 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 Contact Qodana teamContact us at qodana-support@jetbrains.com
|
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.
Something is missing: no property mapping to any bean field/arg
1bb02ec
to
5ce5a06
Compare
@@ -182,6 +182,16 @@ a|`true` | |||
|`true` | |||
|Whether to crawl https pages. | |||
|
|||
|`transformer.from-headless-crawling.default-headers.<header name>=<header value>` |
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.
the doc should be updated now
@SuppressWarnings({ "EmptyPublicCtorInClass", "RedundantModifier" }) | ||
private final class Http | ||
{ | ||
public Http() |
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.
why is it needed?
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.
required by jackson: non-static inner classes like this can only by instantiated using default, no-argument constructor
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.
is package-private an option here?
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.
no, it has to be public
} | ||
|
||
@SuppressWarnings({ "EmptyPublicCtorInClass", "RedundantModifier" }) | ||
private final class Http |
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.
avoid mixing visibility modifiers, either make everything private
or public
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.
or maybe package-private?
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.
made everything private
5ce5a06
to
ca76f7e
Compare
2180ad3
to
1540fff
Compare
1540fff
to
4bc990f
Compare
Kudos, SonarCloud Quality Gate passed! |
…crawler requests