[GitHub] [cxf] dependabot[bot] opened a new pull request, #1440: Bump org.eclipse.microprofile.config:microprofile-config-api from 3.0.3 to 3.1

2023-09-19 Thread via GitHub


dependabot[bot] opened a new pull request, #1440:
URL: https://github.com/apache/cxf/pull/1440

   Bumps 
[org.eclipse.microprofile.config:microprofile-config-api](https://github.com/eclipse/microprofile-config)
 from 3.0.3 to 3.1.
   
   Release notes
   Sourced from https://github.com/eclipse/microprofile-config/releases";>org.eclipse.microprofile.config:microprofile-config-api's
 releases.
   
   3.1-RC2
   https://download.eclipse.org/microprofile/microprofile-config-3.1-RC2/apidocs/";>Javadocs
 | https://download.eclipse.org/microprofile/microprofile-config-3.1-RC2/microprofile-config-spec-3.1-RC2.pdf";>Spec
 PDF | https://download.eclipse.org/microprofile/microprofile-config-3.1-RC2/microprofile-config-spec-3.1-RC2.html";>Spec
 html
   This release includes the following issues
   https://github.com/eclipse/microprofile-config/milestone/11?closed=1";>https://github.com/eclipse/microprofile-config/milestone/11?closed=1
   More info on the https://download.eclipse.org/microprofile/staging/microprofile-config-3.1-RC2/microprofile-config-spec-3.1-RC2.html#release_notes_31";>changelog
   To get started with MicroProfile Config 3.1, add the following dependency 
to your pom:
   
 org.eclipse.microprofile.config
 microprofile-config-api
 3.1-RC2
   
   
   Config 3.1-RC1
   https://download.eclipse.org/microprofile/microprofile-config-3.1-RC1/apidocs/";>Javadocs
 | https://download.eclipse.org/microprofile/microprofile-config-3.1-RC1/microprofile-config-spec-3.1-RC1.pdf";>Spec
 PDF | https://download.eclipse.org/microprofile/microprofile-config-3.1-RC1/microprofile-config-spec-3.1-RC1.html";>Spec
 html
   This release includes the following issues
   https://github.com/eclipse/microprofile-config/milestone/11?closed=1";>https://github.com/eclipse/microprofile-config/milestone/11?closed=1
   More info on the https://download.eclipse.org/microprofile/staging/microprofile-config-3.1-RC1/microprofile-config-spec-3.1-RC1.html#release_notes_31";>changelog
   To get started with MicroProfile Config 3.1, add the following dependency 
to your pom:
   
 org.eclipse.microprofile.config
 microprofile-config-api
 3.1-RC1
   
   
   
   
   
   Commits
   
   https://github.com/eclipse/microprofile-config/commit/b0f91aba85b4608019741714d1117751c1fe27ad";>b0f91ab
 [maven-release-plugin] prepare release 3.1
   https://github.com/eclipse/microprofile-config/commit/05d4d30f2f2f8e67e6338e625ddc06a27ba5b46d";>05d4d30
 Update to use the consistent parent pom.xml (https://redirect.github.com/eclipse/microprofile-config/issues/795";>#795)
   https://github.com/eclipse/microprofile-config/commit/a1231b403c8c6edcff5e9070b204a1162ac15b07";>a1231b4
 [maven-release-plugin] prepare for next development iteration
   https://github.com/eclipse/microprofile-config/commit/0b7957fb620a883808ce9f3e3ce60ef67bd8d5ba";>0b7957f
 [maven-release-plugin] prepare release 3.1
   https://github.com/eclipse/microprofile-config/commit/9ea3fb6e5317e6f9f676c5c6527196a772c5858f";>9ea3fb6
 Bump actions/checkout from 3 to 4 (https://redirect.github.com/eclipse/microprofile-config/issues/794";>#794)
   https://github.com/eclipse/microprofile-config/commit/5bc034bf976d4585f31924c921348d0510026dd4";>5bc034b
 [maven-release-plugin] prepare for next development iteration
   https://github.com/eclipse/microprofile-config/commit/da965c971266c96b4ddfda62d58f8c7615e518a1";>da965c9
 [maven-release-plugin] prepare release 3.1-RC2
   https://github.com/eclipse/microprofile-config/commit/99d34a8efcebb3336c503138c9fa4670931bc282";>99d34a8
 Remove section number from release notes (https://redirect.github.com/eclipse/microprofile-config/issues/789";>#789)
   https://github.com/eclipse/microprofile-config/commit/b21a366c2c591be4f9be49cc3de156850442f394";>b21a366
 Merge branch 'eclipse:master' into master
   https://github.com/eclipse/microprofile-config/commit/9eb42eb28057e478e6327369e80175e1031b9a73";>9eb42eb
 [maven-release-plugin] prepare for next development iteration
   Additional commits viewable in https://github.com/eclipse/microprofile-config/compare/3.0.3...3.1";>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.eclipse.microprofile.config:microprofile-config-api&package-manager=maven&previous-version=3.0.3&new-version=3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options

[GitHub] [cxf] dependabot[bot] opened a new pull request, #1439: Bump cxf.hibernate.em.version from 6.1.7.Final to 6.3.1.Final

2023-09-19 Thread via GitHub


dependabot[bot] opened a new pull request, #1439:
URL: https://github.com/apache/cxf/pull/1439

   Bumps `cxf.hibernate.em.version` from 6.1.7.Final to 6.3.1.Final.
   Updates `org.hibernate.orm:hibernate-core` from 6.1.7.Final to 6.3.1.Final
   
   Changelog
   Sourced from https://github.com/hibernate/hibernate-orm/blob/main/changelog.txt";>org.hibernate.orm:hibernate-core's
 changelog.
   
   Changes in 6.3.1.Final (September 19, 2023)
   https://hibernate.atlassian.net/projects/HHH/versions/32188";>https://hibernate.atlassian.net/projects/HHH/versions/32188
   ** Bug
   * [HHH-17221] - AssertionError initializing a collection with 
FetchMode.SUBSELECT and IdClass having only one field
   * [HHH-17203] - ElementCollection doesn't consider https://github.com/Where";>@​Where annotation on delete 
of elements
   * [HHH-17202] - ArrayStoreException for single field id class entity 
collection batch loading
   * [HHH-17201] - Unexpected value type exception for unordered multi id Load 
with ordered return disable
   * [HHH-17189] - Audited annotations are ignored on embeddable super types
   * [HHH-17177] - JDBC type code is ignored in XML mapping for an id attribute
   * [HHH-17173] - Getting one-to-one association through a referenece to a 
bytecode enhanced entity fails
   * [HHH-17168] - Investigate failures on db10_5 and Cockrachdb of 
FunctionTests.testCastBinaryWithLength
   * [HHH-17167] - Unable to locate parameter for RESTRICT - DELETE error when 
removing entity with RowId
   * [HHH-17166] - query methods returning primitive types incorrectly inferred 
to be mutation query methods
   * [HHH-17165] - short method names in metamodel generator cause SIOBE
   * [HHH-17163] - persist() should throw JPA's EntityExistsException if passed 
detached instance
   * [HHH-17159] - java.lang.StackOverflowError during Update on Entity with 
Embeddable and JSON
   * [HHH-17156] - NPE when an Embeddable column is reused in another class 
related by inheritance
   * [HHH-17154] - NullPointerException is thrown when constructing 
EntityManagerFactoryBuilderImpl
   * [HHH-17135] - CriteriaQuery error passing nullLiteral with entity type 
class
   * [HHH-17131] - Regression in entity streams with associated collections 
resulting in result duplication
   * [HHH-17105] - SQL clause from https://github.com/WhereJoinTable";>@​WhereJoinTable is 
no longer used for DELETE queries (6.2 regression)
   * [HHH-17104] - Bug with max() request inside projection
   * [HHH-17100] - CustomType wrongly calls UserType#disassemble
   * [HHH-17080] - [Envers] AuditReader.getRevisionNumberForDate(LocalDateTime) 
uses Epoch Seconds instead of Epoch Millis
   * [HHH-17079] - NPE when using CompositeUserType with generic fields in 
Hibernate 6
   * [HHH-17049] - Bytecode Enhancement, extra records created for associations 
created in constructor
   * [HHH-16945] - CTE query cycle attribute evaluated incorrectly on MSSQL 
using collation "Latin1_General_CI_AS"
   * [HHH-15968] - Sporadic ClassCastException when querying for Set.
   ** Improvement
   * [HHH-17220] - Avoid runtime lookups of JdbcService from TableGenerator and 
TableStructure
   * [HHH-17171] - JPA and multiple query roots
   * [HHH-16768] - HQL parsed predicates don't validate type comparability
   ** Task
   * [HHH-17204] - Relax visibility of some methods for reactive upsert() 
support
   * [HHH-17187] - Avoid 0 byte trailing UUID's in tests
   * [HHH-17160] - Gradle 8.3 upgrade
   * [HHH-17087] - Update container images to the latest version
   Changes in 6.3.0.Final (August 31, 2023)
   https://hibernate.atlassian.net/projects/HHH/versions/32177";>https://hibernate.atlassian.net/projects/HHH/versions/32177
   ** Bug
   
   
   ... (truncated)
   
   
   Commits
   
   https://github.com/hibernate/hibernate-orm/commit/1c5bdd51514c5b72195be7187d185f5406f65e24";>1c5bdd5
 Post-steps for release : 6.3.1.Final
   https://github.com/hibernate/hibernate-orm/commit/a4f51e3ea19dd4c778329f070242f5b4000f6021";>a4f51e3
 Pre-steps for release : 6.3.1.Final
   https://github.com/hibernate/hibernate-orm/commit/a0fd64398a1abaae74d3ad04cc03ddbcc4fb2d14";>a0fd643
 HHH-17203 Add test for issue
   https://github.com/hibernate/hibernate-orm/commit/0722ea4f9dfbde9470c8db0cf0b34abeb102cf56";>0722ea4
 Fix typo in 'locking-follow-on-examples.sql'
   https://github.com/hibernate/hibernate-orm/commit/e747b3d9b70b962babc0efd2b263d83a0621d261";>e747b3d
 Fix typo in '12.2.3. StalelessSession'
   https://github.com/hibernate/hibernate-orm/commit/7974c0a84233b423658af63084163e1af3d929d2";>7974c0a
 Fix typo in '12.2. Session batching'
   https://github.com/hibernate/hibernate-orm/commit/e1f9ccaee9ea47a542a6d414b5b966fe38b2ace2";>e1f9cca
 HHH-17080 Fix LocalDateTime resolved value precision
   https://github.com/hibernate/hibernate-orm/commit/7d197329d6dd4d0e833014bed1c1b41309886db2";>7d19732
 HHH-17187 - Disallow UUIDs with a trailing 0 byte in tests
   https://github.com/hibernate/hibernate-orm/commit

[GitHub] [cxf] dependabot[bot] commented on pull request #1438: Bump io.undertow:undertow-core from 2.2.20.Final to 2.2.25.Final in /parent

2023-09-19 Thread via GitHub


dependabot[bot] commented on PR #1438:
URL: https://github.com/apache/cxf/pull/1438#issuecomment-1726628705

   OK, I won't notify you again about this release, but will get in touch when 
a new version is available. If you'd rather skip all updates until the next 
major or minor version, let me know by commenting `@dependabot ignore this 
major version` or `@dependabot ignore this minor version`. You can also ignore 
all major, minor, or patch releases for a dependency by adding an [`ignore` 
condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore)
 with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts 
on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cxf.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [cxf] reta closed pull request #1438: Bump io.undertow:undertow-core from 2.2.20.Final to 2.2.25.Final in /parent

2023-09-19 Thread via GitHub


reta closed pull request #1438: Bump io.undertow:undertow-core from 
2.2.20.Final to 2.2.25.Final in /parent
URL: https://github.com/apache/cxf/pull/1438


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cxf.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: CXF JAX-RS client: setting content-type for a specific method in outgoing request

2023-09-19 Thread Andriy Redko
Hi Jean,

The JAX-RS has full support for web forms, it should be fairly easy to do 
with WebClient for example:
 
import javax.ws.rs.core.Form;
import javax.ws.rs.core.Response;
 
        final WebClient client = WebClient
            .create(address)
            .accept("application/json")
            .type("application/x-www-form-urlencoded")
            .path("/");
 
        final Form form = new Form();
        form.param("token", accessToken);
 
        try (Response response = client.post(form)) {
...
        } 

I hope it answers your question, thank you.
 
Best Regards,
    Andriy Redko 

> Hi Andriy,

> The 'ugly' solution I have is to pass the (url endocded) FORM data as a
> string to my interface method, which is then written to the body content.
> E.g.:

>         //01.Creating a static threadsafe client proxy
>         private static OidcProviderApi apiProxy;
>         protected static synchronized OidcProviderApi getApiProxy() {
>                 if (apiProxy == null) {
>                         String oidcBaseAddress =
> Configuration.getInstance().getItem("oidc.introspection.uri");
>                         apiProxy = getThreadsafeProxy(oidcBaseAddress);
>                 }
>                 return apiProxy;
>         }
>         private static OidcProviderApi getThreadsafeProxy(String 
> oidcBaseAddress) {
>                 JacksonJsonProvider provider = new JacksonJsonProvider(new
> CustomObjectMapper());
>                 List providers = new
> ArrayList();
>                 providers.add(provider);

>                 //Create a threadsafe proxy for the API resource
>                 final JAXRSClientFactoryBean factory = new 
> JAXRSClientFactoryBean();
>                 factory.setAddress(oidcBaseAddress);
>                 factory.setServiceClass(OidcProviderApi.class);
>                 factory.setProviders(providers);
>                 factory.getOutInterceptors().add(new LoggingOutInterceptor());
>                 factory.getInInterceptors().add(new LoggingInInterceptor());
>                 factory.setThreadSafe(true);
>                 OidcProviderApi api = factory.create(OidcProviderApi.class);
>                 ClientConfiguration config = WebClient.getConfig(api);
>                 addTLSClientParameters(config.getHttpConduit());
>                 return api;
>         }

>         //02.Sending the POST request with 
> 'application/x-www-form-urlencoded' body
> content containing FORM data
>         //It takes the access token as input and constructs an (url encoded) 
> string
> representing the FORM data having the
>         // parameters: token, token_type_hint, client_assertion_type and
> client_assertion
>         public Response validateAccessToken(String token) throws
> MvgBusinessFatalException       {
>                 StringBuilder bldr = new 
> StringBuilder("token=").append(token);
>                 bldr.append("&token_type_hint=access_token");
>                 
> bldr.append("&client_assertion_type=").append(URLEncoder.encode("urn:ietf:params:oauth:client-assertion-type:jwt-bearer","UTF-8"));
>                 String clientAssertion = ;
>                 bldr.append("&client_assertion=").append(clientAssertion);
>                 String urlEncodedFormData = bldr.toString();

>                 OidcProviderApi apiClient = getApiProxy();
>                 ClientConfiguration config = WebClient.getConfig(apiClient);
>                 
> config.getHttpConduit().getClient().setContentType("application/x-www-form-urlencoded");
>                 return apiClient.validateAccessToken(urlEncodedFormData);
>         }

> This works, but doesn't really look nice.

> J.P.

> -Original Message-
> From: Jean Pierre URKENS 
> Sent: dinsdag 19 september 2023 9:48
> To: 'Andriy Redko' 
> Subject: CXF JAX-RS client: setting content-type for a specific method in
> outgoing request

> Hi Andriy,

> I've a server that expects an HTTP POST request having a body content of
> mediatype  'application/x-www-form-urlencoded' and produces a response of
> mediatype 'application/json'.

> I am using Apache CXF-v3.5.6 but I am not sure on how to create a JAXRS
> client that is able to send a POST with an
> 'application/x-www-form-urlencoded' body content.

> Are there any examples within CXF to realize this.

> Thanks for any feedback.

> Regards,

> J.P. Urkens

 



[GitHub] [cxf] dependabot[bot] closed pull request #1434: Bump io.undertow:undertow-core from 2.2.20.Final to 2.3.5.Final in /parent

2023-09-19 Thread via GitHub


dependabot[bot] closed pull request #1434: Bump io.undertow:undertow-core from 
2.2.20.Final to 2.3.5.Final in /parent
URL: https://github.com/apache/cxf/pull/1434


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cxf.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [cxf] dependabot[bot] commented on pull request #1434: Bump io.undertow:undertow-core from 2.2.20.Final to 2.3.5.Final in /parent

2023-09-19 Thread via GitHub


dependabot[bot] commented on PR #1434:
URL: https://github.com/apache/cxf/pull/1434#issuecomment-1726455228

   Superseded by #1438.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cxf.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [cxf] dependabot[bot] opened a new pull request, #1438: Bump io.undertow:undertow-core from 2.2.20.Final to 2.2.25.Final in /parent

2023-09-19 Thread via GitHub


dependabot[bot] opened a new pull request, #1438:
URL: https://github.com/apache/cxf/pull/1438

   Bumps [io.undertow:undertow-core](https://github.com/undertow-io/undertow) 
from 2.2.20.Final to 2.2.25.Final.
   
   Commits
   
   https://github.com/undertow-io/undertow/commit/005b399af72a25e29106b4472e5268914a6511e7";>005b399
 Prepare 2.2.25.Final
   https://github.com/undertow-io/undertow/commit/93c31266f921f2cfd1a0b3ee05930e90d30634b7";>93c3126
 Merge pull request https://redirect.github.com/undertow-io/undertow/issues/1492";>#1492 
from fl4via/backports
   https://github.com/undertow-io/undertow/commit/0ba7513451dc37b10c74f9af8660ed44705601aa";>0ba7513
 [UNDERTOW-2267] Align Servlet.init() method behaviour with previous JBoss 
Web...
   https://github.com/undertow-io/undertow/commit/6636636ee9e17b2ff7723fb4200ec15a872209ef";>6636636
 UNDERTOW-2276: Fix NPE in HeaderMap.contains
   https://github.com/undertow-io/undertow/commit/9c579847a9bd796b4de5e116293a27f7a7c0eccb";>9c57984
 Merge pull request https://redirect.github.com/undertow-io/undertow/issues/1491";>#1491 
from fl4via/UNDERTOW-2241_2247_2248_2.2.x
   https://github.com/undertow-io/undertow/commit/c7cf4fd29078632d17e91d301b3afb76839e61b7";>c7cf4fd
 [UNDERTOW-2279] Disable the LotsOfHeadersResponseTestCase for now on 
Windows,...
   https://github.com/undertow-io/undertow/commit/9b6af5d0336e2f5e394fe8aadde0b51edd73c4ce";>9b6af5d
 [UNDERTOW-2241] At WriteTimeoutStreamSinkConduit, shutdown writes before 
clos...
   https://github.com/undertow-io/undertow/commit/fed368249ab973bd1bcbf1095ce5969b96981f56";>fed3682
 [UNDERTOW-2248] At WriteTimeoutStreamSinkConduit.handleWriteTimeout, reset 
ex...
   https://github.com/undertow-io/undertow/commit/a69497d672cd61856c977c6596e08af7f387a1eb";>a69497d
 [UNDERTOW-2247] At HttpResponseConduit.processWrite, properly manage and 
clea...
   https://github.com/undertow-io/undertow/commit/651f43c351b3ada10040149b515fac81987e39a4";>651f43c
 [UNDERTOW-2247] At HttpResponseConduit, handle write recursive calls
   Additional commits viewable in https://github.com/undertow-io/undertow/compare/2.2.20.Final...2.2.25.Final";>compare
 view
   
   
   
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=io.undertow:undertow-core&package-manager=maven&previous-version=2.2.20.Final&new-version=2.2.25.Final)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot show  ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   You can disable automated security fix PRs for this repo from the [Security 
Alerts page](https://github.com/apache/cxf/network/alerts).
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cxf.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org