You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2017/05/22 14:24:57 UTC
[4/5] incubator-trafficcontrol git commit: add missing license
statements
add missing license statements
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/36d3ada2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/36d3ada2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/36d3ada2
Branch: refs/heads/master
Commit: 36d3ada221f20bae12b2cbcd10fb7a0c40411341
Parents: 1ddcd73
Author: Dan Kirkwood <da...@gmail.com>
Authored: Fri May 19 17:33:26 2017 -0600
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Mon May 22 08:22:32 2017 -0600
----------------------------------------------------------------------
.../traffic_monitor/config/staticappdata.go | 19 ++++++++++++++++++
.../traffic_monitor/threadsafe/durationmap.go | 19 ++++++++++++++++++
.../traffic_monitor/threadsafe/monitorconfig.go | 19 ++++++++++++++++++
.../traffic_monitor/threadsafe/opsconfig.go | 19 ++++++++++++++++++
.../experimental/api_scripts/cdn_api_mojokey.go | 19 ++++++++++++++++++
.../ui/app/src/common/filters/PercentFilter.js | 19 ++++++++++++++++++
.../ui/app/src/common/models/ChangeLogModel.js | 21 +++++++++++++++++++-
.../cacheGroups/widget.cacheGroups.tpl.html | 19 ++++++++++++++++++
.../widget/capacity/widget.capacity.tpl.html | 19 ++++++++++++++++++
.../widget/cdnChart/widget.cdnChart.tpl.html | 19 ++++++++++++++++++
.../changeLogs/widget.changeLogs.tpl.html | 19 ++++++++++++++++++
.../widget/routing/widget.routing.tpl.html | 19 ++++++++++++++++++
.../private/monitor/dashboard/view/index.js | 19 ++++++++++++++++++
traffic_ops/experimental/ui/docker/clean.sh | 16 +++++++++++++++
traffic_ops/install/bin/todb_bootstrap.sh | 16 +++++++++++++++
.../install/data/profiles/load_profiles.sh | 16 +++++++++++++++
16 files changed, 296 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_monitor_golang/traffic_monitor/config/staticappdata.go
----------------------------------------------------------------------
diff --git a/traffic_monitor_golang/traffic_monitor/config/staticappdata.go b/traffic_monitor_golang/traffic_monitor/config/staticappdata.go
index feb442d..5e877aa 100644
--- a/traffic_monitor_golang/traffic_monitor/config/staticappdata.go
+++ b/traffic_monitor_golang/traffic_monitor/config/staticappdata.go
@@ -1,5 +1,24 @@
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 (
"bytes"
"fmt"
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_monitor_golang/traffic_monitor/threadsafe/durationmap.go
----------------------------------------------------------------------
diff --git a/traffic_monitor_golang/traffic_monitor/threadsafe/durationmap.go b/traffic_monitor_golang/traffic_monitor/threadsafe/durationmap.go
index 60d65c1..b17c0ff 100644
--- a/traffic_monitor_golang/traffic_monitor/threadsafe/durationmap.go
+++ b/traffic_monitor_golang/traffic_monitor/threadsafe/durationmap.go
@@ -1,5 +1,24 @@
package threadsafe
+/*
+ * 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 (
"sync"
"time"
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_monitor_golang/traffic_monitor/threadsafe/monitorconfig.go
----------------------------------------------------------------------
diff --git a/traffic_monitor_golang/traffic_monitor/threadsafe/monitorconfig.go b/traffic_monitor_golang/traffic_monitor/threadsafe/monitorconfig.go
index 3cb3fa9..d471094 100644
--- a/traffic_monitor_golang/traffic_monitor/threadsafe/monitorconfig.go
+++ b/traffic_monitor_golang/traffic_monitor/threadsafe/monitorconfig.go
@@ -1,5 +1,24 @@
package threadsafe
+/*
+ * 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 (
"sync"
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_monitor_golang/traffic_monitor/threadsafe/opsconfig.go
----------------------------------------------------------------------
diff --git a/traffic_monitor_golang/traffic_monitor/threadsafe/opsconfig.go b/traffic_monitor_golang/traffic_monitor/threadsafe/opsconfig.go
index 29a5fcf..efc6bbd 100644
--- a/traffic_monitor_golang/traffic_monitor/threadsafe/opsconfig.go
+++ b/traffic_monitor_golang/traffic_monitor/threadsafe/opsconfig.go
@@ -1,5 +1,24 @@
package threadsafe
+/*
+ * 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 (
"sync"
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_ops/experimental/api_scripts/cdn_api_mojokey.go
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/api_scripts/cdn_api_mojokey.go b/traffic_ops/experimental/api_scripts/cdn_api_mojokey.go
index ab88f71..edb4e50 100644
--- a/traffic_ops/experimental/api_scripts/cdn_api_mojokey.go
+++ b/traffic_ops/experimental/api_scripts/cdn_api_mojokey.go
@@ -1,5 +1,24 @@
package main
+/*
+ * 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.
+ */
+
//to run-> go run cdn_api_mojokey.go
import (
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_ops/experimental/ui/app/src/common/filters/PercentFilter.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/filters/PercentFilter.js b/traffic_ops/experimental/ui/app/src/common/filters/PercentFilter.js
index 21951d9..fba2de1 100644
--- a/traffic_ops/experimental/ui/app/src/common/filters/PercentFilter.js
+++ b/traffic_ops/experimental/ui/app/src/common/filters/PercentFilter.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.
+ */
+
var PercentFilter = function() {
return function(input) {
input = parseFloat(input);
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_ops/experimental/ui/app/src/common/models/ChangeLogModel.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/models/ChangeLogModel.js b/traffic_ops/experimental/ui/app/src/common/models/ChangeLogModel.js
index 225f8eb..48c7b81 100644
--- a/traffic_ops/experimental/ui/app/src/common/models/ChangeLogModel.js
+++ b/traffic_ops/experimental/ui/app/src/common/models/ChangeLogModel.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.
+ */
+
var ChangeLogModel = function($rootScope, $interval, changeLogService, userModel) {
var newLogCount = 0,
@@ -51,4 +70,4 @@ var ChangeLogModel = function($rootScope, $interval, changeLogService, userModel
};
ChangeLogModel.$inject = ['$rootScope', '$interval', 'changeLogService', 'userModel'];
-module.exports = ChangeLogModel;
\ No newline at end of file
+module.exports = ChangeLogModel;
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_ops/experimental/ui/app/src/common/modules/widget/cacheGroups/widget.cacheGroups.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/widget/cacheGroups/widget.cacheGroups.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/widget/cacheGroups/widget.cacheGroups.tpl.html
index 8f5cb88..38fa790 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/widget/cacheGroups/widget.cacheGroups.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/widget/cacheGroups/widget.cacheGroups.tpl.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.
+-->
+
<div class="x_title">
<h2>Cache Groups <small>{{cacheGroupHealth.totalOnline/(cacheGroupHealth.totalOnline + cacheGroupHealth.totalOffline) | percentFilter}} online</small></h2>
<ul class="nav navbar-right panel_toolbox">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_ops/experimental/ui/app/src/common/modules/widget/capacity/widget.capacity.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/widget/capacity/widget.capacity.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/widget/capacity/widget.capacity.tpl.html
index c8b657f..8dd89e2 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/widget/capacity/widget.capacity.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/widget/capacity/widget.capacity.tpl.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.
+-->
+
<div class="x_title">
<h2>Overall Capacity</h2>
<ul class="nav navbar-right panel_toolbox">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_ops/experimental/ui/app/src/common/modules/widget/cdnChart/widget.cdnChart.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/widget/cdnChart/widget.cdnChart.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/widget/cdnChart/widget.cdnChart.tpl.html
index a03b24c..157f6c2 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/widget/cdnChart/widget.cdnChart.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/widget/cdnChart/widget.cdnChart.tpl.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.
+-->
+
<div id="{{::randomId}}" class="dashboard_graph">
<div class="x_title">
<h2><a ng-click="navigateToPath('/admin/cdns/' + cdn.id)">{{::cdn.name}}</a></h2>
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_ops/experimental/ui/app/src/common/modules/widget/changeLogs/widget.changeLogs.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/widget/changeLogs/widget.changeLogs.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/widget/changeLogs/widget.changeLogs.tpl.html
index 2f96e21..15c615d 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/widget/changeLogs/widget.changeLogs.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/widget/changeLogs/widget.changeLogs.tpl.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.
+-->
+
<div class="x_title">
<h2>Change Logs</h2>
<ul class="nav navbar-right panel_toolbox">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_ops/experimental/ui/app/src/common/modules/widget/routing/widget.routing.tpl.html
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/common/modules/widget/routing/widget.routing.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/widget/routing/widget.routing.tpl.html
index 72d1de2..6af1369 100644
--- a/traffic_ops/experimental/ui/app/src/common/modules/widget/routing/widget.routing.tpl.html
+++ b/traffic_ops/experimental/ui/app/src/common/modules/widget/routing/widget.routing.tpl.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.
+-->
+
<div class="x_title">
<h2>Routing Methods</h2>
<ul class="nav navbar-right panel_toolbox">
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboard/view/index.js
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboard/view/index.js b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboard/view/index.js
index 3076a70..6dfafa8 100644
--- a/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboard/view/index.js
+++ b/traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboard/view/index.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.
+ */
+
module.exports = angular.module('trafficOps.private.monitor.dashboard.view', [])
.config(function($stateProvider, $urlRouterProvider) {
$stateProvider
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_ops/experimental/ui/docker/clean.sh
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/docker/clean.sh b/traffic_ops/experimental/ui/docker/clean.sh
index 536f973..9a43659 100755
--- a/traffic_ops/experimental/ui/docker/clean.sh
+++ b/traffic_ops/experimental/ui/docker/clean.sh
@@ -1,4 +1,20 @@
#!/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.
#docker-compose -p trafficops build
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_ops/install/bin/todb_bootstrap.sh
----------------------------------------------------------------------
diff --git a/traffic_ops/install/bin/todb_bootstrap.sh b/traffic_ops/install/bin/todb_bootstrap.sh
index 2de2d03..167645d 100755
--- a/traffic_ops/install/bin/todb_bootstrap.sh
+++ b/traffic_ops/install/bin/todb_bootstrap.sh
@@ -1,4 +1,20 @@
#!/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.
# To bypass the password prompts for automation, please set TODB_USERNAME_PASSWORD=<yourpassword> before you invoke
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/36d3ada2/traffic_ops/install/data/profiles/load_profiles.sh
----------------------------------------------------------------------
diff --git a/traffic_ops/install/data/profiles/load_profiles.sh b/traffic_ops/install/data/profiles/load_profiles.sh
index 4b4cb03..a5ec999 100755
--- a/traffic_ops/install/data/profiles/load_profiles.sh
+++ b/traffic_ops/install/data/profiles/load_profiles.sh
@@ -1 +1,17 @@
+# 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.
for f in /opt/traffic_ops/install/data/profiles/*.sql ; do psql -U traffic_ops -h localhost traffic_ops -f $f ; done