From c909f2c5524244eec8a10deafc53ea0f87d2bb79 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Fri, 17 Feb 2017 20:18:55 -0700 Subject: [PATCH] Add license header --- .settings.xml | 17 +++++++++++++++++ .../cloud/gateway/actuate/GatewayEndpoint.java | 17 +++++++++++++++++ .../cloud/gateway/api/FilterDefinition.java | 17 +++++++++++++++++ .../cloud/gateway/api/PredicateDefinition.java | 17 +++++++++++++++++ .../cloud/gateway/api/Route.java | 17 +++++++++++++++++ .../cloud/gateway/api/RouteLocator.java | 17 +++++++++++++++++ .../cloud/gateway/api/RouteWriter.java | 17 +++++++++++++++++ .../config/GatewayAutoConfiguration.java | 17 +++++++++++++++++ .../config/GatewayEnvironmentPostProcessor.java | 17 +++++++++++++++++ .../cloud/gateway/config/GatewayProperties.java | 17 +++++++++++++++++ .../PostBootstrapApplicationListener.java | 17 +++++++++++++++++ .../config/PreBootstrapApplicationListener.java | 17 +++++++++++++++++ .../gateway/config/PropertiesRouteLocator.java | 17 +++++++++++++++++ .../discovery/DiscoveryClientRouteLocator.java | 17 +++++++++++++++++ .../cloud/gateway/filter/GlobalFilter.java | 3 ++- .../filter/LoadBalancerClientFilter.java | 17 +++++++++++++++++ .../gateway/filter/NettyRoutingFilter.java | 17 +++++++++++++++++ .../gateway/filter/RouteToRequestUrlFilter.java | 17 +++++++++++++++++ .../gateway/filter/WriteResponseFilter.java | 17 +++++++++++++++++ .../route/AddRequestHeaderRouteFilter.java | 17 +++++++++++++++++ .../route/AddRequestParameterRouteFilter.java | 17 +++++++++++++++++ .../route/AddResponseHeaderRouteFilter.java | 17 +++++++++++++++++ .../filter/route/HystrixRouteFilter.java | 17 +++++++++++++++++ .../filter/route/RedirectToRouteFilter.java | 17 +++++++++++++++++ .../route/RemoveNonProxyHeadersRouteFilter.java | 17 +++++++++++++++++ .../route/RemoveRequestHeaderRouteFilter.java | 17 +++++++++++++++++ .../route/RemoveResponseHeaderRouteFilter.java | 17 +++++++++++++++++ .../filter/route/RewritePathRouteFilter.java | 17 +++++++++++++++++ .../cloud/gateway/filter/route/RouteFilter.java | 17 +++++++++++++++++ .../filter/route/SecureHeadersProperties.java | 17 +++++++++++++++++ .../filter/route/SecureHeadersRouteFilter.java | 17 +++++++++++++++++ .../filter/route/SetPathRouteFilter.java | 17 +++++++++++++++++ .../route/SetResponseHeaderRouteFilter.java | 17 +++++++++++++++++ .../filter/route/SetStatusRouteFilter.java | 17 +++++++++++++++++ .../gateway/handler/FilteringWebHandler.java | 3 ++- .../gateway/handler/NettyRoutingWebHandler.java | 17 +++++++++++++++++ .../handler/RoutePredicateHandlerMapping.java | 17 +++++++++++++++++ .../handler/predicate/AfterRoutePredicate.java | 17 +++++++++++++++++ .../handler/predicate/BeforeRoutePredicate.java | 17 +++++++++++++++++ .../predicate/BetweenRoutePredicate.java | 17 +++++++++++++++++ .../handler/predicate/CookieRoutePredicate.java | 17 +++++++++++++++++ .../handler/predicate/HeaderRoutePredicate.java | 17 +++++++++++++++++ .../handler/predicate/HostRoutePredicate.java | 17 +++++++++++++++++ .../handler/predicate/MethodRoutePredicate.java | 17 +++++++++++++++++ .../handler/predicate/QueryRoutePredicate.java | 17 +++++++++++++++++ .../predicate/RemoteAddrRoutePredicate.java | 17 +++++++++++++++++ .../handler/predicate/RoutePredicate.java | 17 +++++++++++++++++ .../handler/predicate/UrlRoutePredicate.java | 17 +++++++++++++++++ .../gateway/support/CachingRouteLocator.java | 17 +++++++++++++++++ .../gateway/support/CompositeRouteLocator.java | 17 +++++++++++++++++ .../support/InMemoryRouteRepository.java | 17 +++++++++++++++++ .../cloud/gateway/support/NameUtils.java | 17 +++++++++++++++++ .../gateway/support/NotFoundException.java | 17 +++++++++++++++++ .../gateway/support/RefreshRoutesEvent.java | 17 +++++++++++++++++ .../gateway/support/ServerWebExchangeUtils.java | 17 +++++++++++++++++ ...equestHeaderRouteFilterIntegrationTests.java | 17 +++++++++++++++++ ...estParameterRouteFilterIntegrationTests.java | 17 +++++++++++++++++ .../HystrixRouteFilterIntegrationTests.java | 17 +++++++++++++++++ .../RedirectToRouteFilterIntegrationTests.java | 17 +++++++++++++++++ ...ProxyHeadersRouteFilterIntegrationTests.java | 17 +++++++++++++++++ ...equestHeaderRouteFilterIntegrationTests.java | 17 +++++++++++++++++ ...sponseHeaderRouteFilterIntegrationTests.java | 17 +++++++++++++++++ .../RewritePathRouteFilterIntegrationTests.java | 17 +++++++++++++++++ .../route/RewritePathRouteFilterTests.java | 17 +++++++++++++++++ ...ecureHeadersRouteFilterIntegrationTests.java | 17 +++++++++++++++++ .../SetPathRouteFilterIntegrationTests.java | 17 +++++++++++++++++ .../filter/route/SetPathRouteFilterTests.java | 17 +++++++++++++++++ .../SetResponseRouteFilterIntegrationTests.java | 17 +++++++++++++++++ .../SetStatusRouteFilterIntegrationTests.java | 17 +++++++++++++++++ .../predicate/AfterRoutePredicateTests.java | 17 +++++++++++++++++ .../predicate/BeforeRoutePredicateTests.java | 17 +++++++++++++++++ .../predicate/BetweenRoutePredicateTests.java | 17 +++++++++++++++++ .../HostRoutePredicateIntegrationTests.java | 17 +++++++++++++++++ .../UrlRoutePredicateIntegrationTests.java | 17 +++++++++++++++++ .../cloud/gateway/test/BaseWebClientTests.java | 17 +++++++++++++++++ .../gateway/test/FormIntegrationTests.java | 17 +++++++++++++++++ .../gateway/test/GatewayIntegrationTests.java | 17 +++++++++++++++++ .../gateway/test/GatewayTestApplication.java | 17 +++++++++++++++++ .../cloud/gateway/test/TestUtils.java | 17 +++++++++++++++++ 79 files changed, 1313 insertions(+), 2 deletions(-) diff --git a/.settings.xml b/.settings.xml index 6c355129..90238eed 100644 --- a/.settings.xml +++ b/.settings.xml @@ -1,4 +1,21 @@ + + diff --git a/src/main/java/org/springframework/cloud/gateway/actuate/GatewayEndpoint.java b/src/main/java/org/springframework/cloud/gateway/actuate/GatewayEndpoint.java index df3ba020..c126f180 100644 --- a/src/main/java/org/springframework/cloud/gateway/actuate/GatewayEndpoint.java +++ b/src/main/java/org/springframework/cloud/gateway/actuate/GatewayEndpoint.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.actuate; import java.net.URI; diff --git a/src/main/java/org/springframework/cloud/gateway/api/FilterDefinition.java b/src/main/java/org/springframework/cloud/gateway/api/FilterDefinition.java index 8ae13fe6..cd102c28 100644 --- a/src/main/java/org/springframework/cloud/gateway/api/FilterDefinition.java +++ b/src/main/java/org/springframework/cloud/gateway/api/FilterDefinition.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.api; import java.util.Arrays; diff --git a/src/main/java/org/springframework/cloud/gateway/api/PredicateDefinition.java b/src/main/java/org/springframework/cloud/gateway/api/PredicateDefinition.java index 8f5f1d5c..1cc76546 100644 --- a/src/main/java/org/springframework/cloud/gateway/api/PredicateDefinition.java +++ b/src/main/java/org/springframework/cloud/gateway/api/PredicateDefinition.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.api; import java.util.Arrays; diff --git a/src/main/java/org/springframework/cloud/gateway/api/Route.java b/src/main/java/org/springframework/cloud/gateway/api/Route.java index 3ad8717d..196b62e6 100644 --- a/src/main/java/org/springframework/cloud/gateway/api/Route.java +++ b/src/main/java/org/springframework/cloud/gateway/api/Route.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.api; import org.hibernate.validator.constraints.NotEmpty; diff --git a/src/main/java/org/springframework/cloud/gateway/api/RouteLocator.java b/src/main/java/org/springframework/cloud/gateway/api/RouteLocator.java index a352d77b..6cc33d27 100644 --- a/src/main/java/org/springframework/cloud/gateway/api/RouteLocator.java +++ b/src/main/java/org/springframework/cloud/gateway/api/RouteLocator.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.api; import reactor.core.publisher.Flux; diff --git a/src/main/java/org/springframework/cloud/gateway/api/RouteWriter.java b/src/main/java/org/springframework/cloud/gateway/api/RouteWriter.java index d2a87c51..054d6981 100644 --- a/src/main/java/org/springframework/cloud/gateway/api/RouteWriter.java +++ b/src/main/java/org/springframework/cloud/gateway/api/RouteWriter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.api; import reactor.core.publisher.Mono; diff --git a/src/main/java/org/springframework/cloud/gateway/config/GatewayAutoConfiguration.java b/src/main/java/org/springframework/cloud/gateway/config/GatewayAutoConfiguration.java index 6ad96098..291047c5 100644 --- a/src/main/java/org/springframework/cloud/gateway/config/GatewayAutoConfiguration.java +++ b/src/main/java/org/springframework/cloud/gateway/config/GatewayAutoConfiguration.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.config; import java.util.List; diff --git a/src/main/java/org/springframework/cloud/gateway/config/GatewayEnvironmentPostProcessor.java b/src/main/java/org/springframework/cloud/gateway/config/GatewayEnvironmentPostProcessor.java index 6f6b681b..49ea87cd 100644 --- a/src/main/java/org/springframework/cloud/gateway/config/GatewayEnvironmentPostProcessor.java +++ b/src/main/java/org/springframework/cloud/gateway/config/GatewayEnvironmentPostProcessor.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.config; import java.util.Collections; diff --git a/src/main/java/org/springframework/cloud/gateway/config/GatewayProperties.java b/src/main/java/org/springframework/cloud/gateway/config/GatewayProperties.java index 3ca68325..07d3d16f 100644 --- a/src/main/java/org/springframework/cloud/gateway/config/GatewayProperties.java +++ b/src/main/java/org/springframework/cloud/gateway/config/GatewayProperties.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.config; import java.util.ArrayList; diff --git a/src/main/java/org/springframework/cloud/gateway/config/PostBootstrapApplicationListener.java b/src/main/java/org/springframework/cloud/gateway/config/PostBootstrapApplicationListener.java index 79317c82..3c7680b0 100644 --- a/src/main/java/org/springframework/cloud/gateway/config/PostBootstrapApplicationListener.java +++ b/src/main/java/org/springframework/cloud/gateway/config/PostBootstrapApplicationListener.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.config; import java.util.Collections; diff --git a/src/main/java/org/springframework/cloud/gateway/config/PreBootstrapApplicationListener.java b/src/main/java/org/springframework/cloud/gateway/config/PreBootstrapApplicationListener.java index 7d574be8..a0b8e0b6 100644 --- a/src/main/java/org/springframework/cloud/gateway/config/PreBootstrapApplicationListener.java +++ b/src/main/java/org/springframework/cloud/gateway/config/PreBootstrapApplicationListener.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.config; import java.util.Collections; diff --git a/src/main/java/org/springframework/cloud/gateway/config/PropertiesRouteLocator.java b/src/main/java/org/springframework/cloud/gateway/config/PropertiesRouteLocator.java index fb5a88f2..321d1b0c 100644 --- a/src/main/java/org/springframework/cloud/gateway/config/PropertiesRouteLocator.java +++ b/src/main/java/org/springframework/cloud/gateway/config/PropertiesRouteLocator.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.config; import org.springframework.cloud.gateway.api.Route; diff --git a/src/main/java/org/springframework/cloud/gateway/discovery/DiscoveryClientRouteLocator.java b/src/main/java/org/springframework/cloud/gateway/discovery/DiscoveryClientRouteLocator.java index 56d5b005..be2c0c37 100644 --- a/src/main/java/org/springframework/cloud/gateway/discovery/DiscoveryClientRouteLocator.java +++ b/src/main/java/org/springframework/cloud/gateway/discovery/DiscoveryClientRouteLocator.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.discovery; import java.net.URI; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/GlobalFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/GlobalFilter.java index d105d5be..e2ef71c8 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/GlobalFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/GlobalFilter.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2015 the original author or authors. + * Copyright 2013-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -12,6 +12,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. + * */ package org.springframework.cloud.gateway.filter; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/LoadBalancerClientFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/LoadBalancerClientFilter.java index b8edcd45..1de81268 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/LoadBalancerClientFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/LoadBalancerClientFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter; import java.net.URI; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/NettyRoutingFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/NettyRoutingFilter.java index 47bdea53..507678c3 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/NettyRoutingFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/NettyRoutingFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter; import java.net.URI; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/RouteToRequestUrlFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/RouteToRequestUrlFilter.java index fb7f4916..90be5e5e 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/RouteToRequestUrlFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/RouteToRequestUrlFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter; import java.net.URI; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/WriteResponseFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/WriteResponseFilter.java index 4a368677..0f88ada1 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/WriteResponseFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/WriteResponseFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter; import org.apache.commons.logging.Log; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/AddRequestHeaderRouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/AddRequestHeaderRouteFilter.java index fa2696a5..205b7d36 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/AddRequestHeaderRouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/AddRequestHeaderRouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.springframework.web.server.WebFilter; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/AddRequestParameterRouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/AddRequestParameterRouteFilter.java index 6dae70b5..a03f5ea0 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/AddRequestParameterRouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/AddRequestParameterRouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import java.net.URI; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/AddResponseHeaderRouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/AddResponseHeaderRouteFilter.java index df56bfc3..99ea9a4a 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/AddResponseHeaderRouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/AddResponseHeaderRouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.springframework.web.server.WebFilter; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/HystrixRouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/HystrixRouteFilter.java index dc9a525e..58fc68da 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/HystrixRouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/HystrixRouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.springframework.web.server.ServerWebExchange; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/RedirectToRouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/RedirectToRouteFilter.java index 1ae6aa97..80a08f5e 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/RedirectToRouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/RedirectToRouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import java.net.MalformedURLException; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/RemoveNonProxyHeadersRouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/RemoveNonProxyHeadersRouteFilter.java index 4ac2e307..9e5bfd60 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/RemoveNonProxyHeadersRouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/RemoveNonProxyHeadersRouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/RemoveRequestHeaderRouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/RemoveRequestHeaderRouteFilter.java index 131e3cd7..d3187af5 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/RemoveRequestHeaderRouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/RemoveRequestHeaderRouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.springframework.web.server.WebFilter; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/RemoveResponseHeaderRouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/RemoveResponseHeaderRouteFilter.java index 168f0c73..63738410 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/RemoveResponseHeaderRouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/RemoveResponseHeaderRouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.springframework.web.server.WebFilter; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/RewritePathRouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/RewritePathRouteFilter.java index 1cc578b5..668cda7c 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/RewritePathRouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/RewritePathRouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.springframework.web.server.WebFilter; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/RouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/RouteFilter.java index 8d82074f..a1b187aa 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/RouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/RouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.springframework.util.Assert; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/SecureHeadersProperties.java b/src/main/java/org/springframework/cloud/gateway/filter/route/SecureHeadersProperties.java index 86bde857..e7db5802 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/SecureHeadersProperties.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/SecureHeadersProperties.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.springframework.boot.context.properties.ConfigurationProperties; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/SecureHeadersRouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/SecureHeadersRouteFilter.java index e2d6965e..27b82614 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/SecureHeadersRouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/SecureHeadersRouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.springframework.http.HttpHeaders; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/SetPathRouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/SetPathRouteFilter.java index e079f68f..3f89aef2 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/SetPathRouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/SetPathRouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import java.net.URI; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/SetResponseHeaderRouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/SetResponseHeaderRouteFilter.java index 80c62404..91398fdb 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/SetResponseHeaderRouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/SetResponseHeaderRouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.springframework.web.server.WebFilter; diff --git a/src/main/java/org/springframework/cloud/gateway/filter/route/SetStatusRouteFilter.java b/src/main/java/org/springframework/cloud/gateway/filter/route/SetStatusRouteFilter.java index 39e914ce..4d62d66c 100644 --- a/src/main/java/org/springframework/cloud/gateway/filter/route/SetStatusRouteFilter.java +++ b/src/main/java/org/springframework/cloud/gateway/filter/route/SetStatusRouteFilter.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.springframework.cloud.gateway.support.ServerWebExchangeUtils; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/FilteringWebHandler.java b/src/main/java/org/springframework/cloud/gateway/handler/FilteringWebHandler.java index 172b343e..cf2939aa 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/FilteringWebHandler.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/FilteringWebHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2016 the original author or authors. + * Copyright 2013-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -12,6 +12,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. + * */ package org.springframework.cloud.gateway.handler; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/NettyRoutingWebHandler.java b/src/main/java/org/springframework/cloud/gateway/handler/NettyRoutingWebHandler.java index 14dbd9c2..1f06b2ad 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/NettyRoutingWebHandler.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/NettyRoutingWebHandler.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler; import java.net.URI; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/RoutePredicateHandlerMapping.java b/src/main/java/org/springframework/cloud/gateway/handler/RoutePredicateHandlerMapping.java index 6e649093..0c41cf5b 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/RoutePredicateHandlerMapping.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/RoutePredicateHandlerMapping.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler; import java.util.Arrays; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/predicate/AfterRoutePredicate.java b/src/main/java/org/springframework/cloud/gateway/handler/predicate/AfterRoutePredicate.java index 19fcbdbb..901df691 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/predicate/AfterRoutePredicate.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/predicate/AfterRoutePredicate.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import java.time.ZonedDateTime; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/predicate/BeforeRoutePredicate.java b/src/main/java/org/springframework/cloud/gateway/handler/predicate/BeforeRoutePredicate.java index 3ef787e1..2948519c 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/predicate/BeforeRoutePredicate.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/predicate/BeforeRoutePredicate.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import java.time.ZonedDateTime; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/predicate/BetweenRoutePredicate.java b/src/main/java/org/springframework/cloud/gateway/handler/predicate/BetweenRoutePredicate.java index 310a15e4..19b12a3a 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/predicate/BetweenRoutePredicate.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/predicate/BetweenRoutePredicate.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import java.time.Instant; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/predicate/CookieRoutePredicate.java b/src/main/java/org/springframework/cloud/gateway/handler/predicate/CookieRoutePredicate.java index d0f1ae04..cbdb5e5a 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/predicate/CookieRoutePredicate.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/predicate/CookieRoutePredicate.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import java.util.List; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/predicate/HeaderRoutePredicate.java b/src/main/java/org/springframework/cloud/gateway/handler/predicate/HeaderRoutePredicate.java index 97293476..072388b8 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/predicate/HeaderRoutePredicate.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/predicate/HeaderRoutePredicate.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import java.util.List; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/predicate/HostRoutePredicate.java b/src/main/java/org/springframework/cloud/gateway/handler/predicate/HostRoutePredicate.java index 78156ad0..2dfb4d16 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/predicate/HostRoutePredicate.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/predicate/HostRoutePredicate.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import java.util.function.Predicate; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/predicate/MethodRoutePredicate.java b/src/main/java/org/springframework/cloud/gateway/handler/predicate/MethodRoutePredicate.java index 5750503e..bb8452a2 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/predicate/MethodRoutePredicate.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/predicate/MethodRoutePredicate.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import java.util.function.Predicate; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/predicate/QueryRoutePredicate.java b/src/main/java/org/springframework/cloud/gateway/handler/predicate/QueryRoutePredicate.java index eb2ebc63..29286f26 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/predicate/QueryRoutePredicate.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/predicate/QueryRoutePredicate.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import java.util.List; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/predicate/RemoteAddrRoutePredicate.java b/src/main/java/org/springframework/cloud/gateway/handler/predicate/RemoteAddrRoutePredicate.java index 531c1631..8c208cec 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/predicate/RemoteAddrRoutePredicate.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/predicate/RemoteAddrRoutePredicate.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import java.net.InetSocketAddress; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/predicate/RoutePredicate.java b/src/main/java/org/springframework/cloud/gateway/handler/predicate/RoutePredicate.java index 407c8ffa..d6bebdc3 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/predicate/RoutePredicate.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/predicate/RoutePredicate.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import java.util.function.Predicate; diff --git a/src/main/java/org/springframework/cloud/gateway/handler/predicate/UrlRoutePredicate.java b/src/main/java/org/springframework/cloud/gateway/handler/predicate/UrlRoutePredicate.java index dfbc15ce..2ca09e56 100644 --- a/src/main/java/org/springframework/cloud/gateway/handler/predicate/UrlRoutePredicate.java +++ b/src/main/java/org/springframework/cloud/gateway/handler/predicate/UrlRoutePredicate.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import java.util.Map; diff --git a/src/main/java/org/springframework/cloud/gateway/support/CachingRouteLocator.java b/src/main/java/org/springframework/cloud/gateway/support/CachingRouteLocator.java index 4ca7a51e..4660d46a 100644 --- a/src/main/java/org/springframework/cloud/gateway/support/CachingRouteLocator.java +++ b/src/main/java/org/springframework/cloud/gateway/support/CachingRouteLocator.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.support; import java.util.List; diff --git a/src/main/java/org/springframework/cloud/gateway/support/CompositeRouteLocator.java b/src/main/java/org/springframework/cloud/gateway/support/CompositeRouteLocator.java index cce17f7d..9e8177d3 100644 --- a/src/main/java/org/springframework/cloud/gateway/support/CompositeRouteLocator.java +++ b/src/main/java/org/springframework/cloud/gateway/support/CompositeRouteLocator.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.support; import org.springframework.cloud.gateway.api.Route; diff --git a/src/main/java/org/springframework/cloud/gateway/support/InMemoryRouteRepository.java b/src/main/java/org/springframework/cloud/gateway/support/InMemoryRouteRepository.java index 515a51ff..36635cdf 100644 --- a/src/main/java/org/springframework/cloud/gateway/support/InMemoryRouteRepository.java +++ b/src/main/java/org/springframework/cloud/gateway/support/InMemoryRouteRepository.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.support; import java.util.LinkedHashMap; diff --git a/src/main/java/org/springframework/cloud/gateway/support/NameUtils.java b/src/main/java/org/springframework/cloud/gateway/support/NameUtils.java index 6945a2b9..639cd80c 100644 --- a/src/main/java/org/springframework/cloud/gateway/support/NameUtils.java +++ b/src/main/java/org/springframework/cloud/gateway/support/NameUtils.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.support; import org.springframework.cloud.gateway.filter.route.RouteFilter; diff --git a/src/main/java/org/springframework/cloud/gateway/support/NotFoundException.java b/src/main/java/org/springframework/cloud/gateway/support/NotFoundException.java index 7d421a4c..b8e83aae 100644 --- a/src/main/java/org/springframework/cloud/gateway/support/NotFoundException.java +++ b/src/main/java/org/springframework/cloud/gateway/support/NotFoundException.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.support; /** diff --git a/src/main/java/org/springframework/cloud/gateway/support/RefreshRoutesEvent.java b/src/main/java/org/springframework/cloud/gateway/support/RefreshRoutesEvent.java index 5252c4ee..597f706c 100644 --- a/src/main/java/org/springframework/cloud/gateway/support/RefreshRoutesEvent.java +++ b/src/main/java/org/springframework/cloud/gateway/support/RefreshRoutesEvent.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.support; import org.springframework.context.ApplicationEvent; diff --git a/src/main/java/org/springframework/cloud/gateway/support/ServerWebExchangeUtils.java b/src/main/java/org/springframework/cloud/gateway/support/ServerWebExchangeUtils.java index 5b7db2c5..3f670c4a 100644 --- a/src/main/java/org/springframework/cloud/gateway/support/ServerWebExchangeUtils.java +++ b/src/main/java/org/springframework/cloud/gateway/support/ServerWebExchangeUtils.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.support; import org.apache.commons.logging.Log; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/AddRequestHeaderRouteFilterIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/AddRequestHeaderRouteFilterIntegrationTests.java index b03c4624..55c3178b 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/AddRequestHeaderRouteFilterIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/AddRequestHeaderRouteFilterIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import java.util.Map; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/AddRequestParameterRouteFilterIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/AddRequestParameterRouteFilterIntegrationTests.java index 981a24b5..aa301178 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/AddRequestParameterRouteFilterIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/AddRequestParameterRouteFilterIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import java.util.Map; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/HystrixRouteFilterIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/HystrixRouteFilterIntegrationTests.java index 269128ab..fa9e512e 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/HystrixRouteFilterIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/HystrixRouteFilterIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.junit.Test; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/RedirectToRouteFilterIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/RedirectToRouteFilterIntegrationTests.java index b8a0332e..f9f56c57 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/RedirectToRouteFilterIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/RedirectToRouteFilterIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.junit.Test; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/RemoveNonProxyHeadersRouteFilterIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/RemoveNonProxyHeadersRouteFilterIntegrationTests.java index 620a8096..3e23f69e 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/RemoveNonProxyHeadersRouteFilterIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/RemoveNonProxyHeadersRouteFilterIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import java.util.Map; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/RemoveRequestHeaderRouteFilterIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/RemoveRequestHeaderRouteFilterIntegrationTests.java index 65d450c1..35299f5c 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/RemoveRequestHeaderRouteFilterIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/RemoveRequestHeaderRouteFilterIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import java.util.Map; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/RemoveResponseHeaderRouteFilterIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/RemoveResponseHeaderRouteFilterIntegrationTests.java index 7e106b51..c4038fc0 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/RemoveResponseHeaderRouteFilterIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/RemoveResponseHeaderRouteFilterIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.junit.Test; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/RewritePathRouteFilterIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/RewritePathRouteFilterIntegrationTests.java index d2f03795..1c1b00d2 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/RewritePathRouteFilterIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/RewritePathRouteFilterIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.junit.Test; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/RewritePathRouteFilterTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/RewritePathRouteFilterTests.java index f40b0006..c1e30a43 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/RewritePathRouteFilterTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/RewritePathRouteFilterTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.assertj.core.api.Assertions; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/SecureHeadersRouteFilterIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/SecureHeadersRouteFilterIntegrationTests.java index c689477d..cc70e8f4 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/SecureHeadersRouteFilterIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/SecureHeadersRouteFilterIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.junit.Test; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/SetPathRouteFilterIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/SetPathRouteFilterIntegrationTests.java index c3ec7727..76859e8e 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/SetPathRouteFilterIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/SetPathRouteFilterIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.junit.Test; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/SetPathRouteFilterTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/SetPathRouteFilterTests.java index 1e14619f..56ac11fe 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/SetPathRouteFilterTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/SetPathRouteFilterTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import java.util.HashMap; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/SetResponseRouteFilterIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/SetResponseRouteFilterIntegrationTests.java index 41b35f3d..5df11db0 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/SetResponseRouteFilterIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/SetResponseRouteFilterIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.junit.Test; diff --git a/src/test/java/org/springframework/cloud/gateway/filter/route/SetStatusRouteFilterIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/filter/route/SetStatusRouteFilterIntegrationTests.java index 4492ead6..c4a0c442 100644 --- a/src/test/java/org/springframework/cloud/gateway/filter/route/SetStatusRouteFilterIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/filter/route/SetStatusRouteFilterIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.filter.route; import org.junit.Test; diff --git a/src/test/java/org/springframework/cloud/gateway/handler/predicate/AfterRoutePredicateTests.java b/src/test/java/org/springframework/cloud/gateway/handler/predicate/AfterRoutePredicateTests.java index f8c22da3..ce7a7bf2 100644 --- a/src/test/java/org/springframework/cloud/gateway/handler/predicate/AfterRoutePredicateTests.java +++ b/src/test/java/org/springframework/cloud/gateway/handler/predicate/AfterRoutePredicateTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import org.junit.Test; diff --git a/src/test/java/org/springframework/cloud/gateway/handler/predicate/BeforeRoutePredicateTests.java b/src/test/java/org/springframework/cloud/gateway/handler/predicate/BeforeRoutePredicateTests.java index 6bced724..43e62cc2 100644 --- a/src/test/java/org/springframework/cloud/gateway/handler/predicate/BeforeRoutePredicateTests.java +++ b/src/test/java/org/springframework/cloud/gateway/handler/predicate/BeforeRoutePredicateTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import org.junit.Test; diff --git a/src/test/java/org/springframework/cloud/gateway/handler/predicate/BetweenRoutePredicateTests.java b/src/test/java/org/springframework/cloud/gateway/handler/predicate/BetweenRoutePredicateTests.java index 028a7ed4..c4296ff8 100644 --- a/src/test/java/org/springframework/cloud/gateway/handler/predicate/BetweenRoutePredicateTests.java +++ b/src/test/java/org/springframework/cloud/gateway/handler/predicate/BetweenRoutePredicateTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import java.time.ZonedDateTime; diff --git a/src/test/java/org/springframework/cloud/gateway/handler/predicate/HostRoutePredicateIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/handler/predicate/HostRoutePredicateIntegrationTests.java index 522f014e..f1f21074 100644 --- a/src/test/java/org/springframework/cloud/gateway/handler/predicate/HostRoutePredicateIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/handler/predicate/HostRoutePredicateIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import org.junit.Test; diff --git a/src/test/java/org/springframework/cloud/gateway/handler/predicate/UrlRoutePredicateIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/handler/predicate/UrlRoutePredicateIntegrationTests.java index e0b7a71d..5052de66 100644 --- a/src/test/java/org/springframework/cloud/gateway/handler/predicate/UrlRoutePredicateIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/handler/predicate/UrlRoutePredicateIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.handler.predicate; import org.junit.Test; diff --git a/src/test/java/org/springframework/cloud/gateway/test/BaseWebClientTests.java b/src/test/java/org/springframework/cloud/gateway/test/BaseWebClientTests.java index c6d93eb5..b921bfdf 100644 --- a/src/test/java/org/springframework/cloud/gateway/test/BaseWebClientTests.java +++ b/src/test/java/org/springframework/cloud/gateway/test/BaseWebClientTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.test; import java.time.Duration; diff --git a/src/test/java/org/springframework/cloud/gateway/test/FormIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/test/FormIntegrationTests.java index 8060afa9..f2549c77 100644 --- a/src/test/java/org/springframework/cloud/gateway/test/FormIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/test/FormIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.test; import java.nio.charset.Charset; diff --git a/src/test/java/org/springframework/cloud/gateway/test/GatewayIntegrationTests.java b/src/test/java/org/springframework/cloud/gateway/test/GatewayIntegrationTests.java index d2f6e469..83a54e54 100644 --- a/src/test/java/org/springframework/cloud/gateway/test/GatewayIntegrationTests.java +++ b/src/test/java/org/springframework/cloud/gateway/test/GatewayIntegrationTests.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.test; import java.util.Map; diff --git a/src/test/java/org/springframework/cloud/gateway/test/GatewayTestApplication.java b/src/test/java/org/springframework/cloud/gateway/test/GatewayTestApplication.java index b5197b6f..dc5e060b 100644 --- a/src/test/java/org/springframework/cloud/gateway/test/GatewayTestApplication.java +++ b/src/test/java/org/springframework/cloud/gateway/test/GatewayTestApplication.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.test; import org.springframework.boot.SpringApplication; diff --git a/src/test/java/org/springframework/cloud/gateway/test/TestUtils.java b/src/test/java/org/springframework/cloud/gateway/test/TestUtils.java index 60a1d213..cbe8f709 100644 --- a/src/test/java/org/springframework/cloud/gateway/test/TestUtils.java +++ b/src/test/java/org/springframework/cloud/gateway/test/TestUtils.java @@ -1,3 +1,20 @@ +/* + * Copyright 2013-2017 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.springframework.cloud.gateway.test; import org.springframework.http.HttpStatus;