diff --git a/hystrix-dashboard/src/main/java/com/netflix/hystrix/dashboard/stream/EurekaInfoServlet.java b/hystrix-dashboard/src/main/java/com/netflix/hystrix/dashboard/stream/EurekaInfoServlet.java index 58ab49f26..f43a12faf 100644 --- a/hystrix-dashboard/src/main/java/com/netflix/hystrix/dashboard/stream/EurekaInfoServlet.java +++ b/hystrix-dashboard/src/main/java/com/netflix/hystrix/dashboard/stream/EurekaInfoServlet.java @@ -9,6 +9,22 @@ import org.apache.commons.io.IOUtils; +/** + * Copyright 2013 Netflix, Inc. + * + * 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. + */ + /** * Servlet that calls eureka REST api in order to get instances information.
* You need provide a url parameter. i.e: eureka?url=http://127.0.0.1:8080/eureka/v2/apps diff --git a/hystrix-dashboard/src/main/java/com/netflix/hystrix/dashboard/stream/UrlUtils.java b/hystrix-dashboard/src/main/java/com/netflix/hystrix/dashboard/stream/UrlUtils.java index a6afa5c0e..2b8eb402d 100644 --- a/hystrix-dashboard/src/main/java/com/netflix/hystrix/dashboard/stream/UrlUtils.java +++ b/hystrix-dashboard/src/main/java/com/netflix/hystrix/dashboard/stream/UrlUtils.java @@ -4,6 +4,21 @@ import java.net.HttpURLConnection; import java.net.URL; +/** + * Copyright 2013 Netflix, Inc. + * + * 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. + */ /** * Utility class to work with InputStreams * diff --git a/hystrix-dashboard/src/main/test/com/netflix/hystrix/dashboard/stream/UrlUtilsTest.java b/hystrix-dashboard/src/main/test/com/netflix/hystrix/dashboard/stream/UrlUtilsTest.java index 559ab9364..900a24780 100644 --- a/hystrix-dashboard/src/main/test/com/netflix/hystrix/dashboard/stream/UrlUtilsTest.java +++ b/hystrix-dashboard/src/main/test/com/netflix/hystrix/dashboard/stream/UrlUtilsTest.java @@ -2,6 +2,21 @@ import org.junit.Test; +/** + * Copyright 2013 Netflix, Inc. + * + * 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. + */ /** * UrlUtilsTest unit tests *