]
Gerhard Poul updated ARQ-2152:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Add support for setting 'apiTypeVisibility' in Websphere
Liberty Application Server Container
----------------------------------------------------------------------------------------------
Key: ARQ-2152
URL:
https://issues.jboss.org/browse/ARQ-2152
Project: Arquillian
Issue Type: Feature Request
Components: WebSphere Containers
Affects Versions: was_1.0.0.next
Environment: Testing Microprofile TCKs on WebSphere Liberty
(Apologies for setting the priority.)
(Apologies if the version is incorrect for
https://github.com/arquillian/arquillian-container-was/tree/master/wlp-ma...
Reporter: Gordon Hutchison
Assignee: Gerhard Poul
Priority: Minor
(I have to thank my colleague Kevin Grigorenko for this patch which I integrated into
my local clone. The text below is pasted from text written by him: )
"Added support for injecting a Tracer into the TCK: For the CDI injection to work,
the TCK application's classloader must be configured with
apiTypeVisibility="spec, ibm-api, third-party". The WAS Arquillian
container's default deployType is dropins and I couldn't find a way to configure
the classloader for that. The WAS Arquiallian container also supports deployType=xml which
puts the WAR into apps and dynamically adds configuration to Liberty's server.xml with
the <application /> element and some sub-elements. I forked that code to also add
support for apiTypeVisibility and also submitted a pull request. Now, running with that
fork and specifying <property name="deployType">xml</property> and
<property name="apiTypeVisibility">spec, ibm-api,
third-party</property> in
mpOpentracingTckRunner/tck/src/test/resources/arquillian.xml allows the TCK to inject the
Tracer."
This WLP feature is discussed here:
https://www.ibm.com/support/knowledgecenter/en/SSEQTP_8.5.5/com.ibm.websp...
I have Kevin's code patch that does this and am only raising this issue
in order to reference it in a pull request I am going to make
at
https://github.com/arquillian/arquillian-container-was/tree/master/wlp-ma...
I have checked with Kevin that he is happy for me to do this:
(On IBM Sametime)
gordon_hutchison(a)uk.ibm.com - Gordon Hutchison/UK/IBM:
4:17:28 PM: Hi Kevin, is it OK with you if I create an issue and then a PR to integrate
the 'apiTypeVisibility' change you did to the public upstream repo?
Kevin GRIGORENKO:
4:17:54 PM: Yes, absolutely. Thanks very much!