Browse Source

Add copyright headers

pull/5/head
Phillip Webb 10 years ago
parent
commit
903d6738ab
  1. 16
      src/main/java/org/springframework/cloud/client/CommonsClientAutoConfiguration.java
  2. 16
      src/main/java/org/springframework/cloud/client/DefaultServiceInstance.java
  3. 16
      src/main/java/org/springframework/cloud/client/ServiceInstance.java
  4. 16
      src/main/java/org/springframework/cloud/client/SingleImplementationImportSelector.java
  5. 16
      src/main/java/org/springframework/cloud/client/circuitbreaker/EnableCircuitBreaker.java
  6. 16
      src/main/java/org/springframework/cloud/client/circuitbreaker/EnableCircuitBreakerImportSelector.java
  7. 16
      src/main/java/org/springframework/cloud/client/discovery/AbstractDiscoveryLifecycle.java
  8. 16
      src/main/java/org/springframework/cloud/client/discovery/DiscoveryClient.java
  9. 16
      src/main/java/org/springframework/cloud/client/discovery/DiscoveryClientHealthIndicator.java
  10. 16
      src/main/java/org/springframework/cloud/client/discovery/DiscoveryCompositeHealthIndicator.java
  11. 16
      src/main/java/org/springframework/cloud/client/discovery/DiscoveryHealthIndicator.java
  12. 16
      src/main/java/org/springframework/cloud/client/discovery/DiscoveryHeartbeatEvent.java
  13. 16
      src/main/java/org/springframework/cloud/client/discovery/DiscoveryLifecycle.java
  14. 16
      src/main/java/org/springframework/cloud/client/discovery/EnableDiscoveryClient.java
  15. 16
      src/main/java/org/springframework/cloud/client/discovery/EnableDiscoveryClientImportSelector.java
  16. 16
      src/main/java/org/springframework/cloud/client/discovery/InstanceRegisteredEvent.java
  17. 16
      src/main/java/org/springframework/cloud/client/discovery/ManagementServerPortUtils.java
  18. 1
      src/main/java/org/springframework/cloud/client/discovery/NoopDiscoveryClient.java
  19. 1
      src/main/java/org/springframework/cloud/client/discovery/NoopDiscoveryClientConfiguration.java
  20. 16
      src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalancerClient.java
  21. 16
      src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalancerRequest.java
  22. 16
      src/test/java/org/springframework/cloud/client/SingleImplementationImportSelectorTests.java
  23. 16
      src/test/java/org/springframework/cloud/client/discovery/DiscoveryCompositeHealthIndicatorTests.java

16
src/main/java/org/springframework/cloud/client/CommonsClientAutoConfiguration.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client;
import java.util.List;

16
src/main/java/org/springframework/cloud/client/DefaultServiceInstance.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client;
import lombok.Data;

16
src/main/java/org/springframework/cloud/client/ServiceInstance.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client;
/**

16
src/main/java/org/springframework/cloud/client/SingleImplementationImportSelector.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client;
import java.util.ArrayList;

16
src/main/java/org/springframework/cloud/client/circuitbreaker/EnableCircuitBreaker.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.circuitbreaker;
import java.lang.annotation.Documented;

16
src/main/java/org/springframework/cloud/client/circuitbreaker/EnableCircuitBreakerImportSelector.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.circuitbreaker;
import org.springframework.boot.bind.RelaxedPropertyResolver;

16
src/main/java/org/springframework/cloud/client/discovery/AbstractDiscoveryLifecycle.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.discovery;
import javax.annotation.PreDestroy;

16
src/main/java/org/springframework/cloud/client/discovery/DiscoveryClient.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.discovery;
import java.util.List;

16
src/main/java/org/springframework/cloud/client/discovery/DiscoveryClientHealthIndicator.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.discovery;
import java.util.List;

16
src/main/java/org/springframework/cloud/client/discovery/DiscoveryCompositeHealthIndicator.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.discovery;
import java.util.List;

16
src/main/java/org/springframework/cloud/client/discovery/DiscoveryHealthIndicator.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.discovery;
import org.springframework.boot.actuate.health.Health;

16
src/main/java/org/springframework/cloud/client/discovery/DiscoveryHeartbeatEvent.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.discovery;
import org.springframework.context.ApplicationEvent;

16
src/main/java/org/springframework/cloud/client/discovery/DiscoveryLifecycle.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.discovery;
import org.springframework.context.SmartLifecycle;

16
src/main/java/org/springframework/cloud/client/discovery/EnableDiscoveryClient.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.discovery;
/**

16
src/main/java/org/springframework/cloud/client/discovery/EnableDiscoveryClientImportSelector.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.discovery;
import org.springframework.boot.bind.RelaxedPropertyResolver;

16
src/main/java/org/springframework/cloud/client/discovery/InstanceRegisteredEvent.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.discovery;
import org.springframework.context.ApplicationEvent;

16
src/main/java/org/springframework/cloud/client/discovery/ManagementServerPortUtils.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.discovery;
import org.springframework.beans.factory.BeanFactory;

1
src/main/java/org/springframework/cloud/client/discovery/NoopDiscoveryClient.java

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.cloud.client.discovery;
import java.util.Collections;

1
src/main/java/org/springframework/cloud/client/discovery/NoopDiscoveryClientConfiguration.java

@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.cloud.client.discovery;
import java.net.InetAddress;

16
src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalancerClient.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.loadbalancer;
import java.net.URI;

16
src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalancerRequest.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.loadbalancer;
import org.springframework.cloud.client.ServiceInstance;

16
src/test/java/org/springframework/cloud/client/SingleImplementationImportSelectorTests.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client;
import org.junit.Test;

16
src/test/java/org/springframework/cloud/client/discovery/DiscoveryCompositeHealthIndicatorTests.java

@ -1,3 +1,19 @@ @@ -1,3 +1,19 @@
/*
* Copyright 2013-2015 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.client.discovery;
import org.junit.Test;

Loading…
Cancel
Save