You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2016/11/03 22:21:09 UTC
[13/15] incubator-trafficcontrol git commit: Apache RAT tool
automatically added Apache License Headers
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/DsStateModel.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/DsStateModel.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/DsStateModel.java
index e8b5f65..bc5ffde 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/DsStateModel.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/DsStateModel.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.wicket.models;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.health.DeliveryServiceStateRegistry;
public class DsStateModel extends StateModel {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/StateModel.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/StateModel.java b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/StateModel.java
index 3c6ebe7..2096bee 100644
--- a/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/StateModel.java
+++ b/traffic_monitor/src/main/java/com/comcast/cdn/traffic_control/traffic_monitor/wicket/models/StateModel.java
@@ -1,5 +1,25 @@
package com.comcast.cdn.traffic_control.traffic_monitor.wicket.models;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.health.AbstractState;
import org.apache.wicket.model.Model;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/resources/log4j.properties b/traffic_monitor/src/main/resources/log4j.properties
index f3cfc8c..0f83890 100644
--- a/traffic_monitor/src/main/resources/log4j.properties
+++ b/traffic_monitor/src/main/resources/log4j.properties
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
log4j.appender.Stdout=org.apache.log4j.ConsoleAppender
log4j.appender.Stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.Stdout.layout.conversionPattern=%-5p - %-26.26c{1} - %m\n
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/scripts/postremove.sh
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/scripts/postremove.sh b/traffic_monitor/src/main/scripts/postremove.sh
index d522932..713e722 100644
--- a/traffic_monitor/src/main/scripts/postremove.sh
+++ b/traffic_monitor/src/main/scripts/postremove.sh
@@ -1,5 +1,21 @@
#!/usr/bin/env bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
# Get rid of exploded war file directory, but leave everything else untouched because this runs after the install
# steps during an upgrade (http://www.ibm.com/developerworks/library/l-rpm2/)
-rm -rf /opt/traffic_monitor/webapps/ROOT
\ No newline at end of file
+rm -rf /opt/traffic_monitor/webapps/ROOT
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/webapp/WEB-INF/web.xml b/traffic_monitor/src/main/webapp/WEB-INF/web.xml
index dbdb174..79a83f2 100644
--- a/traffic_monitor/src/main/webapp/WEB-INF/web.xml
+++ b/traffic_monitor/src/main/webapp/WEB-INF/web.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+-->
+
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/webapp/style.css
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/webapp/style.css b/traffic_monitor/src/main/webapp/style.css
index 978e037..38958ef 100644
--- a/traffic_monitor/src/main/webapp/style.css
+++ b/traffic_monitor/src/main/webapp/style.css
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
@CHARSET "ISO-8859-1";
body {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/main/webapp/test.html
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/main/webapp/test.html b/traffic_monitor/src/main/webapp/test.html
index 57975c9..a6d4f9c 100644
--- a/traffic_monitor/src/main/webapp/test.html
+++ b/traffic_monitor/src/main/webapp/test.html
@@ -1,3 +1,22 @@
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+-->
+
<html>
<head>
@@ -73,4 +92,4 @@ function worker() {
</div>
</div>
</body>
-</html>
\ No newline at end of file
+</html>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/application/MonitorApplicationTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/application/MonitorApplicationTest.java b/traffic_monitor/src/test/java/application/MonitorApplicationTest.java
index 3b9e551..1dc467f 100644
--- a/traffic_monitor/src/test/java/application/MonitorApplicationTest.java
+++ b/traffic_monitor/src/test/java/application/MonitorApplicationTest.java
@@ -1,5 +1,25 @@
package application;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.MonitorApplication;
import com.comcast.cdn.traffic_control.traffic_monitor.config.ConfigHandler;
import org.junit.Before;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/config/CacheTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/config/CacheTest.java b/traffic_monitor/src/test/java/config/CacheTest.java
index 8c9ca24..7f1ffc9 100644
--- a/traffic_monitor/src/test/java/config/CacheTest.java
+++ b/traffic_monitor/src/test/java/config/CacheTest.java
@@ -1,5 +1,25 @@
package config;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheState;
import com.comcast.cdn.traffic_control.traffic_monitor.health.HealthDeterminer;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/config/ConfigHandlerTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/config/ConfigHandlerTest.java b/traffic_monitor/src/test/java/config/ConfigHandlerTest.java
index c6b7bc5..4b56b3d 100644
--- a/traffic_monitor/src/test/java/config/ConfigHandlerTest.java
+++ b/traffic_monitor/src/test/java/config/ConfigHandlerTest.java
@@ -1,5 +1,25 @@
package config;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.ConfigHandler;
import org.apache.commons.io.IOUtils;
import org.junit.Before;
@@ -79,4 +99,4 @@ public class ConfigHandlerTest {
public void itReturnsCorrectPathToDbFile() {
assertThat(configHandler.getDbFile("health-config.json").toString(), equalTo("/opt/traffic_monitor/db/health-config.json"));
}
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/config/ConfigTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/config/ConfigTest.java b/traffic_monitor/src/test/java/config/ConfigTest.java
index bc8472a..68e66b2 100644
--- a/traffic_monitor/src/test/java/config/ConfigTest.java
+++ b/traffic_monitor/src/test/java/config/ConfigTest.java
@@ -1,5 +1,25 @@
package config;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Config;
import org.apache.wicket.ajax.json.JSONException;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/config/MonitorConfigTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/config/MonitorConfigTest.java b/traffic_monitor/src/test/java/config/MonitorConfigTest.java
index eab5540..0149862 100644
--- a/traffic_monitor/src/test/java/config/MonitorConfigTest.java
+++ b/traffic_monitor/src/test/java/config/MonitorConfigTest.java
@@ -1,5 +1,25 @@
package config;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.MonitorConfig;
import org.apache.wicket.ajax.json.JSONObject;
import org.junit.Test;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/config/RouterConfigTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/config/RouterConfigTest.java b/traffic_monitor/src/test/java/config/RouterConfigTest.java
index 0c6dad0..0031750 100644
--- a/traffic_monitor/src/test/java/config/RouterConfigTest.java
+++ b/traffic_monitor/src/test/java/config/RouterConfigTest.java
@@ -1,5 +1,25 @@
package config;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import com.comcast.cdn.traffic_control.traffic_monitor.config.Peer;
import com.comcast.cdn.traffic_control.traffic_monitor.config.RouterConfig;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/data/DataPointTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/data/DataPointTest.java b/traffic_monitor/src/test/java/data/DataPointTest.java
index c51f365..05588bb 100644
--- a/traffic_monitor/src/test/java/data/DataPointTest.java
+++ b/traffic_monitor/src/test/java/data/DataPointTest.java
@@ -1,5 +1,25 @@
package data;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.data.DataPoint;
import org.junit.Test;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/data/StatisticsLogTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/data/StatisticsLogTest.java b/traffic_monitor/src/test/java/data/StatisticsLogTest.java
index 968e560..835dd5d 100644
--- a/traffic_monitor/src/test/java/data/StatisticsLogTest.java
+++ b/traffic_monitor/src/test/java/data/StatisticsLogTest.java
@@ -1,5 +1,25 @@
package data;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.data.DataPoint;
import com.comcast.cdn.traffic_control.traffic_monitor.data.StatisticsLog;
import com.comcast.cdn.traffic_control.traffic_monitor.health.DeliveryServiceStateRegistry;
@@ -302,4 +322,4 @@ class TimeGetter implements Runnable {
e.printStackTrace();
}
}
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/health/CacheStateUpdaterTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/health/CacheStateUpdaterTest.java b/traffic_monitor/src/test/java/health/CacheStateUpdaterTest.java
index 9316cf5..f0dd1be 100644
--- a/traffic_monitor/src/test/java/health/CacheStateUpdaterTest.java
+++ b/traffic_monitor/src/test/java/health/CacheStateUpdaterTest.java
@@ -1,5 +1,25 @@
package health;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheState;
import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheStateUpdater;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/health/CacheStatisticsClientTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/health/CacheStatisticsClientTest.java b/traffic_monitor/src/test/java/health/CacheStatisticsClientTest.java
index caaf24b..53958e9 100644
--- a/traffic_monitor/src/test/java/health/CacheStatisticsClientTest.java
+++ b/traffic_monitor/src/test/java/health/CacheStatisticsClientTest.java
@@ -1,5 +1,25 @@
package health;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheStateUpdater;
import com.comcast.cdn.traffic_control.traffic_monitor.health.CacheStatisticsClient;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/health/DeletemeTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/health/DeletemeTest.java b/traffic_monitor/src/test/java/health/DeletemeTest.java
index 46bc636..eb51c35 100644
--- a/traffic_monitor/src/test/java/health/DeletemeTest.java
+++ b/traffic_monitor/src/test/java/health/DeletemeTest.java
@@ -1,4 +1,24 @@
package health;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
public class DeletemeTest {
}
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/java/health/HealthDeterminerTest.java
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/java/health/HealthDeterminerTest.java b/traffic_monitor/src/test/java/health/HealthDeterminerTest.java
index ee1d58d..be0e094 100644
--- a/traffic_monitor/src/test/java/health/HealthDeterminerTest.java
+++ b/traffic_monitor/src/test/java/health/HealthDeterminerTest.java
@@ -1,5 +1,25 @@
package health;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
+
import com.comcast.cdn.traffic_control.traffic_monitor.config.Cache;
import com.comcast.cdn.traffic_control.traffic_monitor.health.HealthDeterminer;
import org.apache.wicket.ajax.json.JSONObject;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/resources/conf/traffic_monitor_config.js
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/resources/conf/traffic_monitor_config.js b/traffic_monitor/src/test/resources/conf/traffic_monitor_config.js
index 3756b33..57eef68 100644
--- a/traffic_monitor/src/test/resources/conf/traffic_monitor_config.js
+++ b/traffic_monitor/src/test/resources/conf/traffic_monitor_config.js
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
{"traffic_monitor_config": {
"tm.healthParams.polling.url": "https://${tmHostname}/health/${cdnName}",
"hack.ttl": "30",
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_monitor/src/test/resources/var/health-params.js
----------------------------------------------------------------------
diff --git a/traffic_monitor/src/test/resources/var/health-params.js b/traffic_monitor/src/test/resources/var/health-params.js
index 30617ed..cc34841 100644
--- a/traffic_monitor/src/test/resources/var/health-params.js
+++ b/traffic_monitor/src/test/resources/var/health-params.js
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+ */
+
{
"deliveryServices": {
"omg-08": {
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/app/conf/misc/riak_search/sslkeys.xml
----------------------------------------------------------------------
diff --git a/traffic_ops/app/conf/misc/riak_search/sslkeys.xml b/traffic_ops/app/conf/misc/riak_search/sslkeys.xml
index 90eae37..245b8bc 100644
--- a/traffic_ops/app/conf/misc/riak_search/sslkeys.xml
+++ b/traffic_ops/app/conf/misc/riak_search/sslkeys.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+-->
+
<schema name="schedule" version="1.5">
<fields>
<field name="cdn" type="string" indexed="true" stored="true" />
@@ -32,4 +52,4 @@
<!-- Used for the catch all field -->
<fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField" />
</types>
-</schema>
\ No newline at end of file
+</schema>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/71662679/traffic_ops/app/lib/Fixtures/Integration/gen_fixtures.pl
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/Fixtures/Integration/gen_fixtures.pl b/traffic_ops/app/lib/Fixtures/Integration/gen_fixtures.pl
old mode 100755
new mode 100644
index 936349a..79c8d77
--- a/traffic_ops/app/lib/Fixtures/Integration/gen_fixtures.pl
+++ b/traffic_ops/app/lib/Fixtures/Integration/gen_fixtures.pl
@@ -1,4 +1,20 @@
#!/usr/bin/perl
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
use LWP::Simple;
use JSON qw( decode_json );