apache_felix_webconsole_client 0.0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -10
- data/docs/BundleApi.md +285 -0
- data/docs/BundleState.md +9 -0
- data/lib/apache_felix_webconsole_client.rb +2 -1
- data/lib/apache_felix_webconsole_client/api/bundle_api.rb +347 -0
- data/lib/apache_felix_webconsole_client/api_client.rb +7 -16
- data/lib/apache_felix_webconsole_client/api_error.rb +5 -7
- data/lib/apache_felix_webconsole_client/models/bundle.rb +4 -4
- data/lib/apache_felix_webconsole_client/models/bundle_list.rb +4 -4
- data/lib/apache_felix_webconsole_client/models/bundle_props.rb +3 -3
- data/lib/apache_felix_webconsole_client/models/bundle_state.rb +208 -0
- data/lib/apache_felix_webconsole_client/version.rb +1 -1
- data/spec/api/bundle_api_spec.rb +110 -0
- data/spec/api_client_spec.rb +14 -2
- data/spec/configuration_spec.rb +14 -2
- data/spec/models/bundle_list_spec.rb +14 -2
- data/spec/models/bundle_props_spec.rb +14 -2
- data/spec/models/bundle_spec.rb +14 -2
- data/spec/models/bundle_state_spec.rb +59 -0
- data/spec/spec_helper.rb +14 -2
- metadata +10 -6
- data/docs/DefaultApi.md +0 -110
- data/lib/apache_felix_webconsole_client/api/default_api.rb +0 -132
- data/spec/api/default_api_spec.rb +0 -57
@@ -1,57 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Apache Felix WebConsole
|
3
|
-
|
4
|
-
#Client for Apache Felix Web Console API. List bundles, configure services, etc.
|
5
|
-
|
6
|
-
OpenAPI spec version: 4.3.0
|
7
|
-
Contact: bryan.stopp@gmail.com
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
=end
|
11
|
-
|
12
|
-
require 'spec_helper'
|
13
|
-
require 'json'
|
14
|
-
|
15
|
-
# Unit tests for ApacheFelix::DefaultApi
|
16
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
17
|
-
# Please update as you see appropriate
|
18
|
-
describe 'DefaultApi' do
|
19
|
-
before do
|
20
|
-
# run before each test
|
21
|
-
@instance = ApacheFelix::DefaultApi.new
|
22
|
-
end
|
23
|
-
|
24
|
-
after do
|
25
|
-
# run after each test
|
26
|
-
end
|
27
|
-
|
28
|
-
describe 'test an instance of DefaultApi' do
|
29
|
-
it 'should create an instact of DefaultApi' do
|
30
|
-
expect(@instance).to be_instance_of(ApacheFelix::DefaultApi)
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
# unit tests for bundle_info
|
35
|
-
# Bundle Info
|
36
|
-
# Display all information about a bundle. Same response structure as bundle listing; only one entry exists in the list.
|
37
|
-
# @param bundle_id The symbolic name or id of the bundle.
|
38
|
-
# @param [Hash] opts the optional parameters
|
39
|
-
# @return [BundleList]
|
40
|
-
describe 'bundle_info test' do
|
41
|
-
it "should work" do
|
42
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
# unit tests for bundles
|
47
|
-
# List bundles
|
48
|
-
# List all the bundles in the Felix system. Properties for a bundle will not be populated.
|
49
|
-
# @param [Hash] opts the optional parameters
|
50
|
-
# @return [BundleList]
|
51
|
-
describe 'bundles test' do
|
52
|
-
it "should work" do
|
53
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
54
|
-
end
|
55
|
-
end
|
56
|
-
|
57
|
-
end
|