Skip to content

Commit

Permalink
Updated header information
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Choroba committed Jul 1, 2015
1 parent 27712c8 commit 2d8fa14
Show file tree
Hide file tree
Showing 12 changed files with 186 additions and 0 deletions.
11 changes: 11 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -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.
16 changes: 16 additions & 0 deletions lib/logstash/outputs/helper/url_helper.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 16 additions & 0 deletions lib/logstash/outputs/keystone/keystone_client.rb
Original file line number Diff line number Diff line change
@@ -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'

Expand Down
16 changes: 16 additions & 0 deletions lib/logstash/outputs/keystone/token.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 16 additions & 0 deletions lib/logstash/outputs/monasca/monasca_api_client.rb
Original file line number Diff line number Diff line change
@@ -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'

Expand Down
15 changes: 15 additions & 0 deletions lib/logstash/outputs/monasca_api.rb
Original file line number Diff line number Diff line change
@@ -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'

Expand Down
16 changes: 16 additions & 0 deletions spec/outputs/helper/url_helper_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 16 additions & 0 deletions spec/outputs/keystone/keystone_client_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 16 additions & 0 deletions spec/outputs/keystone/token_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 16 additions & 0 deletions spec/outputs/monasca/monasca_api_client_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 16 additions & 0 deletions spec/outputs/monasca_api_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 16 additions & 0 deletions spec/outputs/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -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/'
Expand Down

0 comments on commit 2d8fa14

Please sign in to comment.