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 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:
|
||||
echo "$(firstword $(MAKECMDGOALS))"
|
||||
|
@ -52,8 +52,8 @@ public class ApiVersionRequestMappingHandlerMapping extends RequestMappingHandle
|
||||
RequestMappingInfo requestMappingInfo = new RequestMappingInfo(
|
||||
new PatternsRequestCondition(
|
||||
new String[]{annotationApiPrefix.value()},
|
||||
this.getUrlPathHelper(), this.getPathMatcher(),
|
||||
false
|
||||
false,
|
||||
this.getPathMatcher()
|
||||
),
|
||||
new RequestMethodsRequestCondition(),
|
||||
new ParamsRequestCondition(),
|
||||
@ -76,11 +76,7 @@ public class ApiVersionRequestMappingHandlerMapping extends RequestMappingHandle
|
||||
}
|
||||
|
||||
return new RequestMappingInfo(
|
||||
new PatternsRequestCondition(
|
||||
patterns, this.getUrlPathHelper(), this.getPathMatcher(),
|
||||
false
|
||||
// , this.useTrailingSlashMatch(), this.getFileExtensions()
|
||||
),
|
||||
new PatternsRequestCondition(patterns, false, this.getPathMatcher()),
|
||||
new RequestMethodsRequestCondition(),
|
||||
new ParamsRequestCondition(),
|
||||
new HeadersRequestCondition(),
|
||||
|
@ -12,7 +12,7 @@ import tk.antoine_roux.wiki.Constant;
|
||||
/**
|
||||
* spring web configuration
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class WebConfiguration extends WebMvcConfigurationSupport {
|
||||
|
||||
@Bean
|
||||
|
@ -12,4 +12,5 @@ logging.level.root=INFO
|
||||
management.server.port=8080
|
||||
info.name=gitlab-runner-gateway
|
||||
info.more.detail=This is a REST API use to gateway gitlab runner call to gitlab instance
|
||||
|
||||
management.endpoints.web.exposure.include=mappings
|
||||
|
Loading…
Reference in New Issue
Block a user