File tree Expand file tree Collapse file tree 3 files changed +9
-6
lines changed
rest/src/main/java/cz/incad/kramerius/rest/apiNew/client/v70 Expand file tree Collapse file tree 3 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
group =cz.incad.kramerius
2
- version =7.0.33-dev
2
+ version =7.0.33-devtomcat2
Original file line number Diff line number Diff line change 64
64
import javax .inject .Named ;
65
65
import javax .servlet .http .HttpServletRequest ;
66
66
import javax .ws .rs .*;
67
+ import javax .ws .rs .client .ClientBuilder ;
67
68
import javax .ws .rs .core .Context ;
68
69
import javax .ws .rs .core .MediaType ;
69
70
import javax .ws .rs .core .PathSegment ;
@@ -207,6 +208,8 @@ public class ItemsResource extends ClientApiResource {
207
208
public ItemsResource () {
208
209
super ();
209
210
this .c = Client .create ();
211
+ this .c .setConnectTimeout (5000 );
212
+ this .c .setReadTimeout (10000 );
210
213
}
211
214
212
215
Original file line number Diff line number Diff line change @@ -129,8 +129,8 @@ repositories {
129
129
130
130
jib {
131
131
from {
132
- // image = 'tomcat:9.0.67 -jre11-temurin-jammy'
133
- image = ' bitnami/tomcat:9.0.75'
132
+ image = ' tomcat:9.0.87 -jre11-temurin-jammy'
133
+ // image = 'bitnami/tomcat:9.0.75'
134
134
platforms {
135
135
platform {
136
136
architecture = ' amd64'
@@ -146,9 +146,9 @@ jib {
146
146
image = " ceskaexpedice/kramerius:${ version} "
147
147
}
148
148
container {
149
- // appRoot = '/usr/local/tomcat/webapps/search'
150
- appRoot = ' /opt/bitnami/tomcat/webapps/search'
151
- user = ' 1001 '
149
+ appRoot = ' /usr/local/tomcat/webapps/search'
150
+ // appRoot = '/opt/bitnami/tomcat/webapps/search'
151
+ user = ' 0 '
152
152
}
153
153
}
154
154
You can’t perform that action at this time.
0 commit comments