add push task and disable proxy for @Configuration
This commit is contained in:
parent
a38a324ad2
commit
6e7a6055b4
3
Makefile
3
Makefile
@ -30,6 +30,9 @@ docker-graal-build:
|
|||||||
docker-graal-release:
|
docker-graal-release:
|
||||||
docker tag docker.registry:5000/wikiproject-native:latest docker.registry:5000/wikiproject-native:$(NATIVE_VERSION)
|
docker tag docker.registry:5000/wikiproject-native:latest docker.registry:5000/wikiproject-native:$(NATIVE_VERSION)
|
||||||
|
|
||||||
|
docker-graal-push:
|
||||||
|
docker push docker.registry:5000/wikiproject-native:$(NATIVE_VERSION)
|
||||||
|
|
||||||
docker-graal-run: RUN_PORT=8080
|
docker-graal-run: RUN_PORT=8080
|
||||||
docker-graal-run:
|
docker-graal-run:
|
||||||
echo "$(firstword $(MAKECMDGOALS))"
|
echo "$(firstword $(MAKECMDGOALS))"
|
||||||
|
@ -52,8 +52,8 @@ public class ApiVersionRequestMappingHandlerMapping extends RequestMappingHandle
|
|||||||
RequestMappingInfo requestMappingInfo = new RequestMappingInfo(
|
RequestMappingInfo requestMappingInfo = new RequestMappingInfo(
|
||||||
new PatternsRequestCondition(
|
new PatternsRequestCondition(
|
||||||
new String[]{annotationApiPrefix.value()},
|
new String[]{annotationApiPrefix.value()},
|
||||||
this.getUrlPathHelper(), this.getPathMatcher(),
|
false,
|
||||||
false
|
this.getPathMatcher()
|
||||||
),
|
),
|
||||||
new RequestMethodsRequestCondition(),
|
new RequestMethodsRequestCondition(),
|
||||||
new ParamsRequestCondition(),
|
new ParamsRequestCondition(),
|
||||||
@ -76,11 +76,7 @@ public class ApiVersionRequestMappingHandlerMapping extends RequestMappingHandle
|
|||||||
}
|
}
|
||||||
|
|
||||||
return new RequestMappingInfo(
|
return new RequestMappingInfo(
|
||||||
new PatternsRequestCondition(
|
new PatternsRequestCondition(patterns, false, this.getPathMatcher()),
|
||||||
patterns, this.getUrlPathHelper(), this.getPathMatcher(),
|
|
||||||
false
|
|
||||||
// , this.useTrailingSlashMatch(), this.getFileExtensions()
|
|
||||||
),
|
|
||||||
new RequestMethodsRequestCondition(),
|
new RequestMethodsRequestCondition(),
|
||||||
new ParamsRequestCondition(),
|
new ParamsRequestCondition(),
|
||||||
new HeadersRequestCondition(),
|
new HeadersRequestCondition(),
|
||||||
|
@ -12,7 +12,7 @@ import tk.antoine_roux.wiki.Constant;
|
|||||||
/**
|
/**
|
||||||
* spring web configuration
|
* spring web configuration
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration(proxyBeanMethods = false)
|
||||||
public class WebConfiguration extends WebMvcConfigurationSupport {
|
public class WebConfiguration extends WebMvcConfigurationSupport {
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
|
@ -12,4 +12,5 @@ logging.level.root=INFO
|
|||||||
management.server.port=8080
|
management.server.port=8080
|
||||||
info.name=gitlab-runner-gateway
|
info.name=gitlab-runner-gateway
|
||||||
info.more.detail=This is a REST API use to gateway gitlab runner call to gitlab instance
|
info.more.detail=This is a REST API use to gateway gitlab runner call to gitlab instance
|
||||||
|
|
||||||
management.endpoints.web.exposure.include=mappings
|
management.endpoints.web.exposure.include=mappings
|
||||||
|
Loading…
Reference in New Issue
Block a user