From 723e4787b3dc072f1ff0abf7727aa0f2e566e5c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Hurtado?= Date: Wed, 23 Oct 2019 13:34:50 +0200 Subject: [PATCH] Added legal header to all Go source files --- internal/client/get.go | 15 +++++++++++++++ internal/client/get_test.go | 15 +++++++++++++++ internal/client/route_add.go | 15 +++++++++++++++ internal/client/route_add_test.go | 15 +++++++++++++++ internal/client/route_list.go | 15 +++++++++++++++ internal/client/route_list_test.go | 15 +++++++++++++++ internal/client/route_remove.go | 15 +++++++++++++++ internal/client/route_remove_test.go | 15 +++++++++++++++ internal/client/set.go | 15 +++++++++++++++ internal/client/set_test.go | 15 +++++++++++++++ internal/cmd/get.go | 15 +++++++++++++++ internal/cmd/route.go | 15 +++++++++++++++ internal/cmd/server.go | 15 +++++++++++++++ internal/cmd/set.go | 15 +++++++++++++++ internal/cmd/validations.go | 15 +++++++++++++++ internal/http/reason.go | 15 +++++++++++++++ internal/http/reason_test.go | 15 +++++++++++++++ internal/http/request.go | 15 +++++++++++++++ internal/http/request_test.go | 15 +++++++++++++++ internal/server/control/control.go | 15 +++++++++++++++ internal/server/control/control_test.go | 15 +++++++++++++++ internal/server/data/decorator.go | 15 +++++++++++++++ internal/server/data/decorator_test.go | 15 +++++++++++++++ internal/server/data/resource.go | 15 +++++++++++++++ internal/server/data/resource_test.go | 15 +++++++++++++++ internal/server/data/server.go | 15 +++++++++++++++ internal/server/data/server_test.go | 15 +++++++++++++++ internal/server/data/state.go | 15 +++++++++++++++ internal/server/data/state_test.go | 15 +++++++++++++++ internal/server/model/handler.go | 15 +++++++++++++++ internal/server/model/route.go | 15 +++++++++++++++ internal/server/server.go | 15 +++++++++++++++ internal/server/user/mux/gorillize.go | 15 +++++++++++++++ internal/server/user/mux/gorillize_test.go | 15 +++++++++++++++ internal/server/user/mux/handlerbuilder.go | 15 +++++++++++++++ internal/server/user/mux/handlerbuilder_test.go | 15 +++++++++++++++ internal/server/user/mux/mux.go | 15 +++++++++++++++ internal/server/user/mux/mux_test.go | 15 +++++++++++++++ internal/server/user/server.go | 15 +++++++++++++++ internal/server/user/server_test.go | 1 - internal/server/user/spawn/spawn.go | 15 +++++++++++++++ internal/server/user/spawn/spawn_test.go | 15 +++++++++++++++ internal/server/user/state.go | 15 +++++++++++++++ internal/server/user/state_test.go | 15 +++++++++++++++ main.go | 15 +++++++++++++++ 45 files changed, 660 insertions(+), 1 deletion(-) delete mode 100644 internal/server/user/server_test.go diff --git a/internal/client/get.go b/internal/client/get.go index 12f08ae..d392fe0 100644 --- a/internal/client/get.go +++ b/internal/client/get.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 client import ( diff --git a/internal/client/get_test.go b/internal/client/get_test.go index 0772a24..60c4b6d 100644 --- a/internal/client/get_test.go +++ b/internal/client/get_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 client import ( diff --git a/internal/client/route_add.go b/internal/client/route_add.go index e1cc767..e008203 100644 --- a/internal/client/route_add.go +++ b/internal/client/route_add.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 client import ( diff --git a/internal/client/route_add_test.go b/internal/client/route_add_test.go index 4940388..45a1b89 100644 --- a/internal/client/route_add_test.go +++ b/internal/client/route_add_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 client import ( diff --git a/internal/client/route_list.go b/internal/client/route_list.go index 4bcc3a3..b2c2053 100644 --- a/internal/client/route_list.go +++ b/internal/client/route_list.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 client import ( diff --git a/internal/client/route_list_test.go b/internal/client/route_list_test.go index d03e7a1..bb6a80f 100644 --- a/internal/client/route_list_test.go +++ b/internal/client/route_list_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 client import ( diff --git a/internal/client/route_remove.go b/internal/client/route_remove.go index 3749516..d26f599 100644 --- a/internal/client/route_remove.go +++ b/internal/client/route_remove.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 client import ( diff --git a/internal/client/route_remove_test.go b/internal/client/route_remove_test.go index 5ba5b1d..ac42b15 100644 --- a/internal/client/route_remove_test.go +++ b/internal/client/route_remove_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 client import ( diff --git a/internal/client/set.go b/internal/client/set.go index 7769428..0df76d1 100644 --- a/internal/client/set.go +++ b/internal/client/set.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 client import ( diff --git a/internal/client/set_test.go b/internal/client/set_test.go index 8e4fb50..f18d76c 100644 --- a/internal/client/set_test.go +++ b/internal/client/set_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 client_test import ( diff --git a/internal/cmd/get.go b/internal/cmd/get.go index 4efda82..1fdbe56 100644 --- a/internal/cmd/get.go +++ b/internal/cmd/get.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 cmd import ( diff --git a/internal/cmd/route.go b/internal/cmd/route.go index 0a600a2..be5ee4d 100644 --- a/internal/cmd/route.go +++ b/internal/cmd/route.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 cmd import ( diff --git a/internal/cmd/server.go b/internal/cmd/server.go index f3e54c7..b7a02da 100644 --- a/internal/cmd/server.go +++ b/internal/cmd/server.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 cmd import ( diff --git a/internal/cmd/set.go b/internal/cmd/set.go index b2a0ed6..37252c9 100644 --- a/internal/cmd/set.go +++ b/internal/cmd/set.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 cmd import ( diff --git a/internal/cmd/validations.go b/internal/cmd/validations.go index d714912..2e99b98 100644 --- a/internal/cmd/validations.go +++ b/internal/cmd/validations.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 cmd import ( diff --git a/internal/http/reason.go b/internal/http/reason.go index 358075d..464f3dc 100644 --- a/internal/http/reason.go +++ b/internal/http/reason.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 http import ( diff --git a/internal/http/reason_test.go b/internal/http/reason_test.go index 90c1ef0..d71ff82 100644 --- a/internal/http/reason_test.go +++ b/internal/http/reason_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 http import ( diff --git a/internal/http/request.go b/internal/http/request.go index 7c6fa00..970a8aa 100644 --- a/internal/http/request.go +++ b/internal/http/request.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 http import ( diff --git a/internal/http/request_test.go b/internal/http/request_test.go index 7a17411..b0785dc 100644 --- a/internal/http/request_test.go +++ b/internal/http/request_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 http import ( diff --git a/internal/server/control/control.go b/internal/server/control/control.go index e6a6d72..f2753cc 100644 --- a/internal/server/control/control.go +++ b/internal/server/control/control.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 control import ( diff --git a/internal/server/control/control_test.go b/internal/server/control/control_test.go index e7efa6c..1fca6e4 100644 --- a/internal/server/control/control_test.go +++ b/internal/server/control/control_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 control import ( diff --git a/internal/server/data/decorator.go b/internal/server/data/decorator.go index 5532934..62695e7 100644 --- a/internal/server/data/decorator.go +++ b/internal/server/data/decorator.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 data import ( diff --git a/internal/server/data/decorator_test.go b/internal/server/data/decorator_test.go index 9d0ad49..b66fd8a 100644 --- a/internal/server/data/decorator_test.go +++ b/internal/server/data/decorator_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 data import ( diff --git a/internal/server/data/resource.go b/internal/server/data/resource.go index 37c81b2..e1293e0 100644 --- a/internal/server/data/resource.go +++ b/internal/server/data/resource.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 data import ( diff --git a/internal/server/data/resource_test.go b/internal/server/data/resource_test.go index 7546dbd..1d5e387 100644 --- a/internal/server/data/resource_test.go +++ b/internal/server/data/resource_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 data import ( diff --git a/internal/server/data/server.go b/internal/server/data/server.go index 04f62a1..6139428 100644 --- a/internal/server/data/server.go +++ b/internal/server/data/server.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 data import ( diff --git a/internal/server/data/server_test.go b/internal/server/data/server_test.go index 6ff423b..eaeb932 100644 --- a/internal/server/data/server_test.go +++ b/internal/server/data/server_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 data import ( diff --git a/internal/server/data/state.go b/internal/server/data/state.go index 862d50a..e95a294 100644 --- a/internal/server/data/state.go +++ b/internal/server/data/state.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 data import ( diff --git a/internal/server/data/state_test.go b/internal/server/data/state_test.go index 13c5a6a..7ca5e15 100644 --- a/internal/server/data/state_test.go +++ b/internal/server/data/state_test.go @@ -1,5 +1,20 @@ // +build !race +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 data import ( diff --git a/internal/server/model/handler.go b/internal/server/model/handler.go index 2410ce6..b96ac44 100644 --- a/internal/server/model/handler.go +++ b/internal/server/model/handler.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 model import ( diff --git a/internal/server/model/route.go b/internal/server/model/route.go index 78cf6b8..900fd59 100644 --- a/internal/server/model/route.go +++ b/internal/server/model/route.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 model // Route contains the data needed to represent a Kapow! user route. diff --git a/internal/server/server.go b/internal/server/server.go index 25bff7a..7c8da7e 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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/internal/server/user/mux/gorillize.go b/internal/server/user/mux/gorillize.go index 7f697ca..a089f07 100644 --- a/internal/server/user/mux/gorillize.go +++ b/internal/server/user/mux/gorillize.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 mux import ( diff --git a/internal/server/user/mux/gorillize_test.go b/internal/server/user/mux/gorillize_test.go index 516e324..69ba2f4 100644 --- a/internal/server/user/mux/gorillize_test.go +++ b/internal/server/user/mux/gorillize_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 mux import ( diff --git a/internal/server/user/mux/handlerbuilder.go b/internal/server/user/mux/handlerbuilder.go index f2792a1..64fe7d7 100644 --- a/internal/server/user/mux/handlerbuilder.go +++ b/internal/server/user/mux/handlerbuilder.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 mux import ( diff --git a/internal/server/user/mux/handlerbuilder_test.go b/internal/server/user/mux/handlerbuilder_test.go index e44e849..3e2d7f3 100644 --- a/internal/server/user/mux/handlerbuilder_test.go +++ b/internal/server/user/mux/handlerbuilder_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 mux import ( diff --git a/internal/server/user/mux/mux.go b/internal/server/user/mux/mux.go index 8d48f56..9946f5f 100644 --- a/internal/server/user/mux/mux.go +++ b/internal/server/user/mux/mux.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 mux import ( diff --git a/internal/server/user/mux/mux_test.go b/internal/server/user/mux/mux_test.go index 48938ed..5cbc04f 100644 --- a/internal/server/user/mux/mux_test.go +++ b/internal/server/user/mux/mux_test.go @@ -1,5 +1,20 @@ // +build !race +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 mux import ( diff --git a/internal/server/user/server.go b/internal/server/user/server.go index eb4b7d0..bf3800a 100644 --- a/internal/server/user/server.go +++ b/internal/server/user/server.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 user import ( diff --git a/internal/server/user/server_test.go b/internal/server/user/server_test.go deleted file mode 100644 index a00006b..0000000 --- a/internal/server/user/server_test.go +++ /dev/null @@ -1 +0,0 @@ -package user diff --git a/internal/server/user/spawn/spawn.go b/internal/server/user/spawn/spawn.go index dc73fb0..fb13231 100644 --- a/internal/server/user/spawn/spawn.go +++ b/internal/server/user/spawn/spawn.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 spawn import ( diff --git a/internal/server/user/spawn/spawn_test.go b/internal/server/user/spawn/spawn_test.go index 2bc35ae..f5ebae3 100644 --- a/internal/server/user/spawn/spawn_test.go +++ b/internal/server/user/spawn/spawn_test.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 spawn import ( diff --git a/internal/server/user/state.go b/internal/server/user/state.go index 3e24884..0ff6a93 100644 --- a/internal/server/user/state.go +++ b/internal/server/user/state.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 user import ( diff --git a/internal/server/user/state_test.go b/internal/server/user/state_test.go index 73f1d31..a122e33 100644 --- a/internal/server/user/state_test.go +++ b/internal/server/user/state_test.go @@ -1,5 +1,20 @@ // +build !race +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 user import ( diff --git a/main.go b/main.go index 3506d3e..9a7a88e 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,18 @@ +/* + * Copyright 2019 Banco Bilbao Vizcaya Argentaria, S.A. + * + * 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 (