You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2019/04/28 17:05:58 UTC

[cxf] branch CXF-7601_microProfileOpenApi updated (9427d6f -> 19a5712)

This is an automated email from the ASF dual-hosted git repository.

reta pushed a change to branch CXF-7601_microProfileOpenApi
in repository https://gitbox.apache.org/repos/asf/cxf.git.


 discard 9427d6f  Upgrading Apache Johnzon dependencies to 1.1.11
 discard e37eac3  Rebased against latest master, added a sample project for OpenAPI v3.0 using microprofile implementation
 discard 7643981  update new module to 3.3.1-SNAPSHOT
 discard 8b3b247  [CXF-7601] Add support for Microprofile OpenAPI implementation (as an alternative to Swagger Core 2.0)
     new a64cd05  CXF-8015 - Support "security.signature.password" property to configure a signature password for WS-Security/RS-Security
     new 8ad341b  Drop @PreMatching - no need for it
     new 7ca96dc  get rid of pre-matching here too
     new 1f3d822  Merge pull request #533 from davidkarlsen/fixValidationPhase
     new 1f8fec3  test: "hibernate.hbm2ddl.auto" set to "update" for mem db; unique persistence name
     new e3aee23  Updating HTTP Signature test to check for a signed digest properly
     new aca3a18  cxf-rt-rs-security-oauth2: check response mediatype (#539)
     new 6164978  cxf-systests-ws-rm: tune testOnewayAnonymousAcksSuppressedAsyncExecutor
     new c13381d  Added Brave tracing test cases for Microprofile Rest client
     new 7587c39  [CXF-8011]:Remove commons-lang3 dependency from tools (#537)
     new 53fd401  use StandardCharsets.UTF_8
     new 4233f91  [CXF-7990]:Fix Infinite loop when service endpoint throws SOAPFaultException (#538)
     new 0a0fea0  cxf-rt-transports-jms: stable MessageListenerTest
     new 828911c  Updating Tomcat
     new 7ddc3cc  update hibernate.em to 5.4.2.Final
     new 83e40c9  cxf-rt-rs-security-oauth2: minor improvements
     new 1188522  Updating mina
     new f86b91d  Commons Lang3 upgrade
     new 0936250  Switch to using StringBuilder
     new f22b2c4  Added a GET test for HTTP Signature
     new f005e86  Some trivial chunking cleanups
     new f0b60da  CXF-8013 - Adding a test-case
     new 67f5bef  Prevent NPE when outMessage is null
     new b4dfabf  CXF-8027 - illegal reflective access operation in EndpointReferenceUtils
     new c8d0fb7  Typo
     new 886baa3  replace Stack with Deque
     new 57f8c55  CXF-8022: Thread hangs using Reactor Flux when Exception is Thrown (#542)
     new 427c7d4  CXF-8023: Refactor systest/jaxrs/reactor/* test cases to use StepVerifier
     new 9ad086a  Update WS-Addressing schema inclusion
     new ee0b088  cxf-tools-wadlto-jaxrs: load all schemas for validation (#546)
     new ee1491c  cxf-systests-tracing: stabilize OpenTracingTracingTest
     new 277cb81  handle signing and digest together
     new 79506ee  fix review comment
     new 4622bde  fix review comment
     new 375e5e1  fix checkstyle
     new bb6cb39  fix order of expected vs actual
     new 18c663e  Merge pull request #540 from davidkarlsen/feature/signingAndDigest
     new e6ee675  Fixing HTTP Sig tests
     new df89b6d  More work on HTTP Signature
     new 3d34da3  Updating Karaf
     new 265cd8b  cxf-rt-rs-security-oauth2L remove unused throws declarations
     new 54d812a  DoPriv around JAXBContext.newInstance where classloader is not specified
     new 47852c8  Remove VerifyDigestInterceptor, and fold the functionality into the signature verification filters
     new 67491a0  Change to have a single interceptor for outbound HTTP Signature
     new bff521f  Making HTTP Sig test less likely to fail
     new 4206b97  Fixing signing an empty response for HTTP Signature
     new c5f38af  Adding another HTTP Signature test
     new 098baf4  Fixing some edge-cases for a http signature test
     new 873f7aa  [CXF-8030] Done some refactoring
     new 0ac9c14  Merge pull request #549 from ivy-arus/CXF-8030
     new bf8528f  [CXF-7601] Add support for Microprofile OpenAPI implementation (as an alternative to Swagger Core 2.0)
     new 0101c39  update new module to 3.3.1-SNAPSHOT
     new 018f05a  Rebased against latest master, added a sample project for OpenAPI v3.0 using microprofile implementation
     new 19a5712  Upgrading Apache Johnzon dependencies to 1.1.11

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (9427d6f)
            \
             N -- N -- N   refs/heads/CXF-7601_microProfileOpenApi (19a5712)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 14921 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../java/org/apache/cxf/common/util/UrlUtils.java  |   6 +-
 .../main/java/org/apache/cxf/helpers/IOUtils.java  |   2 +-
 .../main/java/org/apache/cxf/io/CachedWriter.java  |   6 +-
 .../apache/cxf/resource/ExtendedURIResolver.java   |   7 +-
 .../cxf/staxutils/CachingXmlEventWriter.java       |   9 +-
 .../staxutils/DepthRestrictingStreamReader.java    |   7 +-
 .../cxf/staxutils/PrettyPrintXMLStreamWriter.java  |  10 +-
 .../java/org/apache/cxf/staxutils/StaxUtils.java   |  56 ++-
 .../apache/cxf/staxutils/W3CDOMStreamWriter.java   |  16 +-
 .../transform/DelegatingNamespaceContext.java      |  15 +-
 .../apache/cxf/transport/TransportURIResolver.java |   2 +-
 .../cxf/ws/addressing/EndpointReferenceUtils.java  |  19 +-
 .../cxf/staxutils/W3CDOMStreamReaderTest.java      |   4 +-
 .../java/demo/jaxrs/openapi/server/Sample.java     |   3 +-
 .../src/main/release/samples/ws_rm/README.txt      |   2 +-
 .../src/main/java/demo/wssec/client/wssec.xml      |  12 +-
 .../src/main/java/demo/wssec/server/wssec.xml      |  12 +-
 .../ws_security/ut/src/main/resources/wssec.xml    |  10 +-
 parent/pom.xml                                     |  12 +-
 .../binding/corba/runtime/CorbaStreamWriter.java   |   7 +-
 .../cxf/binding/soap/saaj/ParseBodyTest.java       |   2 +-
 .../cxf/aegis/util/stax/JDOMStreamWriter.java      |   5 +-
 .../aegis/type/encoded/AbstractEncodedTest.java    |  11 +-
 .../org/apache/cxf/jaxrs/impl/ResponseImpl.java    |   4 +-
 .../org/apache/cxf/jaxrs/impl/UriInfoImpl.java     |   2 +-
 .../cxf/jaxrs/provider/AbstractJAXBProvider.java   |  24 +-
 .../cxf/jaxrs/utils/schemas/SchemaHandler.java     |  14 +-
 .../jaxws/interceptors/WebFaultOutInterceptor.java |   2 +
 .../cxf/javascript/JavascriptGetInterceptor.java   |   6 +-
 .../org/apache/cxf/javascript/JavascriptUtils.java |  89 ++---
 .../apache/cxf/javascript/JsXMLHttpRequest.java    |   5 +-
 .../apache/cxf/javascript/QueryHandlerTest.java    |   5 +-
 .../server/StreamingAsyncSubscriber.java           |  43 ++-
 .../jaxrs/reactor/client/ReactorInvokerImpl.java   |   7 +-
 rt/rs/extensions/search/pom.xml                    |   6 +
 .../jaxrs/ext/search/hbase/HBaseQueryVisitor.java  |   5 +-
 .../search/jpa/AbstractJPATypedQueryVisitor.java   |   5 +-
 .../ext/search/lucene/LuceneQueryVisitor.java      |   7 +-
 .../jpa/AbstractJPATypedQueryVisitorTest.java      |   2 +-
 .../src/test/resources/META-INF/persistence.xml    |   4 +-
 rt/rs/security/http-signature/pom.xml              |   4 +
 .../httpsignature/HTTPSignatureConstants.java      |   8 +-
 .../rs/security/httpsignature/MessageSigner.java   |  27 +-
 .../httpsignature/TomitribeSignatureCreator.java   |  18 +-
 .../httpsignature/TomitribeSignatureValidator.java |   8 +-
 .../filters/AbstractSignatureInFilter.java         |  49 ++-
 .../filters/AbstractSignatureOutFilter.java        |   3 +-
 .../filters/CreateDigestInterceptor.java           |  94 -----
 .../filters/CreateSignatureClientFilter.java       |  43 ---
 .../filters/CreateSignatureFilter.java             |  47 ---
 .../filters/CreateSignatureInterceptor.java        | 170 +++++++++
 .../filters/VerifyDigestInterceptor.java           | 116 ------
 .../filters/VerifySignatureClientFilter.java       |  16 +-
 .../filters/VerifySignatureFilter.java             |  16 +-
 .../httpsignature/MessageVerifierTest.java         |  27 +-
 rt/rs/security/oauth-parent/oauth2/pom.xml         |   7 +-
 .../security/oauth2/client/OAuthClientUtils.java   |  26 +-
 .../oauth2/grants/code/JCacheCodeDataProvider.java |   6 +-
 .../oauth2/provider/JCacheOAuthDataProvider.java   |  14 +-
 .../security/oauth2/utils/AuthorizationUtils.java  |  12 +-
 .../oauth2/client/OAuthClientUtilsTest.java        |  78 +++++
 .../grants/code/JPACodeDataProviderTest.java       |   2 +-
 .../provider/AbstractOAuthDataProviderTest.java    |  19 +-
 .../oauth2/provider/JPAOAuthDataProviderTest.java  |  29 +-
 .../oauth2/utils/AuthorizationUtilsTest.java       |  44 ++-
 .../rs/security/oauth2/utils/OAuthUtilsTest.java   |   2 +-
 .../src/test/resources/META-INF/persistence.xml    |   4 +-
 .../oauth2/grants/code/JPACMTCodeDataProvider.xml  |   4 +-
 rt/rs/security/sso/oidc/pom.xml                    |   6 +
 .../security/oidc/idp/JPAOidcUserSubjectTest.java  |   2 +-
 .../src/test/resources/META-INF/persistence.xml    |   4 +-
 .../oidc/idp/JPAOidcUserSubjectCMTTest.xml         |   2 +-
 .../cxf/rs/security/common/RSSecurityUtils.java    |   9 +-
 .../org/apache/cxf/rs/security/saml/SAMLUtils.java |   4 +-
 .../cxf/rs/security/xml/XmlSecOutInterceptor.java  |   6 +-
 .../cxf/rs/security/xml/XmlSigOutInterceptor.java  |   4 +-
 .../apache/cxf/rt/security/SecurityConstants.java  |   5 +
 .../org/apache/cxf/transport/http/HTTPConduit.java |   6 +-
 .../org/apache/cxf/transport/jms/util/JMSUtil.java |   1 +
 .../transport/jms/util/MessageListenerTest.java    | 106 +++---
 rt/transports/jms/src/test/resources/jms_test.wsdl |   4 +-
 .../jetty/WebSocketVirtualServletRequest.java      |   4 +-
 .../undertow/WebSocketUndertowServletRequest.java  |   4 +-
 .../wss4j/AbstractWSS4JStaxInterceptor.java        |  39 ++-
 .../ws/security/wss4j/SamlTokenInterceptor.java    |   4 +
 .../cxf/ws/security/wss4j/StaxSerializer.java      |   6 +-
 .../cxf/ws/security/wss4j/WSS4JInInterceptor.java  |  32 ++
 .../policyhandlers/AbstractBindingBuilder.java     |  18 +-
 .../policyhandlers/TransportBindingHandler.java    |  13 +-
 .../apache/cxf/systest/aegis/AegisJaxWsImpl.java   |  13 +-
 .../apache/cxf/systest/aegis/mtom/MtomTest.java    |   6 +-
 systests/jaxrs/pom.xml                             |   6 +
 .../systest/jaxrs/JAXRSClientServerBookTest.java   |   3 +-
 .../systest/jaxrs/cors/CrossOriginSimpleTest.java  |   8 +-
 .../cxf/systest/jaxrs/reactor/FluxReactorTest.java | 152 ++++++--
 .../cxf/systest/jaxrs/reactor/FluxService.java     |  48 +++
 .../IllegalArgumentExceptionMapper.java}           |   8 +-
 .../cxf/systest/jaxrs/reactor/ReactorServer.java   |   1 +
 ...RPCLitDefatulAnnoTest.java => CXF7990Test.java} |  39 ++-
 ...ddNumbersImplPartial2.java => EchoService.java} |  11 +-
 .../apache/cxf/systest/jaxws/EchoServiceImpl.java  |  63 ++++
 .../microprofile/client/{jaxrs => tracing}/pom.xml |  98 ++----
 .../microprofile/rest/client/tracing}/Book.java    |   2 +-
 .../rest/client/tracing/BookRestClient.java        |  16 +-
 .../rest/client/tracing/BookStore.java             |  40 ++-
 .../client/tracing/brave/BraveTracingTest.java     | 190 ++++++++++
 .../client/tracing}/brave/TestSpanReporter.java    |   2 +-
 systests/microprofile/pom.xml                      |   1 +
 systests/rs-security/pom.xml                       |   6 +
 .../cxf/systest/jaxrs/security/BookStore.java      |   7 +
 .../httpsignature/JAXRSHTTPSignatureTest.java      | 387 +++++++++++++++------
 .../jaxrs/security/xml/JAXRSXmlSecTest.java        |  43 +++
 .../src/test/resources/META-INF/persistence.xml    |   4 +-
 .../jaxrs/security/httpsignature/server.xml        |  35 +-
 .../oauth2/grants/grants-negative-server-jpa.xml   |   2 +-
 .../security/oauth2/grants/grants-server-jpa.xml   |   2 +-
 .../oauth2/grants/introspection-server-jpa.xml     |   2 +-
 .../jaxrs/security/oauth2/grants/server-jpa.xml    |   2 +-
 .../security/oidc/oidc-negative-server-jpa.xml     |   2 +-
 .../jaxrs/security/oidc/oidc-server-jpa.xml        |   2 +-
 .../jaxrs/security/oidc/userinfo-server-jpa.xml    |   2 +-
 .../org/apache/cxf/systest/jaeger/TestSender.java  |  14 +-
 .../cxf/systest/jaxrs/tracing/BookStore.java       |  89 ++---
 .../opentracing/OpenTracingTracingTest.java        |  13 +-
 .../systest/http_undertow/MapIdentityManager.java  |   5 +-
 .../org/apache/cxf/systest/ws/rm/SequenceTest.java |   2 +-
 .../org/apache/cxf/systest/ws/rm/suppressed.xml    |   2 +-
 .../apache/cxf/systest/ws/util/MessageFlow.java    |  45 +--
 .../ws/password/PasswordPropertiesTest.java        |  33 ++
 .../cxf/systest/ws/ut/UsernameTokenTest.java       |  27 ++
 .../cxf/systest/ws/password/DoubleItPassword.wsdl  |  65 ++++
 .../org/apache/cxf/systest/ws/password/server.xml  |  13 +
 .../cxf/systest/ws/security/handler/client.xml     |  15 +-
 .../client.xml => ut/client-remote-wsdl.xml}       |  21 +-
 .../systest/ws/policy/addr-inline-policy-old.xml   |   3 +-
 .../cxf/systest/ws/policy/addr-inline-policy.xml   |   3 +-
 .../cxf/systest/ws/policy/rm10wsdl_server.xml      |   1 -
 .../cxf/systest/ws/policy/rm12wsdl_server.xml      |   1 -
 .../java/org/apache/cxf/test/TestUtilities.java    |   6 +-
 .../cxf/testutil/recorders/InMessageRecorder.java  |  35 +-
 .../cxf/testutil/recorders/MessageRecorder.java    |  26 +-
 .../cxf/testutil/recorders/OutMessageRecorder.java |  11 +-
 .../org/apache/cxf/tools/util/ToolsStaxUtils.java  |   5 +-
 .../tools/corba/common/idltypes/IdlScopeBase.java  |  12 +-
 .../idlpreprocessor/IdlPreprocessorReader.java     |   7 +-
 .../tools/java2js/processor/JavaToJSProcessor.java |   6 +-
 .../tools/validator/internal/ValidationResult.java |   2 +-
 .../cxf/tools/validator/internal/model/XNode.java  |  19 +-
 .../cxf/tools/wadlto/jaxrs/SourceGenerator.java    |  34 +-
 .../cxf/tools/wadlto/jaxrs/ValidateWadlTest.java   |  26 +-
 .../cxf/tools/wsdlto/WSDLToJavaContainer.java      |  31 +-
 .../javascript/WSDLToJavaScriptProcessor.java      |   6 +-
 tools/wsdlto/frontend/jaxws/pom.xml                |   6 +
 .../frontend/jaxws/generators/SEIGenerator.java    |   2 +-
 .../jaxws/processor/internal/ServiceProcessor.java |   2 +-
 155 files changed, 2086 insertions(+), 1342 deletions(-)
 delete mode 100644 rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/CreateDigestInterceptor.java
 delete mode 100644 rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/CreateSignatureClientFilter.java
 delete mode 100644 rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/CreateSignatureFilter.java
 create mode 100644 rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/CreateSignatureInterceptor.java
 delete mode 100644 rt/rs/security/http-signature/src/main/java/org/apache/cxf/rs/security/httpsignature/filters/VerifyDigestInterceptor.java
 create mode 100644 rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/client/OAuthClientUtilsTest.java
 copy systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/{reactive/MappedExceptionMapper.java => reactor/IllegalArgumentExceptionMapper.java} (78%)
 copy systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/{ClientServerRPCLitDefatulAnnoTest.java => CXF7990Test.java} (61%)
 copy systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/{AddNumbersImplPartial2.java => EchoService.java} (80%)
 create mode 100644 systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/EchoServiceImpl.java
 copy systests/microprofile/client/{jaxrs => tracing}/pom.xml (64%)
 copy systests/{tracing/src/test/java/org/apache/cxf/systest => microprofile/client/tracing/src/test/java/org/apache/cxf/systest/microprofile/rest/client/tracing}/Book.java (95%)
 copy distribution/src/main/release/samples/jax_rs/minimal_osgi/src/main/java/minimalosgi/SampleResource.java => systests/microprofile/client/tracing/src/test/java/org/apache/cxf/systest/microprofile/rest/client/tracing/BookRestClient.java (79%)
 copy distribution/src/main/release/samples/jax_rs/tracing_opentracing_camel/src/main/java/demo/jaxrs/tracing/server/cxf/Catalog.java => systests/microprofile/client/tracing/src/test/java/org/apache/cxf/systest/microprofile/rest/client/tracing/BookStore.java (57%)
 create mode 100644 systests/microprofile/client/tracing/src/test/java/org/apache/cxf/systest/microprofile/rest/client/tracing/brave/BraveTracingTest.java
 copy systests/{tracing/src/test/java/org/apache/cxf/systest => microprofile/client/tracing/src/test/java/org/apache/cxf/systest/microprofile/rest/client/tracing}/brave/TestSpanReporter.java (94%)
 copy systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/{basicauth/client.xml => ut/client-remote-wsdl.xml} (82%)