From 569ccbf323e0ccca947f301bde40e2bb809c7ea7 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 27 Apr 2017 22:47:09 +0100 Subject: [PATCH] Add license into code files for MIT --- LICENSE | 2 +- gateway/assets/script/bootstrap.js | 3 +++ gateway/handlers/alerthandler.go | 3 +++ gateway/handlers/functionshandler.go | 3 +++ gateway/handlers/proxy.go | 3 +++ gateway/metrics/metrics.go | 3 +++ gateway/metrics/swarmwatcher.go | 3 +++ gateway/requests/requests.go | 3 +++ gateway/tests/alerthandler_test.go | 3 +++ gateway/tests/integration/createfunction_test.go | 3 +++ gateway/tests/integration/deletefunction_test.go | 3 +++ gateway/tests/integration/routes_test.go | 3 +++ gateway/tests/unmarshall_test.go | 3 +++ watchdog/config_test.go | 3 +++ watchdog/main.go | 3 +++ watchdog/requesthandler_test.go | 3 +++ watchdog/types/types.go | 3 +++ 17 files changed, 49 insertions(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 2e041d22..e3664181 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2010-2017 Alex Ellis +Copyright (c) 2016-2017 Alex Ellis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/gateway/assets/script/bootstrap.js b/gateway/assets/script/bootstrap.js index 6725878d..38e5ce32 100644 --- a/gateway/assets/script/bootstrap.js +++ b/gateway/assets/script/bootstrap.js @@ -1,4 +1,7 @@ "use strict" +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + var app = angular.module('faasGateway', ['ngMaterial']); app.controller("home", ['$scope', '$log', '$http', '$location', '$timeout', '$mdDialog', diff --git a/gateway/handlers/alerthandler.go b/gateway/handlers/alerthandler.go index 61b70583..10292fe6 100644 --- a/gateway/handlers/alerthandler.go +++ b/gateway/handlers/alerthandler.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package handlers import ( diff --git a/gateway/handlers/functionshandler.go b/gateway/handlers/functionshandler.go index 445df681..58b657f7 100644 --- a/gateway/handlers/functionshandler.go +++ b/gateway/handlers/functionshandler.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package handlers import ( diff --git a/gateway/handlers/proxy.go b/gateway/handlers/proxy.go index 13b2eda8..0e16c523 100644 --- a/gateway/handlers/proxy.go +++ b/gateway/handlers/proxy.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package handlers import ( diff --git a/gateway/metrics/metrics.go b/gateway/metrics/metrics.go index ea8503eb..2cb3da9a 100644 --- a/gateway/metrics/metrics.go +++ b/gateway/metrics/metrics.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package metrics import ( diff --git a/gateway/metrics/swarmwatcher.go b/gateway/metrics/swarmwatcher.go index 8d61ecda..7f25bc88 100644 --- a/gateway/metrics/swarmwatcher.go +++ b/gateway/metrics/swarmwatcher.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package metrics import ( diff --git a/gateway/requests/requests.go b/gateway/requests/requests.go index 9ec61a17..2f653016 100644 --- a/gateway/requests/requests.go +++ b/gateway/requests/requests.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package requests // CreateFunctionRequest create a function in the swarm. diff --git a/gateway/tests/alerthandler_test.go b/gateway/tests/alerthandler_test.go index b4c92555..46a3e3e4 100644 --- a/gateway/tests/alerthandler_test.go +++ b/gateway/tests/alerthandler_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package tests import ( diff --git a/gateway/tests/integration/createfunction_test.go b/gateway/tests/integration/createfunction_test.go index ff317f59..b4e02942 100644 --- a/gateway/tests/integration/createfunction_test.go +++ b/gateway/tests/integration/createfunction_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package inttests import ( diff --git a/gateway/tests/integration/deletefunction_test.go b/gateway/tests/integration/deletefunction_test.go index 26d3786a..c8343607 100644 --- a/gateway/tests/integration/deletefunction_test.go +++ b/gateway/tests/integration/deletefunction_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package inttests import ( diff --git a/gateway/tests/integration/routes_test.go b/gateway/tests/integration/routes_test.go index 6e813cac..25e9db14 100644 --- a/gateway/tests/integration/routes_test.go +++ b/gateway/tests/integration/routes_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package inttests import ( diff --git a/gateway/tests/unmarshall_test.go b/gateway/tests/unmarshall_test.go index 5a1c675d..20e394a7 100644 --- a/gateway/tests/unmarshall_test.go +++ b/gateway/tests/unmarshall_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package tests import ( diff --git a/watchdog/config_test.go b/watchdog/config_test.go index af373068..45e41d44 100644 --- a/watchdog/config_test.go +++ b/watchdog/config_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package main import ( diff --git a/watchdog/main.go b/watchdog/main.go index e05ba788..224bdbeb 100644 --- a/watchdog/main.go +++ b/watchdog/main.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package main import ( diff --git a/watchdog/requesthandler_test.go b/watchdog/requesthandler_test.go index ad72a10c..7c9b03d3 100644 --- a/watchdog/requesthandler_test.go +++ b/watchdog/requesthandler_test.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package main import ( diff --git a/watchdog/types/types.go b/watchdog/types/types.go index 909099da..b9d8a5d7 100644 --- a/watchdog/types/types.go +++ b/watchdog/types/types.go @@ -1,3 +1,6 @@ +// Copyright (c) Alex Ellis 2017. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + package types import (