From 2d8fa14c64687b5c93c80ac694505decc6e61d1c Mon Sep 17 00:00:00 2001 From: Kamil Choroba Date: Wed, 1 Jul 2015 10:04:12 +0200 Subject: [PATCH] Updated header information --- LICENSE | 11 +++++++++++ lib/logstash/outputs/helper/url_helper.rb | 16 ++++++++++++++++ lib/logstash/outputs/keystone/keystone_client.rb | 16 ++++++++++++++++ lib/logstash/outputs/keystone/token.rb | 16 ++++++++++++++++ .../outputs/monasca/monasca_api_client.rb | 16 ++++++++++++++++ lib/logstash/outputs/monasca_api.rb | 15 +++++++++++++++ spec/outputs/helper/url_helper_spec.rb | 16 ++++++++++++++++ spec/outputs/keystone/keystone_client_spec.rb | 16 ++++++++++++++++ spec/outputs/keystone/token_spec.rb | 16 ++++++++++++++++ spec/outputs/monasca/monasca_api_client_spec.rb | 16 ++++++++++++++++ spec/outputs/monasca_api_spec.rb | 16 ++++++++++++++++ spec/outputs/spec_helper.rb | 16 ++++++++++++++++ 12 files changed, 186 insertions(+) diff --git a/LICENSE b/LICENSE index e69de29..342a5ed 100644 --- a/LICENSE +++ b/LICENSE @@ -0,0 +1,11 @@ +Copyright 2015 FUJITSU LIMITED + +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. \ No newline at end of file diff --git a/lib/logstash/outputs/helper/url_helper.rb b/lib/logstash/outputs/helper/url_helper.rb index 59abc2b..94e78d7 100644 --- a/lib/logstash/outputs/helper/url_helper.rb +++ b/lib/logstash/outputs/helper/url_helper.rb @@ -1,3 +1,19 @@ +=begin +Copyright 2015 FUJITSU LIMITED + +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. +=end + +# encoding: utf-8 + require 'uri' module LogStash::Outputs diff --git a/lib/logstash/outputs/keystone/keystone_client.rb b/lib/logstash/outputs/keystone/keystone_client.rb index 54c25ea..919681e 100644 --- a/lib/logstash/outputs/keystone/keystone_client.rb +++ b/lib/logstash/outputs/keystone/keystone_client.rb @@ -1,3 +1,19 @@ +=begin +Copyright 2015 FUJITSU LIMITED + +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. +=end + +# encoding: utf-8 + require 'logstash/environment' require 'logger' diff --git a/lib/logstash/outputs/keystone/token.rb b/lib/logstash/outputs/keystone/token.rb index d0bb330..5c4e943 100644 --- a/lib/logstash/outputs/keystone/token.rb +++ b/lib/logstash/outputs/keystone/token.rb @@ -1,3 +1,19 @@ +=begin +Copyright 2015 FUJITSU LIMITED + +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. +=end + +# encoding: utf-8 + module LogStash::Outputs module Keystone class Token diff --git a/lib/logstash/outputs/monasca/monasca_api_client.rb b/lib/logstash/outputs/monasca/monasca_api_client.rb index 26c6dd9..d40e9d8 100644 --- a/lib/logstash/outputs/monasca/monasca_api_client.rb +++ b/lib/logstash/outputs/monasca/monasca_api_client.rb @@ -1,3 +1,19 @@ +=begin +Copyright 2015 FUJITSU LIMITED + +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. +=end + +# encoding: utf-8 + require 'rest-client' require 'logger' diff --git a/lib/logstash/outputs/monasca_api.rb b/lib/logstash/outputs/monasca_api.rb index e828e02..590af4b 100644 --- a/lib/logstash/outputs/monasca_api.rb +++ b/lib/logstash/outputs/monasca_api.rb @@ -1,4 +1,19 @@ +=begin +Copyright 2015 FUJITSU LIMITED + +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. +=end + # encoding: utf-8 + require 'logstash/outputs/base' require 'logstash/namespace' diff --git a/spec/outputs/helper/url_helper_spec.rb b/spec/outputs/helper/url_helper_spec.rb index b3393df..498301e 100644 --- a/spec/outputs/helper/url_helper_spec.rb +++ b/spec/outputs/helper/url_helper_spec.rb @@ -1,3 +1,19 @@ +=begin +Copyright 2015 FUJITSU LIMITED + +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. +=end + +# encoding: utf-8 + require_relative '../spec_helper' describe LogStash::Outputs::Helper::UrlHelper do diff --git a/spec/outputs/keystone/keystone_client_spec.rb b/spec/outputs/keystone/keystone_client_spec.rb index 6bdb49f..8cf251a 100644 --- a/spec/outputs/keystone/keystone_client_spec.rb +++ b/spec/outputs/keystone/keystone_client_spec.rb @@ -1,3 +1,19 @@ +=begin +Copyright 2015 FUJITSU LIMITED + +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. +=end + +# encoding: utf-8 + require_relative '../spec_helper' describe LogStash::Outputs::Keystone::KeystoneClient do diff --git a/spec/outputs/keystone/token_spec.rb b/spec/outputs/keystone/token_spec.rb index 4f87f04..61bae03 100644 --- a/spec/outputs/keystone/token_spec.rb +++ b/spec/outputs/keystone/token_spec.rb @@ -1,3 +1,19 @@ +=begin +Copyright 2015 FUJITSU LIMITED + +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. +=end + +# encoding: utf-8 + require_relative '../spec_helper' describe LogStash::Outputs::Keystone::Token do diff --git a/spec/outputs/monasca/monasca_api_client_spec.rb b/spec/outputs/monasca/monasca_api_client_spec.rb index 5f3659d..752c448 100644 --- a/spec/outputs/monasca/monasca_api_client_spec.rb +++ b/spec/outputs/monasca/monasca_api_client_spec.rb @@ -1,3 +1,19 @@ +=begin +Copyright 2015 FUJITSU LIMITED + +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. +=end + +# encoding: utf-8 + require_relative '../spec_helper' describe LogStash::Outputs::Monasca::MonascaApiClient do diff --git a/spec/outputs/monasca_api_spec.rb b/spec/outputs/monasca_api_spec.rb index 923e5d8..a0fc4e2 100644 --- a/spec/outputs/monasca_api_spec.rb +++ b/spec/outputs/monasca_api_spec.rb @@ -1,3 +1,19 @@ +=begin +Copyright 2015 FUJITSU LIMITED + +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. +=end + +# encoding: utf-8 + require_relative 'spec_helper' describe "outputs/monasca_api" do diff --git a/spec/outputs/spec_helper.rb b/spec/outputs/spec_helper.rb index c5e3e08..53abc69 100644 --- a/spec/outputs/spec_helper.rb +++ b/spec/outputs/spec_helper.rb @@ -1,3 +1,19 @@ +=begin +Copyright 2015 FUJITSU LIMITED + +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. +=end + +# encoding: utf-8 + require 'simplecov' SimpleCov.start do add_filter '/test/'