From d5fb1afda739792740591da2fa51c3c9aba79353 Mon Sep 17 00:00:00 2001 From: Carlos C Date: Sun, 6 Nov 2016 09:25:12 -0800 Subject: [PATCH] Revert "Assert License (#224)" This reverts commit a61c4dab789fe92d6f0ad14e30e91a522629e9d6. --- Dockerfile | 14 -------------- THIRD_PARTY | 4 ---- api/datastore/bolt/bolt.go | 14 -------------- api/datastore/bolt_test.go | 14 -------------- api/datastore/datastore.go | 14 -------------- api/datastore/mock.go | 14 -------------- api/datastore/postgres/postgres.go | 14 -------------- api/ifaces/app.go | 14 -------------- api/ifaces/handlers.go | 14 -------------- api/ifaces/listeners.go | 14 -------------- api/models/app.go | 14 -------------- api/models/app_wrapper.go | 14 -------------- api/models/complete.go | 14 -------------- api/models/config.go | 14 -------------- api/models/datastore.go | 14 -------------- api/models/error.go | 14 -------------- api/models/error_body.go | 14 -------------- api/models/id_status.go | 14 -------------- api/models/mq.go | 14 -------------- api/models/new_task.go | 14 -------------- api/models/reason.go | 14 -------------- api/models/route.go | 14 -------------- api/models/route_wrapper.go | 14 -------------- api/models/runner.go | 14 -------------- api/models/start.go | 14 -------------- api/models/task.go | 14 -------------- api/mqs/bolt.go | 14 -------------- api/mqs/ironmq.go | 14 -------------- api/mqs/memory.go | 14 -------------- api/mqs/mock.go | 14 -------------- api/mqs/new.go | 14 -------------- api/mqs/redis.go | 14 -------------- api/runner/async_runner.go | 14 -------------- api/runner/async_runner_test.go | 14 -------------- api/runner/logger.go | 14 -------------- api/runner/metrics.go | 14 -------------- api/runner/runner.go | 14 -------------- api/runner/runner_test.go | 14 -------------- api/runner/task.go | 14 -------------- api/server/apps_create.go | 14 -------------- api/server/apps_delete.go | 14 -------------- api/server/apps_get.go | 14 -------------- api/server/apps_list.go | 14 -------------- api/server/apps_test.go | 14 -------------- api/server/apps_update.go | 14 -------------- api/server/ping.go | 14 -------------- api/server/routes_create.go | 14 -------------- api/server/routes_delete.go | 14 -------------- api/server/routes_get.go | 14 -------------- api/server/routes_list.go | 14 -------------- api/server/routes_test.go | 14 -------------- api/server/routes_update.go | 14 -------------- api/server/runner.go | 14 -------------- api/server/runner_async_test.go | 14 -------------- api/server/runner_test.go | 14 -------------- api/server/server.go | 14 -------------- api/server/server_test.go | 14 -------------- api/server/special_handler_context.go | 14 -------------- api/server/tree.go | 16 +++------------- api/server/version.go | 14 -------------- build.ps1 | 14 -------------- clients/build.rb | 14 -------------- docs/howto/go/Dockerfile | 14 -------------- docs/howto/go/hello.go | 14 -------------- docs/howto/node/Dockerfile | 14 -------------- docs/howto/php/Dockerfile | 14 -------------- docs/howto/python/Dockerfile | 14 -------------- examples/Dockerfile.glide | 14 -------------- examples/blog/Dockerfile | 14 -------------- examples/blog/build.sh | 15 --------------- examples/blog/database/database.go | 14 -------------- examples/blog/database/post.go | 14 -------------- examples/blog/database/user.go | 14 -------------- examples/blog/function.go | 14 -------------- examples/blog/models/post.go | 14 -------------- examples/blog/models/user.go | 14 -------------- examples/blog/routes/post_create.go | 14 -------------- examples/blog/routes/post_list.go | 14 -------------- examples/blog/routes/post_read.go | 14 -------------- examples/blog/routes/server.go | 14 -------------- examples/blog/test.sh | 15 --------------- examples/build-glide.sh | 14 -------------- examples/caddy-lb/build.sh | 15 --------------- examples/caddy-lb/test.sh | 15 --------------- examples/checker/Dockerfile | 14 -------------- examples/checker/build.sh | 15 --------------- examples/checker/function.rb | 14 -------------- examples/checker/test.sh | 14 -------------- examples/echo/Dockerfile | 14 -------------- examples/echo/build.sh | 14 -------------- examples/echo/function.rb | 14 -------------- examples/echo/test.sh | 15 --------------- examples/error/Dockerfile | 14 -------------- examples/error/build.sh | 15 --------------- examples/error/function.rb | 14 -------------- examples/error/test.sh | 15 --------------- examples/hello-go/Dockerfile | 14 -------------- examples/hello-go/build.sh | 15 --------------- examples/hello-go/function.go | 14 -------------- examples/hello-go/hello-async.sh | 15 --------------- examples/hello-go/hello-sync.sh | 15 --------------- examples/hello-go/test.sh | 14 -------------- examples/hello-ruby/Dockerfile | 14 -------------- examples/hello-ruby/build.sh | 15 --------------- examples/hello-ruby/function.rb | 14 -------------- examples/hello-ruby/hello-async.sh | 15 --------------- examples/hello-ruby/hello-sync.sh | 14 -------------- examples/hello-ruby/test.sh | 15 --------------- examples/redis/Dockerfile | 14 -------------- examples/redis/build.sh | 15 --------------- examples/redis/function.go | 14 -------------- examples/redis/test.sh | 15 --------------- examples/sleeper/Dockerfile | 14 -------------- examples/sleeper/build.sh | 15 --------------- examples/sleeper/function.rb | 14 -------------- examples/sleeper/test.sh | 17 +---------------- examples/tests.sh | 14 -------------- .../triggers/openstack-ceilometer/devstack.sh | 15 --------------- examples/twitter/Dockerfile | 14 -------------- examples/twitter/build.sh | 14 -------------- examples/twitter/function.go | 14 -------------- examples/twitter/test.sh | 14 -------------- fnctl/Dockerfile | 14 -------------- fnctl/apps.go | 14 -------------- fnctl/build.go | 14 -------------- fnctl/bump.go | 14 -------------- fnctl/common.go | 14 -------------- fnctl/entrypoint.sh | 15 --------------- fnctl/install | 15 --------------- fnctl/lambda.go | 14 -------------- fnctl/main.go | 14 -------------- fnctl/publish.go | 14 -------------- fnctl/routes.go | 14 -------------- fnctl/run.go | 14 -------------- main.go | 14 -------------- release.sh | 15 --------------- tests/Dockerfile | 14 -------------- tests/build.sh | 14 -------------- tests/run.sh | 14 -------------- tests/test.rb | 14 -------------- tests/utils.rb | 14 -------------- 141 files changed, 4 insertions(+), 1986 deletions(-) delete mode 100644 THIRD_PARTY diff --git a/Dockerfile b/Dockerfile index e6c90afb9..f5439d187 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/dind RUN mkdir /app diff --git a/THIRD_PARTY b/THIRD_PARTY deleted file mode 100644 index af038e4a4..000000000 --- a/THIRD_PARTY +++ /dev/null @@ -1,4 +0,0 @@ -This software use third-party software. - -For: api/server/tree.go -Copyright 2013 Julien Schmidt. All rights reserved. BSD-license \ No newline at end of file diff --git a/api/datastore/bolt/bolt.go b/api/datastore/bolt/bolt.go index 24affa4e6..0b6b32d80 100644 --- a/api/datastore/bolt/bolt.go +++ b/api/datastore/bolt/bolt.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 bolt import ( diff --git a/api/datastore/bolt_test.go b/api/datastore/bolt_test.go index 9fcb2570c..284e087ff 100644 --- a/api/datastore/bolt_test.go +++ b/api/datastore/bolt_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 datastore import ( diff --git a/api/datastore/datastore.go b/api/datastore/datastore.go index d122e0c50..129c6f6e7 100644 --- a/api/datastore/datastore.go +++ b/api/datastore/datastore.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 datastore import ( diff --git a/api/datastore/mock.go b/api/datastore/mock.go index d12cd05fa..c8d9f03a7 100644 --- a/api/datastore/mock.go +++ b/api/datastore/mock.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 datastore import "github.com/iron-io/functions/api/models" diff --git a/api/datastore/postgres/postgres.go b/api/datastore/postgres/postgres.go index 079b9f703..e51da8d1b 100644 --- a/api/datastore/postgres/postgres.go +++ b/api/datastore/postgres/postgres.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 postgres import ( diff --git a/api/ifaces/app.go b/api/ifaces/app.go index 55a00d684..d70c2b3f0 100644 --- a/api/ifaces/app.go +++ b/api/ifaces/app.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 ifaces import "net/http" diff --git a/api/ifaces/handlers.go b/api/ifaces/handlers.go index bf97b8483..36c94797c 100644 --- a/api/ifaces/handlers.go +++ b/api/ifaces/handlers.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 ifaces import ( diff --git a/api/ifaces/listeners.go b/api/ifaces/listeners.go index c7dcc4374..7c2479852 100644 --- a/api/ifaces/listeners.go +++ b/api/ifaces/listeners.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 ifaces import ( diff --git a/api/models/app.go b/api/models/app.go index 64eafb74e..83780ce54 100644 --- a/api/models/app.go +++ b/api/models/app.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models import ( diff --git a/api/models/app_wrapper.go b/api/models/app_wrapper.go index 6e2cdf720..815888261 100644 --- a/api/models/app_wrapper.go +++ b/api/models/app_wrapper.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models import "github.com/go-openapi/errors" diff --git a/api/models/complete.go b/api/models/complete.go index 5ac3159d0..2d3b92ac1 100644 --- a/api/models/complete.go +++ b/api/models/complete.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models import "github.com/go-openapi/strfmt" diff --git a/api/models/config.go b/api/models/config.go index 79ae483bc..4a9dc6290 100644 --- a/api/models/config.go +++ b/api/models/config.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models type Config map[string]string diff --git a/api/models/datastore.go b/api/models/datastore.go index 05c4ad4fa..e603109c6 100644 --- a/api/models/datastore.go +++ b/api/models/datastore.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models import "errors" diff --git a/api/models/error.go b/api/models/error.go index 2cdd06440..ae7dc12ad 100644 --- a/api/models/error.go +++ b/api/models/error.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models import "errors" diff --git a/api/models/error_body.go b/api/models/error_body.go index 6c7bd0b7c..96e78ae2d 100644 --- a/api/models/error_body.go +++ b/api/models/error_body.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models type ErrorBody struct { diff --git a/api/models/id_status.go b/api/models/id_status.go index 335675089..70a00bab6 100644 --- a/api/models/id_status.go +++ b/api/models/id_status.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models // This file was generated by the swagger tool. diff --git a/api/models/mq.go b/api/models/mq.go index d9cabf6b4..8528f3a98 100644 --- a/api/models/mq.go +++ b/api/models/mq.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models import "context" diff --git a/api/models/new_task.go b/api/models/new_task.go index 3b71d687c..414929161 100644 --- a/api/models/new_task.go +++ b/api/models/new_task.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models // This file was generated by the swagger tool. diff --git a/api/models/reason.go b/api/models/reason.go index 7bfb97508..cc647ecb4 100644 --- a/api/models/reason.go +++ b/api/models/reason.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models // This file was generated by the swagger tool. diff --git a/api/models/route.go b/api/models/route.go index 3a17312cb..5ec7073ac 100644 --- a/api/models/route.go +++ b/api/models/route.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models import ( diff --git a/api/models/route_wrapper.go b/api/models/route_wrapper.go index 9ae7fac53..0d7e21bdc 100644 --- a/api/models/route_wrapper.go +++ b/api/models/route_wrapper.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models import "github.com/go-openapi/errors" diff --git a/api/models/runner.go b/api/models/runner.go index 701b81a9c..0d51734e6 100644 --- a/api/models/runner.go +++ b/api/models/runner.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models import "errors" diff --git a/api/models/start.go b/api/models/start.go index 6b7a94a0d..ec5784090 100644 --- a/api/models/start.go +++ b/api/models/start.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models import "github.com/go-openapi/strfmt" diff --git a/api/models/task.go b/api/models/task.go index f4ce2b95d..3ca5228be 100644 --- a/api/models/task.go +++ b/api/models/task.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models // This file was generated by the swagger tool. diff --git a/api/mqs/bolt.go b/api/mqs/bolt.go index 532dec33f..beb00db0c 100644 --- a/api/mqs/bolt.go +++ b/api/mqs/bolt.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 mqs import ( diff --git a/api/mqs/ironmq.go b/api/mqs/ironmq.go index 846900ae9..93ef75dcc 100644 --- a/api/mqs/ironmq.go +++ b/api/mqs/ironmq.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 mqs import ( diff --git a/api/mqs/memory.go b/api/mqs/memory.go index 29390d548..bcb8b4da1 100644 --- a/api/mqs/memory.go +++ b/api/mqs/memory.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 mqs import ( diff --git a/api/mqs/mock.go b/api/mqs/mock.go index de8bd473a..55d5c257c 100644 --- a/api/mqs/mock.go +++ b/api/mqs/mock.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 mqs import ( diff --git a/api/mqs/new.go b/api/mqs/new.go index abb2831d7..9b82fa210 100644 --- a/api/mqs/new.go +++ b/api/mqs/new.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 mqs import ( diff --git a/api/mqs/redis.go b/api/mqs/redis.go index 4e79de76d..6a3b42712 100644 --- a/api/mqs/redis.go +++ b/api/mqs/redis.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 mqs import ( diff --git a/api/runner/async_runner.go b/api/runner/async_runner.go index eb77a4136..907cdea7b 100644 --- a/api/runner/async_runner.go +++ b/api/runner/async_runner.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 runner import ( diff --git a/api/runner/async_runner_test.go b/api/runner/async_runner_test.go index 518ba82d5..febe07ef8 100644 --- a/api/runner/async_runner_test.go +++ b/api/runner/async_runner_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 runner import ( diff --git a/api/runner/logger.go b/api/runner/logger.go index f3fb5cf88..52a39deee 100644 --- a/api/runner/logger.go +++ b/api/runner/logger.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 runner import ( diff --git a/api/runner/metrics.go b/api/runner/metrics.go index a25c79916..dd9b7949f 100644 --- a/api/runner/metrics.go +++ b/api/runner/metrics.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 runner import ( diff --git a/api/runner/runner.go b/api/runner/runner.go index 3f10830d0..6db9e4d0f 100644 --- a/api/runner/runner.go +++ b/api/runner/runner.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 runner import ( diff --git a/api/runner/runner_test.go b/api/runner/runner_test.go index ee116e794..dedc05bcb 100644 --- a/api/runner/runner_test.go +++ b/api/runner/runner_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 runner import ( diff --git a/api/runner/task.go b/api/runner/task.go index c15871e03..5147ad2db 100644 --- a/api/runner/task.go +++ b/api/runner/task.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 runner import ( diff --git a/api/server/apps_create.go b/api/server/apps_create.go index 6fc4d262f..804aee564 100644 --- a/api/server/apps_create.go +++ b/api/server/apps_create.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/apps_delete.go b/api/server/apps_delete.go index 7385e68b8..302a38e0a 100644 --- a/api/server/apps_delete.go +++ b/api/server/apps_delete.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/apps_get.go b/api/server/apps_get.go index 64b6d2197..95ff231ed 100644 --- a/api/server/apps_get.go +++ b/api/server/apps_get.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/apps_list.go b/api/server/apps_list.go index 4b6f64d84..881c25c49 100644 --- a/api/server/apps_list.go +++ b/api/server/apps_list.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/apps_test.go b/api/server/apps_test.go index 6dbcfa690..790295b3d 100644 --- a/api/server/apps_test.go +++ b/api/server/apps_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/apps_update.go b/api/server/apps_update.go index 3ed896bbe..4b58775f4 100644 --- a/api/server/apps_update.go +++ b/api/server/apps_update.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/ping.go b/api/server/ping.go index 72e9304b5..a00ae0502 100644 --- a/api/server/ping.go +++ b/api/server/ping.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/routes_create.go b/api/server/routes_create.go index 888bfca55..01d1c3036 100644 --- a/api/server/routes_create.go +++ b/api/server/routes_create.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/routes_delete.go b/api/server/routes_delete.go index ee86a4bea..c82fae7f2 100644 --- a/api/server/routes_delete.go +++ b/api/server/routes_delete.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/routes_get.go b/api/server/routes_get.go index 1df4ec6cc..4ab175dac 100644 --- a/api/server/routes_get.go +++ b/api/server/routes_get.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/routes_list.go b/api/server/routes_list.go index 38c352710..72baee4f1 100644 --- a/api/server/routes_list.go +++ b/api/server/routes_list.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/routes_test.go b/api/server/routes_test.go index dc1609630..52cd8ae50 100644 --- a/api/server/routes_test.go +++ b/api/server/routes_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/routes_update.go b/api/server/routes_update.go index 47a87baec..93b0e23db 100644 --- a/api/server/routes_update.go +++ b/api/server/routes_update.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/runner.go b/api/server/runner.go index f7d5bc957..766a0b545 100644 --- a/api/server/runner.go +++ b/api/server/runner.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/runner_async_test.go b/api/server/runner_async_test.go index 3644532b9..372f37fd8 100644 --- a/api/server/runner_async_test.go +++ b/api/server/runner_async_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/runner_test.go b/api/server/runner_test.go index 7868bf9b2..16b90e438 100644 --- a/api/server/runner_test.go +++ b/api/server/runner_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/server.go b/api/server/server.go index 86b7eb8f4..19635367a 100644 --- a/api/server/server.go +++ b/api/server/server.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/server_test.go b/api/server/server_test.go index 780227735..f7d17a30c 100644 --- a/api/server/server_test.go +++ b/api/server/server_test.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/special_handler_context.go b/api/server/special_handler_context.go index e52fbf515..3ae42728e 100644 --- a/api/server/special_handler_context.go +++ b/api/server/special_handler_context.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/api/server/tree.go b/api/server/tree.go index c7078cabe..7c756a666 100644 --- a/api/server/tree.go +++ b/api/server/tree.go @@ -1,16 +1,6 @@ -// Copyright 2016 Iron.io -// -// 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. +// Copyright 2013 Julien Schmidt. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be found +// in the LICENSE file. package server diff --git a/api/server/version.go b/api/server/version.go index 27c250dae..dc70b3276 100644 --- a/api/server/version.go +++ b/api/server/version.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 server import ( diff --git a/build.ps1 b/build.ps1 index 6e8e0d58a..943f7cb60 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - # Build script for PowerShell $ErrorActionPreference = "Stop" diff --git a/clients/build.rb b/clients/build.rb index d83650dd5..3cc3491d6 100644 --- a/clients/build.rb +++ b/clients/build.rb @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - require 'yaml' require 'open-uri' require 'http' diff --git a/docs/howto/go/Dockerfile b/docs/howto/go/Dockerfile index 26993f964..063457ab3 100644 --- a/docs/howto/go/Dockerfile +++ b/docs/howto/go/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/go WORKDIR /app diff --git a/docs/howto/go/hello.go b/docs/howto/go/hello.go index d10c0d306..fa1ef4b03 100644 --- a/docs/howto/go/hello.go +++ b/docs/howto/go/hello.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/docs/howto/node/Dockerfile b/docs/howto/node/Dockerfile index 91bcbb688..01e9a2049 100644 --- a/docs/howto/node/Dockerfile +++ b/docs/howto/node/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/node WORKDIR /app diff --git a/docs/howto/php/Dockerfile b/docs/howto/php/Dockerfile index 5f9162fe3..e92bd9d0a 100644 --- a/docs/howto/php/Dockerfile +++ b/docs/howto/php/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/php WORKDIR /app diff --git a/docs/howto/python/Dockerfile b/docs/howto/python/Dockerfile index 1e6ca0237..b70c9eb48 100644 --- a/docs/howto/python/Dockerfile +++ b/docs/howto/python/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/python:2 WORKDIR /app diff --git a/examples/Dockerfile.glide b/examples/Dockerfile.glide index 200359098..996a8b7cf 100644 --- a/examples/Dockerfile.glide +++ b/examples/Dockerfile.glide @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/go:dev RUN mkdir -p /go/src/github.com/Masterminds diff --git a/examples/blog/Dockerfile b/examples/blog/Dockerfile index b54d3d304..f5f8ab200 100644 --- a/examples/blog/Dockerfile +++ b/examples/blog/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/go ADD func . diff --git a/examples/blog/build.sh b/examples/blog/build.sh index dd5cf1691..198caaf19 100755 --- a/examples/blog/build.sh +++ b/examples/blog/build.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -ex FUNCPKG=$(pwd | sed "s|$GOPATH/src/||") diff --git a/examples/blog/database/database.go b/examples/blog/database/database.go index 80deeff99..55c05f007 100644 --- a/examples/blog/database/database.go +++ b/examples/blog/database/database.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 database import "gopkg.in/mgo.v2" diff --git a/examples/blog/database/post.go b/examples/blog/database/post.go index 6e585f13a..d6d63902f 100644 --- a/examples/blog/database/post.go +++ b/examples/blog/database/post.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 database import ( diff --git a/examples/blog/database/user.go b/examples/blog/database/user.go index cba653e47..c6bff9f0a 100644 --- a/examples/blog/database/user.go +++ b/examples/blog/database/user.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 database import ( diff --git a/examples/blog/function.go b/examples/blog/function.go index cd3c1dd71..75ca27e67 100644 --- a/examples/blog/function.go +++ b/examples/blog/function.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/examples/blog/models/post.go b/examples/blog/models/post.go index 07e17096e..ef964c458 100644 --- a/examples/blog/models/post.go +++ b/examples/blog/models/post.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models import "gopkg.in/mgo.v2/bson" diff --git a/examples/blog/models/user.go b/examples/blog/models/user.go index b85dff2a8..a4809e0a5 100644 --- a/examples/blog/models/user.go +++ b/examples/blog/models/user.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 models import "golang.org/x/crypto/bcrypt" diff --git a/examples/blog/routes/post_create.go b/examples/blog/routes/post_create.go index df541fe09..dca60a148 100644 --- a/examples/blog/routes/post_create.go +++ b/examples/blog/routes/post_create.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 route import ( diff --git a/examples/blog/routes/post_list.go b/examples/blog/routes/post_list.go index 39e0b0a70..1131b1360 100644 --- a/examples/blog/routes/post_list.go +++ b/examples/blog/routes/post_list.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 route import ( diff --git a/examples/blog/routes/post_read.go b/examples/blog/routes/post_read.go index b30d86154..70d9674f1 100644 --- a/examples/blog/routes/post_read.go +++ b/examples/blog/routes/post_read.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 route import ( diff --git a/examples/blog/routes/server.go b/examples/blog/routes/server.go index 1ff9ce12b..c202eb287 100644 --- a/examples/blog/routes/server.go +++ b/examples/blog/routes/server.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 route import ( diff --git a/examples/blog/test.sh b/examples/blog/test.sh index 72967bbd3..ed95a4b07 100755 --- a/examples/blog/test.sh +++ b/examples/blog/test.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -x ./build.sh diff --git a/examples/build-glide.sh b/examples/build-glide.sh index 8426ed377..6b9965ba8 100755 --- a/examples/build-glide.sh +++ b/examples/build-glide.sh @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - EXAMPLE=`pwd` cd .. diff --git a/examples/caddy-lb/build.sh b/examples/caddy-lb/build.sh index a18e06038..35c18663d 100755 --- a/examples/caddy-lb/build.sh +++ b/examples/caddy-lb/build.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -ex docker-compose up \ No newline at end of file diff --git a/examples/caddy-lb/test.sh b/examples/caddy-lb/test.sh index f7abb5fe5..8dabc7407 100755 --- a/examples/caddy-lb/test.sh +++ b/examples/caddy-lb/test.sh @@ -1,18 +1,3 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -x diff --git a/examples/checker/Dockerfile b/examples/checker/Dockerfile index b762cf697..44987d673 100644 --- a/examples/checker/Dockerfile +++ b/examples/checker/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/ruby:dev WORKDIR /function diff --git a/examples/checker/build.sh b/examples/checker/build.sh index 48bce0a1f..5d9cf9a94 100755 --- a/examples/checker/build.sh +++ b/examples/checker/build.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -ex # build image diff --git a/examples/checker/function.rb b/examples/checker/function.rb index 5c18f0de1..5b8e0e14e 100644 --- a/examples/checker/function.rb +++ b/examples/checker/function.rb @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - require 'json' payload = STDIN.read diff --git a/examples/checker/test.sh b/examples/checker/test.sh index e21807579..a3c9ff1c7 100755 --- a/examples/checker/test.sh +++ b/examples/checker/test.sh @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - #!/bin/bash set -x diff --git a/examples/echo/Dockerfile b/examples/echo/Dockerfile index 94bb32fc4..e60bd3b48 100644 --- a/examples/echo/Dockerfile +++ b/examples/echo/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/ruby:dev WORKDIR /function diff --git a/examples/echo/build.sh b/examples/echo/build.sh index 248a1e3b7..8b35ad511 100755 --- a/examples/echo/build.sh +++ b/examples/echo/build.sh @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - #!/bin/bash set -ex diff --git a/examples/echo/function.rb b/examples/echo/function.rb index 8cb787758..aa49581c6 100644 --- a/examples/echo/function.rb +++ b/examples/echo/function.rb @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - require 'json' payload = STDIN.read diff --git a/examples/echo/test.sh b/examples/echo/test.sh index e3c2259bc..ba4e41231 100755 --- a/examples/echo/test.sh +++ b/examples/echo/test.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -x ./build.sh diff --git a/examples/error/Dockerfile b/examples/error/Dockerfile index 7b87e3075..f810193e9 100644 --- a/examples/error/Dockerfile +++ b/examples/error/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/ruby:dev WORKDIR /worker diff --git a/examples/error/build.sh b/examples/error/build.sh index 1b4d16f6e..c93fa16b0 100755 --- a/examples/error/build.sh +++ b/examples/error/build.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -ex docker build -t iron/func-error . \ No newline at end of file diff --git a/examples/error/function.rb b/examples/error/function.rb index 3a4fd753c..a86263bda 100644 --- a/examples/error/function.rb +++ b/examples/error/function.rb @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - require 'json' payload = STDIN.read diff --git a/examples/error/test.sh b/examples/error/test.sh index 945062199..133cf550f 100755 --- a/examples/error/test.sh +++ b/examples/error/test.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -x ./build.sh diff --git a/examples/hello-go/Dockerfile b/examples/hello-go/Dockerfile index b54d3d304..f5f8ab200 100644 --- a/examples/hello-go/Dockerfile +++ b/examples/hello-go/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/go ADD func . diff --git a/examples/hello-go/build.sh b/examples/hello-go/build.sh index c831e1d76..61bf638d3 100755 --- a/examples/hello-go/build.sh +++ b/examples/hello-go/build.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -ex FUNCPKG=$(pwd | sed "s|$GOPATH/src/||") diff --git a/examples/hello-go/function.go b/examples/hello-go/function.go index 7e4cee2b7..60bb44f02 100644 --- a/examples/hello-go/function.go +++ b/examples/hello-go/function.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/examples/hello-go/hello-async.sh b/examples/hello-go/hello-async.sh index f16b0baf5..568f2dc15 100755 --- a/examples/hello-go/hello-async.sh +++ b/examples/hello-go/hello-async.sh @@ -1,20 +1,5 @@ #!/bin/bash -# Copyright 2016 Iron.io -# -# 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. - - HOST="${1:-localhost:8080}" REQ="${2:-1}" diff --git a/examples/hello-go/hello-sync.sh b/examples/hello-go/hello-sync.sh index 20e25f3f2..898b262ac 100755 --- a/examples/hello-go/hello-sync.sh +++ b/examples/hello-go/hello-sync.sh @@ -1,20 +1,5 @@ #!/bin/bash -# Copyright 2016 Iron.io -# -# 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. - - HOST="${1:-localhost:8080}" REQ="${2:-1}" diff --git a/examples/hello-go/test.sh b/examples/hello-go/test.sh index deec5125b..7f3a0e581 100755 --- a/examples/hello-go/test.sh +++ b/examples/hello-go/test.sh @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - #!/bin/bash set -x diff --git a/examples/hello-ruby/Dockerfile b/examples/hello-ruby/Dockerfile index 0d81c6815..f6c10018d 100644 --- a/examples/hello-ruby/Dockerfile +++ b/examples/hello-ruby/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/ruby:dev WORKDIR /function diff --git a/examples/hello-ruby/build.sh b/examples/hello-ruby/build.sh index e1ddf8b1f..4d8d73dbc 100755 --- a/examples/hello-ruby/build.sh +++ b/examples/hello-ruby/build.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -ex docker build -t iron/func-hello-ruby . \ No newline at end of file diff --git a/examples/hello-ruby/function.rb b/examples/hello-ruby/function.rb index 2899091d2..e0eb673a5 100644 --- a/examples/hello-ruby/function.rb +++ b/examples/hello-ruby/function.rb @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - require 'json' name = "World" diff --git a/examples/hello-ruby/hello-async.sh b/examples/hello-ruby/hello-async.sh index 4f2f9a635..d18bfa7b2 100755 --- a/examples/hello-ruby/hello-async.sh +++ b/examples/hello-ruby/hello-async.sh @@ -1,20 +1,5 @@ #!/bin/bash -# Copyright 2016 Iron.io -# -# 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. - - HOST="${1:-localhost:8080}" REQ="${2:-1}" diff --git a/examples/hello-ruby/hello-sync.sh b/examples/hello-ruby/hello-sync.sh index 2274fee79..ff3d595f9 100755 --- a/examples/hello-ruby/hello-sync.sh +++ b/examples/hello-ruby/hello-sync.sh @@ -1,19 +1,5 @@ #!/bin/bash -# Copyright 2016 Iron.io -# -# 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. - HOST="${1:-localhost:8080}" REQ="${2:-1}" diff --git a/examples/hello-ruby/test.sh b/examples/hello-ruby/test.sh index 8bfeb5f00..2a533a641 100755 --- a/examples/hello-ruby/test.sh +++ b/examples/hello-ruby/test.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -x ./build.sh diff --git a/examples/redis/Dockerfile b/examples/redis/Dockerfile index b54d3d304..f5f8ab200 100644 --- a/examples/redis/Dockerfile +++ b/examples/redis/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/go ADD func . diff --git a/examples/redis/build.sh b/examples/redis/build.sh index 70a48fcac..d3e8997d4 100755 --- a/examples/redis/build.sh +++ b/examples/redis/build.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -ex FUNCPKG=$(pwd | sed "s|$GOPATH/src/||") diff --git a/examples/redis/function.go b/examples/redis/function.go index 2c5545279..e83717143 100644 --- a/examples/redis/function.go +++ b/examples/redis/function.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/examples/redis/test.sh b/examples/redis/test.sh index 69598849b..eee6486ac 100755 --- a/examples/redis/test.sh +++ b/examples/redis/test.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -x ./build.sh diff --git a/examples/sleeper/Dockerfile b/examples/sleeper/Dockerfile index 0d81c6815..f6c10018d 100644 --- a/examples/sleeper/Dockerfile +++ b/examples/sleeper/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/ruby:dev WORKDIR /function diff --git a/examples/sleeper/build.sh b/examples/sleeper/build.sh index 3f1741dd1..c062b83ee 100755 --- a/examples/sleeper/build.sh +++ b/examples/sleeper/build.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -ex docker build -t iron/func-sleeper . \ No newline at end of file diff --git a/examples/sleeper/function.rb b/examples/sleeper/function.rb index 54b0fd308..bdb56cd3d 100644 --- a/examples/sleeper/function.rb +++ b/examples/sleeper/function.rb @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - require 'json' payload = STDIN.read diff --git a/examples/sleeper/test.sh b/examples/sleeper/test.sh index fc3711174..e1c80fa6c 100755 --- a/examples/sleeper/test.sh +++ b/examples/sleeper/test.sh @@ -1,24 +1,9 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -x ./build.sh -PAYLOAD='{"sleep": 5}' +PAYLOAD='{"sleep": 5}' # test it echo $PAYLOAD | docker run --rm -i -e TEST=1 iron/func-sleeper \ No newline at end of file diff --git a/examples/tests.sh b/examples/tests.sh index e31e9aad8..2e206065c 100755 --- a/examples/tests.sh +++ b/examples/tests.sh @@ -1,19 +1,5 @@ #!/bin/bash -# Copyright 2016 Iron.io -# -# 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. - testlist=`find -L "$@" -type f -executable -name test.sh` for test in $testlist diff --git a/examples/triggers/openstack-ceilometer/devstack.sh b/examples/triggers/openstack-ceilometer/devstack.sh index d9afbc9f7..f113ab942 100644 --- a/examples/triggers/openstack-ceilometer/devstack.sh +++ b/examples/triggers/openstack-ceilometer/devstack.sh @@ -1,20 +1,5 @@ #!/bin/bash -# Copyright 2016 Iron.io -# -# 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. - - OPENSTACK_VERSION=stable/mitaka sudo apt-get update -qqy diff --git a/examples/twitter/Dockerfile b/examples/twitter/Dockerfile index b54d3d304..f5f8ab200 100644 --- a/examples/twitter/Dockerfile +++ b/examples/twitter/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/go ADD func . diff --git a/examples/twitter/build.sh b/examples/twitter/build.sh index b0511e67c..0dc577168 100755 --- a/examples/twitter/build.sh +++ b/examples/twitter/build.sh @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - #!/bin/bash set -ex diff --git a/examples/twitter/function.go b/examples/twitter/function.go index b0a1f1060..d20a2e8da 100644 --- a/examples/twitter/function.go +++ b/examples/twitter/function.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/examples/twitter/test.sh b/examples/twitter/test.sh index c6c2f561a..59e170323 100755 --- a/examples/twitter/test.sh +++ b/examples/twitter/test.sh @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - #!/bin/bash set -x diff --git a/fnctl/Dockerfile b/fnctl/Dockerfile index f2299fb9c..3169af3a2 100644 --- a/fnctl/Dockerfile +++ b/fnctl/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM alpine diff --git a/fnctl/apps.go b/fnctl/apps.go index 2cd40e6de..ae0d2506c 100644 --- a/fnctl/apps.go +++ b/fnctl/apps.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/fnctl/build.go b/fnctl/build.go index d5ed968a6..21f5afc07 100644 --- a/fnctl/build.go +++ b/fnctl/build.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/fnctl/bump.go b/fnctl/bump.go index da05dfc32..4ea292b89 100644 --- a/fnctl/bump.go +++ b/fnctl/bump.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/fnctl/common.go b/fnctl/common.go index c24efaa35..03f260231 100644 --- a/fnctl/common.go +++ b/fnctl/common.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/fnctl/entrypoint.sh b/fnctl/entrypoint.sh index f03b28ae2..124ca62c7 100644 --- a/fnctl/entrypoint.sh +++ b/fnctl/entrypoint.sh @@ -1,20 +1,5 @@ #!/bin/sh -# Copyright 2016 Iron.io -# -# 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. - - HOST=$(/sbin/ip route|awk '/default/ { print $3 }') echo "$HOST default localhost localhost.local" > /etc/hosts diff --git a/fnctl/install b/fnctl/install index ea9f2eb20..c826471b5 100644 --- a/fnctl/install +++ b/fnctl/install @@ -1,19 +1,4 @@ #!/bin/sh - -# Copyright 2016 Iron.io -# -# 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. - set -e # # This script is meant for quick & easy install via: diff --git a/fnctl/lambda.go b/fnctl/lambda.go index f8f51ebe4..769d1a7df 100644 --- a/fnctl/lambda.go +++ b/fnctl/lambda.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/fnctl/main.go b/fnctl/main.go index 78ae38c90..69e9f6c1a 100644 --- a/fnctl/main.go +++ b/fnctl/main.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/fnctl/publish.go b/fnctl/publish.go index 765cd145a..472fec987 100644 --- a/fnctl/publish.go +++ b/fnctl/publish.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/fnctl/routes.go b/fnctl/routes.go index 04206b0a8..df4a249e3 100644 --- a/fnctl/routes.go +++ b/fnctl/routes.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/fnctl/run.go b/fnctl/run.go index 3383039d0..0cf6c6e5d 100644 --- a/fnctl/run.go +++ b/fnctl/run.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/main.go b/main.go index 279cfcdee..5864072e6 100644 --- a/main.go +++ b/main.go @@ -1,17 +1,3 @@ -// Copyright 2016 Iron.io -// -// 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 main import ( diff --git a/release.sh b/release.sh index e21c6075e..075ce68a3 100755 --- a/release.sh +++ b/release.sh @@ -1,19 +1,4 @@ #!/bin/bash - -# Copyright 2016 Iron.io -# -# 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. - set -ex user="iron" diff --git a/tests/Dockerfile b/tests/Dockerfile index bef923cf5..594f5e9d7 100644 --- a/tests/Dockerfile +++ b/tests/Dockerfile @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - FROM iron/ruby:dev WORKDIR /app diff --git a/tests/build.sh b/tests/build.sh index 722767b35..dc8c021fe 100755 --- a/tests/build.sh +++ b/tests/build.sh @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - set -ex docker build -t iron/worker-test . diff --git a/tests/run.sh b/tests/run.sh index 496063c53..a9db9c69a 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - set -ex ./build.sh diff --git a/tests/test.rb b/tests/test.rb index 3d864c8d3..df4940b9f 100644 --- a/tests/test.rb +++ b/tests/test.rb @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - require 'test/unit' require 'worker_ruby' require 'net/http' diff --git a/tests/utils.rb b/tests/utils.rb index e2e201b3f..d93d1c299 100644 --- a/tests/utils.rb +++ b/tests/utils.rb @@ -1,17 +1,3 @@ -# Copyright 2016 Iron.io -# -# 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. - require 'open3' class ExecError < StandardError