[jira] [Commented] (CXF-8293) While compiling many WSDLs it overwrites ObjectFactory

2020-06-04 Thread Colm O hEigeartaigh (Jira)


[ 
https://issues.apache.org/jira/browse/CXF-8293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17125614#comment-17125614
 ] 

Colm O hEigeartaigh commented on CXF-8293:
--

See the comments here: https://issues.apache.org/jira/browse/CXF-1340

 

> While compiling many WSDLs it overwrites ObjectFactory
> --
>
> Key: CXF-8293
> URL: https://issues.apache.org/jira/browse/CXF-8293
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.2.8
> Environment: Not working environment : 
>  mvn -version
> *Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)*
> Maven home: /Users/omar/Downloads/apache-maven-3.6.3
> Java version: 1.8.0_251, vendor: Oracle Corporation, runtime: 
> /Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.15.3", arch: "x86_64", family: "mac"
>Reporter: Omar Atia
>Priority: Blocker
>
> Dears ,
> While compiling WSDL using maven code-gen plugin the below pom.xml , it 
> overwrites ObjectFactory with last wsdl and not merge all of WSDLs inside 
> ObjectFactory , in Windows it is working fine on JDK1.8 and maven 3.6.3 but 
> in Mac and some Unbuntu version it overwrites the ObjectFactory .
> We used on Mac the same JDK and same maven used on Working windows but that 
> also doesn't work , it keeps overwriting the ObjectFactory with last wsdl.
> Pom.xml :
>  
>  
> {code:java}
> 
> org.apache.cxf
> cxf-codegen-plugin
> ${cxf.version}
> 
> 
> generate-sources
> generate-sources
> 
> ${project.build.directory}/generated/cxf
> ${basedir}/src/main/resources/wsdl
> 
> *.wsdl
> 
> 
>  
> 
> wsdl2java
> 
> 
> 
> 
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CXF-8284) Parameter annotations with default names

2020-06-04 Thread xnYi9wRezm (Jira)


[ 
https://issues.apache.org/jira/browse/CXF-8284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17125865#comment-17125865
 ] 

xnYi9wRezm commented on CXF-8284:
-

It does make sense and it would be a great improvement.

> Parameter annotations with default names
> 
>
> Key: CXF-8284
> URL: https://issues.apache.org/jira/browse/CXF-8284
> Project: CXF
>  Issue Type: Wish
>  Components: JAX-RS
>Reporter: xnYi9wRezm
>Priority: Minor
>
> @...Param annotations require in most cases the repetition of the parameter 
> name. i.e.
> @Path("/book/\{isbn}")
> {{ public String getBook(@PathParam("isbn") String isbn)}}{{{}}
> {{  }}{{...}}
> {{ }}}
> RestEasy implemented new annotations that don't require the parameter name 
> when it matches the Java name. It would be useful to have the same in Apache 
> CXF.
> *See*
>  * 
> [https://docs.jboss.org/resteasy/docs/3.8.1.Final/userguide/html/_NewParam.html]
>  * 
> [https://github.com/resteasy/Resteasy/commit/0e992f2a0f9004822a40e6d2fbf26b3f4c8d1bf0]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (CXF-8294) MP Rest Client 2.0: Add spec-defined proxy server support

2020-06-04 Thread Andy McCright (Jira)
Andy McCright created CXF-8294:
--

 Summary: MP Rest Client 2.0: Add spec-defined proxy server support
 Key: CXF-8294
 URL: https://issues.apache.org/jira/browse/CXF-8294
 Project: CXF
  Issue Type: Sub-task
  Components: MicroProfile
Reporter: Andy McCright
Assignee: Andy McCright
 Fix For: 3.4.0


MP Rest Client 2.0 defines a portable method of specifying proxy server. This 
issue should be used to implement that (basically map the new method to 
existing CXF proxy server properties).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (CXF-8295) MP Rest Client 2.0: Spec-defined followRedirect

2020-06-04 Thread Andy McCright (Jira)
Andy McCright created CXF-8295:
--

 Summary: MP Rest Client 2.0: Spec-defined followRedirect
 Key: CXF-8295
 URL: https://issues.apache.org/jira/browse/CXF-8295
 Project: CXF
  Issue Type: Sub-task
  Components: MicroProfile
Reporter: Andy McCright
Assignee: Andy McCright
 Fix For: 3.4.0


MP Rest Client 2.0 creates a portable method for specifying whether a rest 
client instance should automatically follow redirect responses (usually 30X 
HTTP response codes).  Since CXF already has support to automatically follow 
redirects, this issue should be used to map the spec methods to the existing 
CXF properties.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (CXF-8296) Custom Boolean ParamConverter wrong behaviour

2020-06-04 Thread Jonatan Lemes (Jira)
Jonatan Lemes created CXF-8296:
--

 Summary: Custom Boolean ParamConverter wrong behaviour
 Key: CXF-8296
 URL: https://issues.apache.org/jira/browse/CXF-8296
 Project: CXF
  Issue Type: Bug
  Components: JAX-RS
Affects Versions: 3.3.6
 Environment: apache-tomee-webprofile-8.0.2
Reporter: Jonatan Lemes
 Attachments: BindingController.java, BindingForm.java, 
JaxRsApplication.java, OpenMvcFeatureImpl.java, 
VanillaParamConverterProviderImpl.java

Attachmente files describes an sample application thats use custom boolean 
ParamConverter used with @BeanParam + @FormParam parameter. Cxf is returning 
false for Wrapper Boolean Object even when null is provided as value in 
converter. 

Libs/Impls like resteasy and jersey works correctly returning null for Wrapper 
Boolean Object. 

Is this expected or its a bug ? There is some workaround or way to force null 
without coercing to false when null is provided ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Assigned] (CXF-8099) Hiding sensitive information in request and response logs via configuration

2020-06-04 Thread Andrei Shakirin (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Shakirin reassigned CXF-8099:


Assignee: Andrei Shakirin

> Hiding sensitive information in request and response logs via configuration
> ---
>
> Key: CXF-8099
> URL: https://issues.apache.org/jira/browse/CXF-8099
> Project: CXF
>  Issue Type: Improvement
>  Components: logging
>Affects Versions: 3.0.4
>Reporter: K G N Nisansala
>Assignee: Andrei Shakirin
>Priority: Major
>
> When request hitting the cxf-logging enabled system. It logged all the 
> details in request in plain text,. If the request body contains sensitive 
> data like passwords, imi numbers and sms messages, all details logged, same 
> applied to response as well. With this improvement we can hide it based on 
> the configured keys.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)