emass_client 3.4.0 → 3.4.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 +4 -4
- data/lib/emass_client/api/artifacts_api.rb +1 -1
- data/lib/emass_client/api/artifacts_export_api.rb +1 -1
- data/lib/emass_client/api/cac_api.rb +1 -1
- data/lib/emass_client/api/cloud_resources_api.rb +1 -1
- data/lib/emass_client/api/cmmc_assessments_api.rb +1 -1
- data/lib/emass_client/api/containers_api.rb +1 -1
- data/lib/emass_client/api/controls_api.rb +1 -1
- data/lib/emass_client/api/dashboards_api.rb +1 -1
- data/lib/emass_client/api/milestones_api.rb +1 -1
- data/lib/emass_client/api/pac_api.rb +1 -1
- data/lib/emass_client/api/poam_api.rb +1 -1
- data/lib/emass_client/api/registration_api.rb +7 -18
- data/lib/emass_client/api/static_code_scans_api.rb +1 -1
- data/lib/emass_client/api/system_roles_api.rb +1 -1
- data/lib/emass_client/api/systems_api.rb +1 -1
- data/lib/emass_client/api/test_api.rb +1 -1
- data/lib/emass_client/api/test_results_api.rb +1 -1
- data/lib/emass_client/api/workflow_definitions_api.rb +1 -1
- data/lib/emass_client/api/workflow_instances_api.rb +1 -1
- data/lib/emass_client/api_client.rb +1 -1
- data/lib/emass_client/api_error.rb +1 -1
- data/lib/emass_client/configuration.rb +1 -1
- data/lib/emass_client/models/artifacts_get.rb +1 -1
- data/lib/emass_client/models/artifacts_request_delete_body_inner.rb +1 -1
- data/lib/emass_client/models/artifacts_response_del.rb +1 -1
- data/lib/emass_client/models/artifacts_response_del_data_inner.rb +1 -1
- data/lib/emass_client/models/artifacts_response_get.rb +1 -1
- data/lib/emass_client/models/artifacts_response_put_post.rb +1 -1
- data/lib/emass_client/models/artifacts_response_put_post_data_inner.rb +1 -1
- data/lib/emass_client/models/cac_get.rb +1 -1
- data/lib/emass_client/models/cac_response_get.rb +1 -1
- data/lib/emass_client/models/cac_response_post.rb +1 -1
- data/lib/emass_client/models/cac_response_post_data_inner.rb +1 -1
- data/lib/emass_client/models/cloud_resources_post.rb +1 -1
- data/lib/emass_client/models/cloud_resources_response_post.rb +1 -1
- data/lib/emass_client/models/cmmc_get.rb +1 -1
- data/lib/emass_client/models/cmmc_response_get.rb +1 -1
- data/lib/emass_client/models/connectivity_ccsd.rb +1 -1
- data/lib/emass_client/models/containers_resources_post.rb +1 -1
- data/lib/emass_client/models/containers_response_post.rb +1 -1
- data/lib/emass_client/models/controls_get.rb +1 -1
- data/lib/emass_client/models/controls_put.rb +1 -1
- data/lib/emass_client/models/controls_response_get.rb +1 -1
- data/lib/emass_client/models/controls_response_put.rb +1 -1
- data/lib/emass_client/models/definition_transitions.rb +1 -1
- data/lib/emass_client/models/instances_transitions.rb +1 -1
- data/lib/emass_client/models/milestone_response_get.rb +1 -1
- data/lib/emass_client/models/milestone_response_get_milestone.rb +1 -1
- data/lib/emass_client/models/milestone_response_post.rb +1 -1
- data/lib/emass_client/models/milestone_response_put.rb +1 -1
- data/lib/emass_client/models/milestones_get.rb +1 -1
- data/lib/emass_client/models/milestones_put_post_delete.rb +1 -1
- data/lib/emass_client/models/milestones_request_delete_body_inner.rb +1 -1
- data/lib/emass_client/models/milestones_required_post.rb +1 -1
- data/lib/emass_client/models/milestones_required_put.rb +1 -1
- data/lib/emass_client/models/pac_get.rb +1 -1
- data/lib/emass_client/models/pac_post.rb +1 -1
- data/lib/emass_client/models/pac_response_get.rb +1 -1
- data/lib/emass_client/models/pac_response_post.rb +1 -1
- data/lib/emass_client/models/poam_get.rb +1 -1
- data/lib/emass_client/models/poam_post_put_del.rb +1 -1
- data/lib/emass_client/models/poam_request_delete_body_inner.rb +1 -1
- data/lib/emass_client/models/poam_response_delete.rb +1 -1
- data/lib/emass_client/models/poam_response_get_poams.rb +1 -1
- data/lib/emass_client/models/poam_response_get_systems.rb +1 -1
- data/lib/emass_client/models/poam_response_post.rb +1 -1
- data/lib/emass_client/models/poam_response_put.rb +1 -1
- data/lib/emass_client/models/register.rb +1 -1
- data/lib/emass_client/models/register_data.rb +1 -1
- data/lib/emass_client/models/register_user_request_post_body.rb +1 -1
- data/lib/emass_client/models/response200.rb +1 -1
- data/lib/emass_client/models/response201.rb +1 -1
- data/lib/emass_client/models/response201_meta.rb +1 -1
- data/lib/emass_client/models/response400.rb +1 -1
- data/lib/emass_client/models/response400_meta.rb +1 -1
- data/lib/emass_client/models/response401.rb +1 -1
- data/lib/emass_client/models/response401_meta.rb +1 -1
- data/lib/emass_client/models/response403.rb +1 -1
- data/lib/emass_client/models/response403_meta.rb +1 -1
- data/lib/emass_client/models/response404.rb +1 -1
- data/lib/emass_client/models/response405.rb +1 -1
- data/lib/emass_client/models/response405_meta.rb +1 -1
- data/lib/emass_client/models/response411.rb +1 -1
- data/lib/emass_client/models/response411_meta.rb +1 -1
- data/lib/emass_client/models/response490.rb +1 -1
- data/lib/emass_client/models/response490_meta.rb +1 -1
- data/lib/emass_client/models/response500.rb +1 -1
- data/lib/emass_client/models/response500_meta.rb +1 -1
- data/lib/emass_client/models/role_category.rb +1 -1
- data/lib/emass_client/models/roles.rb +1 -1
- data/lib/emass_client/models/ssps.rb +1 -1
- data/lib/emass_client/models/stage.rb +1 -1
- data/lib/emass_client/models/static_code_application.rb +1 -1
- data/lib/emass_client/models/static_code_post.rb +1 -1
- data/lib/emass_client/models/static_code_request_post_body.rb +1 -1
- data/lib/emass_client/models/static_code_request_post_body_application.rb +1 -1
- data/lib/emass_client/models/static_code_response_post.rb +1 -1
- data/lib/emass_client/models/success200_response.rb +1 -1
- data/lib/emass_client/models/success200_response_data_inner.rb +1 -1
- data/lib/emass_client/models/system_response.rb +1 -1
- data/lib/emass_client/models/system_roles_category_response.rb +1 -1
- data/lib/emass_client/models/system_roles_response.rb +1 -1
- data/lib/emass_client/models/system_roles_response_data_inner.rb +1 -1
- data/lib/emass_client/models/systems.rb +1 -1
- data/lib/emass_client/models/systems_response.rb +1 -1
- data/lib/emass_client/models/test.rb +1 -1
- data/lib/emass_client/models/test_data.rb +1 -1
- data/lib/emass_client/models/test_results_get.rb +1 -1
- data/lib/emass_client/models/test_results_post.rb +1 -1
- data/lib/emass_client/models/test_results_response_get.rb +1 -1
- data/lib/emass_client/models/test_results_response_post.rb +1 -1
- data/lib/emass_client/models/users.rb +1 -1
- data/lib/emass_client/models/workflow_definition_get.rb +1 -1
- data/lib/emass_client/models/workflow_definition_response_get.rb +1 -1
- data/lib/emass_client/models/workflow_instance_get.rb +1 -1
- data/lib/emass_client/models/workflow_instance_response_get.rb +1 -1
- data/lib/emass_client/models/workflow_instances_get.rb +1 -1
- data/lib/emass_client/models/workflow_instances_response_get.rb +1 -1
- data/lib/emass_client/models/workflow_instances_response_get_pagination.rb +1 -1
- data/lib/emass_client/version.rb +2 -2
- data/lib/emass_client.rb +1 -1
- metadata +5 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3010738bad80489cd31264679dfeea01423c39eee009ebf586ef8271f0ee4135
|
4
|
+
data.tar.gz: 9feba18a5e1cd0ddd2879d56820030c1323febe99915ba87fbd8c8138e933bf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1ed33fd7db51566c2076ca9c938d9b9aa2ded93447ca182f5fa8ca30389e51d35c74e838ecf6cd31740bcdd89049d936aa9eefdcef8b62877066dd893413379
|
7
|
+
data.tar.gz: 6a76fe5425497020cc1261aabb140cc71fe2f1e68e9ad72c55c9af85527716316cfcd38a4ceeb493905d8be6cce2b71e223a6c02c89830f1ad13c271acfbf9df
|
data/README.md
CHANGED
@@ -54,7 +54,7 @@ To establish an account with eMASS and/or acquire an api-key/user-uid, contact o
|
|
54
54
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
55
55
|
|
56
56
|
- API version: v3.4
|
57
|
-
- Package version: 3.4.
|
57
|
+
- Package version: 3.4.1
|
58
58
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
59
59
|
For more information, please visit [https://www.dcsa.mil/is/emass/](https://www.dcsa.mil/is/emass/)
|
60
60
|
|
@@ -71,16 +71,16 @@ gem build emass_client.gemspec
|
|
71
71
|
Then either install the gem locally:
|
72
72
|
|
73
73
|
```shell
|
74
|
-
gem install ./emass_client-3.4.
|
74
|
+
gem install ./emass_client-3.4.1.gem
|
75
75
|
```
|
76
76
|
|
77
|
-
(for development, run `gem install --dev ./emass_client-3.4.
|
77
|
+
(for development, run `gem install --dev ./emass_client-3.4.1.gem` to install the development dependencies)
|
78
78
|
|
79
79
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
80
80
|
|
81
81
|
Finally add this to the Gemfile:
|
82
82
|
|
83
|
-
gem 'emass_client', '~> 3.4.
|
83
|
+
gem 'emass_client', '~> 3.4.1'
|
84
84
|
|
85
85
|
### Install from Git
|
86
86
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3.4
|
7
7
|
Contact: disa.meade.id.mbx.emass-tier-iii-support@mail.mil
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 6.
|
9
|
+
OpenAPI Generator version: 6.2.1-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -20,28 +20,22 @@ module EmassClient
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Register user certificate and obtain an API key
|
23
|
-
# Returns the api-key
|
24
|
-
# @param register_user_request_post_body [RegisterUserRequestPostBody] Register certificate provided by eMASS.
|
23
|
+
# Returns the API Key (api-key) that must be provided in the request header for all endpoint calls.
|
25
24
|
# @param [Hash] opts the optional parameters
|
26
25
|
# @return [Register]
|
27
|
-
def register_user(
|
28
|
-
data, _status_code, _headers = register_user_with_http_info(
|
26
|
+
def register_user(opts = {})
|
27
|
+
data, _status_code, _headers = register_user_with_http_info(opts)
|
29
28
|
data
|
30
29
|
end
|
31
30
|
|
32
31
|
# Register user certificate and obtain an API key
|
33
|
-
# Returns the api-key
|
34
|
-
# @param register_user_request_post_body [RegisterUserRequestPostBody] Register certificate provided by eMASS.
|
32
|
+
# Returns the API Key (api-key) that must be provided in the request header for all endpoint calls.
|
35
33
|
# @param [Hash] opts the optional parameters
|
36
34
|
# @return [Array<(Register, Integer, Hash)>] Register data, response status code and response headers
|
37
|
-
def register_user_with_http_info(
|
35
|
+
def register_user_with_http_info(opts = {})
|
38
36
|
if @api_client.config.debugging
|
39
37
|
@api_client.config.logger.debug 'Calling API: RegistrationApi.register_user ...'
|
40
38
|
end
|
41
|
-
# verify the required parameter 'register_user_request_post_body' is set
|
42
|
-
if @api_client.config.client_side_validation && register_user_request_post_body.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'register_user_request_post_body' when calling RegistrationApi.register_user"
|
44
|
-
end
|
45
39
|
# resource path
|
46
40
|
local_var_path = '/api/api-key'
|
47
41
|
|
@@ -52,17 +46,12 @@ module EmassClient
|
|
52
46
|
header_params = opts[:header_params] || {}
|
53
47
|
# HTTP header 'Accept' (if needed)
|
54
48
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
55
|
-
# HTTP header 'Content-Type'
|
56
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
57
|
-
if !content_type.nil?
|
58
|
-
header_params['Content-Type'] = content_type
|
59
|
-
end
|
60
49
|
|
61
50
|
# form parameters
|
62
51
|
form_params = opts[:form_params] || {}
|
63
52
|
|
64
53
|
# http body (model)
|
65
|
-
post_body = opts[:debug_body]
|
54
|
+
post_body = opts[:debug_body]
|
66
55
|
|
67
56
|
# return_type
|
68
57
|
return_type = opts[:debug_return_type] || 'Register'
|