File tree Expand file tree Collapse file tree
src/main/java/io/openliberty/guides/ping
src/main/java/io/openliberty/guides/ping Expand file tree Collapse file tree Load diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 3737 <groupId >org.eclipse.microprofile.rest.client</groupId >
3838 <artifactId >microprofile-rest-client-api</artifactId >
3939 </dependency >
40- <dependency >
41- <groupId >io.openliberty.features</groupId >
42- <artifactId >mpConfig-1.2</artifactId >
43- <type >esa</type >
44- <scope >provided</scope >
45- </dependency >
4640 <dependency >
4741 <groupId >junit</groupId >
4842 <artifactId >junit</artifactId >
116110 <plugin >
117111 <groupId >net.wasdev.wlp.maven.plugins</groupId >
118112 <artifactId >liberty-maven-plugin</artifactId >
119- <version >2.3</version >
120113 <configuration >
121- <assemblyArtifact >
122- <groupId >io.openliberty</groupId >
123- <artifactId >openliberty-runtime</artifactId >
124- <version >${version.openliberty-runtime} </version >
125- <type >zip</type >
126- </assemblyArtifact >
127114 <configFile >src/main/liberty/config/server.xml</configFile >
128115 <include >usr</include >
129116 <bootstrapProperties >
Original file line number Diff line number Diff line change 114114 <plugin >
115115 <groupId >net.wasdev.wlp.maven.plugins</groupId >
116116 <artifactId >liberty-maven-plugin</artifactId >
117- <version >2.3</version >
118117 <configuration >
119- <assemblyArtifact >
120- <groupId >io.openliberty</groupId >
121- <artifactId >openliberty-runtime</artifactId >
122- <version >${version.openliberty-runtime} </version >
123- <type >zip</type >
124- </assemblyArtifact >
125118 <configFile >src/main/liberty/config/server.xml</configFile >
126119 <include >usr</include >
127120 <bootstrapProperties >
Original file line number Diff line number Diff line change 11// tag::copyright[]
22/*******************************************************************************
3- * Copyright (c) 2018 IBM Corporation and others.
3+ * Copyright (c) 2018, 2019 IBM Corporation and others.
44 * All rights reserved. This program and the accompanying materials
55 * are made available under the terms of the Eclipse Public License v1.0
66 * which accompanies this distribution, and is available at
Original file line number Diff line number Diff line change 44 xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
55
66 <modelVersion >4.0.0</modelVersion >
7+
8+ <parent >
9+ <groupId >net.wasdev.wlp.maven.parent</groupId >
10+ <artifactId >liberty-maven-app-parent</artifactId >
11+ <version >RELEASE</version >
12+ </parent >
713
814 <groupId >io.openliberty.guides</groupId >
915 <artifactId >kube-demo</artifactId >
4854 <version >1.0.1</version >
4955 <scope >provided</scope >
5056 </dependency >
51- <dependency >
52- <groupId >org.apache.commons</groupId >
53- <artifactId >commons-lang3</artifactId >
54- <version >3.0</version >
55- <scope >compile</scope >
56- </dependency >
5757 <dependency >
5858 <groupId >junit</groupId >
5959 <artifactId >junit</artifactId >
6363 <dependency >
6464 <groupId >org.apache.cxf</groupId >
6565 <artifactId >cxf-rt-rs-client</artifactId >
66- <version >3.1.11 </version >
66+ <version >3.2.6 </version >
6767 <scope >test</scope >
6868 </dependency >
69+ <dependency >
70+ <groupId >org.apache.commons</groupId >
71+ <artifactId >commons-lang3</artifactId >
72+ <version >3.0</version >
73+ <scope >compile</scope >
74+ </dependency >
6975 <!-- Support for JDK 9 and above -->
7076 <dependency >
7177 <groupId >javax.xml.bind</groupId >
126132 <plugin >
127133 <groupId >net.wasdev.wlp.maven.plugins</groupId >
128134 <artifactId >liberty-maven-plugin</artifactId >
129- <version >2.3</version >
130- <inherited >false</inherited >
131135 <configuration >
132- <skip >true</skip >
136+ <assemblyArtifact >
137+ <groupId >io.openliberty</groupId >
138+ <artifactId >openliberty-runtime</artifactId >
139+ <version >RELEASE</version >
140+ <type >zip</type >
141+ </assemblyArtifact >
133142 </configuration >
134143 </plugin >
135144 <plugin >
Original file line number Diff line number Diff line change 3737 <groupId >org.eclipse.microprofile.rest.client</groupId >
3838 <artifactId >microprofile-rest-client-api</artifactId >
3939 </dependency >
40- <dependency >
41- <groupId >io.openliberty.features</groupId >
42- <artifactId >mpConfig-1.2</artifactId >
43- <type >esa</type >
44- <scope >provided</scope >
45- </dependency >
4640 <dependency >
4741 <groupId >junit</groupId >
4842 <artifactId >junit</artifactId >
116110 <plugin >
117111 <groupId >net.wasdev.wlp.maven.plugins</groupId >
118112 <artifactId >liberty-maven-plugin</artifactId >
119- <version >2.3</version >
120113 <configuration >
121- <assemblyArtifact >
122- <groupId >io.openliberty</groupId >
123- <artifactId >openliberty-runtime</artifactId >
124- <version >${version.openliberty-runtime} </version >
125- <type >zip</type >
126- </assemblyArtifact >
127114 <configFile >src/main/liberty/config/server.xml</configFile >
128115 <include >usr</include >
129116 <bootstrapProperties >
Original file line number Diff line number Diff line change 114114 <plugin >
115115 <groupId >net.wasdev.wlp.maven.plugins</groupId >
116116 <artifactId >liberty-maven-plugin</artifactId >
117- <version >2.3</version >
118117 <configuration >
119- <assemblyArtifact >
120- <groupId >io.openliberty</groupId >
121- <artifactId >openliberty-runtime</artifactId >
122- <version >${version.openliberty-runtime} </version >
123- <type >zip</type >
124- </assemblyArtifact >
125118 <configFile >src/main/liberty/config/server.xml</configFile >
126119 <include >usr</include >
127120 <bootstrapProperties >
Original file line number Diff line number Diff line change 11// tag::copyright[]
22/*******************************************************************************
3- * Copyright (c) 2018 IBM Corporation and others.
3+ * Copyright (c) 2018, 2019 IBM Corporation and others.
44 * All rights reserved. This program and the accompanying materials
55 * are made available under the terms of the Eclipse Public License v1.0
66 * which accompanies this distribution, and is available at
1818import java .util .Base64 ;
1919
2020import javax .enterprise .context .RequestScoped ;
21+ import javax .inject .Inject ;
2122import javax .ws .rs .GET ;
2223import javax .ws .rs .Path ;
2324import javax .ws .rs .PathParam ;
2627import javax .ws .rs .core .MediaType ;
2728
2829import org .apache .commons .lang3 .exception .ExceptionUtils ;
30+ import org .eclipse .microprofile .config .inject .ConfigProperty ;
2931import org .eclipse .microprofile .rest .client .RestClientBuilder ;
3032
3133import io .openliberty .guides .ping .client .NameClient ;
Original file line number Diff line number Diff line change 44 xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
55
66 <modelVersion >4.0.0</modelVersion >
7+
8+ <parent >
9+ <groupId >net.wasdev.wlp.maven.parent</groupId >
10+ <artifactId >liberty-maven-app-parent</artifactId >
11+ <version >RELEASE</version >
12+ </parent >
713
814 <groupId >io.openliberty.guides</groupId >
915 <artifactId >kube-demo</artifactId >
4854 <version >1.0.1</version >
4955 <scope >provided</scope >
5056 </dependency >
51- <dependency >
52- <groupId >org.apache.commons</groupId >
53- <artifactId >commons-lang3</artifactId >
54- <version >3.0</version >
55- <scope >compile</scope >
56- </dependency >
5757 <dependency >
5858 <groupId >junit</groupId >
5959 <artifactId >junit</artifactId >
6363 <dependency >
6464 <groupId >org.apache.cxf</groupId >
6565 <artifactId >cxf-rt-rs-client</artifactId >
66- <version >3.1.11 </version >
66+ <version >3.2.6 </version >
6767 <scope >test</scope >
6868 </dependency >
69+ <dependency >
70+ <groupId >org.apache.commons</groupId >
71+ <artifactId >commons-lang3</artifactId >
72+ <version >3.0</version >
73+ <scope >compile</scope >
74+ </dependency >
6975 <!-- Support for JDK 9 and above -->
7076 <dependency >
7177 <groupId >javax.xml.bind</groupId >
126132 <plugin >
127133 <groupId >net.wasdev.wlp.maven.plugins</groupId >
128134 <artifactId >liberty-maven-plugin</artifactId >
129- <version >2.3</version >
130- <inherited >false</inherited >
131135 <configuration >
132- <skip >true</skip >
136+ <assemblyArtifact >
137+ <groupId >io.openliberty</groupId >
138+ <artifactId >openliberty-runtime</artifactId >
139+ <version >RELEASE</version >
140+ <type >zip</type >
141+ </assemblyArtifact >
133142 </configuration >
134143 </plugin >
135144 <plugin >
You can’t perform that action at this time.
0 commit comments