Skip to content

Commit

Permalink
Continuous Integration Build Artifacts (eMASS Clients)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgedias committed Sep 21, 2022
1 parent 9fff2fa commit bbb7cfa
Show file tree
Hide file tree
Showing 256 changed files with 4,960 additions and 529 deletions.
26 changes: 26 additions & 0 deletions src/ruby_client/.gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.ruby: &ruby
variables:
LANG: "C.UTF-8"
before_script:
- ruby -v
- bundle config set --local deployment true
- bundle install -j $(nproc)
parallel:
matrix:
- RUBY_VERSION: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0']
image: "ruby:$RUBY_VERSION"
cache:
paths:
- vendor/ruby
key: 'ruby-$RUBY_VERSION'

gem:
extends: .ruby
script:
- bundle exec rspec
- bundle exec rake build
- bundle exec rake install
artifacts:
paths:
- pkg/*.gem

4 changes: 4 additions & 0 deletions src/ruby_client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.gitignore
.gitlab-ci.yml
.openapi-generator-ignore
.rspec
.rubocop.yml
Expand Down Expand Up @@ -35,6 +36,7 @@ docs/ControlsGet.md
docs/ControlsPut.md
docs/ControlsResponseGet.md
docs/ControlsResponsePut.md
docs/DashboardsApi.md
docs/DefinitionTransitions.md
docs/InstancesTransitions.md
docs/MilestoneResponseGet.md
Expand Down Expand Up @@ -131,6 +133,7 @@ lib/emass_client/api/cloud_resources_api.rb
lib/emass_client/api/cmmc_assessments_api.rb
lib/emass_client/api/containers_api.rb
lib/emass_client/api/controls_api.rb
lib/emass_client/api/dashboards_api.rb
lib/emass_client/api/milestones_api.rb
lib/emass_client/api/pac_api.rb
lib/emass_client/api/poam_api.rb
Expand Down Expand Up @@ -250,6 +253,7 @@ spec/api/cloud_resources_api_spec.rb
spec/api/cmmc_assessments_api_spec.rb
spec/api/containers_api_spec.rb
spec/api/controls_api_spec.rb
spec/api/dashboards_api_spec.rb
spec/api/milestones_api_spec.rb
spec/api/pac_api_spec.rb
spec/api/poam_api_spec.rb
Expand Down
2 changes: 1 addition & 1 deletion src/ruby_client/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.1-SNAPSHOT
6.1.1-SNAPSHOT
2 changes: 1 addition & 1 deletion src/ruby_client/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ script:
- bundle install --path vendor/bundle
- bundle exec rspec
- gem build emass_client.gemspec
- gem install ./emass_client-1.0.6.gem
- gem install ./emass_client-3.4.0.gem
26 changes: 21 additions & 5 deletions src/ruby_client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ To establish an account with eMASS and/or acquire an api-key/user-uid, contact o

This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: v3.3
- Package version: 1.0.6
- API version: v3.4
- Package version: 3.4.0
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
For more information, please visit [https://www.dcsa.mil/is/emass/](https://www.dcsa.mil/is/emass/)

Expand All @@ -71,16 +71,16 @@ gem build emass_client.gemspec
Then either install the gem locally:

```shell
gem install ./emass_client-1.0.6.gem
gem install ./emass_client-3.4.0.gem
```

(for development, run `gem install --dev ./emass_client-1.0.6.gem` to install the development dependencies)
(for development, run `gem install --dev ./emass_client-3.4.0.gem` to install the development dependencies)

or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).

Finally add this to the Gemfile:

gem 'emass_client', '~> 1.0.6'
gem 'emass_client', '~> 3.4.0'

### Install from Git

Expand Down Expand Up @@ -159,6 +159,22 @@ Class | Method | HTTP request | Description
*EmassClient::ContainersApi* | [**add_container_sans_by_system_id**](docs/ContainersApi.md#add_container_sans_by_system_id) | **POST** /api/systems/{systemId}/container-scan-results | Add one or many containers and their scan results
*EmassClient::ControlsApi* | [**get_system_controls**](docs/ControlsApi.md#get_system_controls) | **GET** /api/systems/{systemId}/controls | Get control information in a system for one or many controls
*EmassClient::ControlsApi* | [**update_control_by_system_id**](docs/ControlsApi.md#update_control_by_system_id) | **PUT** /api/systems/{systemId}/controls | Update control information in a system for one or many controls
*EmassClient::DashboardsApi* | [**get_system_assessment_procedures_details**](docs/DashboardsApi.md#get_system_assessment_procedures_details) | **GET** /api/dashboards/system-assessment-procedures-details | Get dashboard information
*EmassClient::DashboardsApi* | [**get_system_associations_details**](docs/DashboardsApi.md#get_system_associations_details) | **GET** /api/dashboards/system-associations-details | Get dashboard information
*EmassClient::DashboardsApi* | [**get_system_control_compliance_summary**](docs/DashboardsApi.md#get_system_control_compliance_summary) | **GET** /api/dashboards/system-control-compliance-summary | Get dashboard information
*EmassClient::DashboardsApi* | [**get_system_hardware_details**](docs/DashboardsApi.md#get_system_hardware_details) | **GET** /api/dashboards/system-hardware-details | Get dashboard information
*EmassClient::DashboardsApi* | [**get_system_hardware_summary**](docs/DashboardsApi.md#get_system_hardware_summary) | **GET** /api/dashboards/system-hardware-summary | Get dashboard information
*EmassClient::DashboardsApi* | [**get_system_poam_details**](docs/DashboardsApi.md#get_system_poam_details) | **GET** /api/dashboards/system-poam-details | Get dashboard information
*EmassClient::DashboardsApi* | [**get_system_poam_summary**](docs/DashboardsApi.md#get_system_poam_summary) | **GET** /api/dashboards/system-poam-summary | Get dashboard information
*EmassClient::DashboardsApi* | [**get_system_privacy_summary**](docs/DashboardsApi.md#get_system_privacy_summary) | **GET** /api/dashboards/system-privacy-summary | Get dashboard information
*EmassClient::DashboardsApi* | [**get_system_security_control_details**](docs/DashboardsApi.md#get_system_security_control_details) | **GET** /api/dashboards/system-security-controls-details | Get dashboard information
*EmassClient::DashboardsApi* | [**get_system_status_details**](docs/DashboardsApi.md#get_system_status_details) | **GET** /api/dashboards/system-status-details | Get dashboard information
*EmassClient::DashboardsApi* | [**get_user_system_assignments_details**](docs/DashboardsApi.md#get_user_system_assignments_details) | **GET** /api/dashboards/user-system-assignments-details | Get dashboard information
*EmassClient::DashboardsApi* | [**get_va_omb_fsma_saop_summary**](docs/DashboardsApi.md#get_va_omb_fsma_saop_summary) | **GET** /api/dashboards/va-omb-fisma-saop-summary | Get dashboard information
*EmassClient::DashboardsApi* | [**get_va_system_a2_summary**](docs/DashboardsApi.md#get_va_system_a2_summary) | **GET** /api/dashboards/va-system-a2-summary | Get dashboard information
*EmassClient::DashboardsApi* | [**get_va_system_aa_summary**](docs/DashboardsApi.md#get_va_system_aa_summary) | **GET** /api/dashboards/va-system-aa-summary | Get dashboard information
*EmassClient::DashboardsApi* | [**get_va_system_fisma_invetory_summary**](docs/DashboardsApi.md#get_va_system_fisma_invetory_summary) | **GET** /api/dashboards/va-system-fisma-inventory-summary | Get dashboard information
*EmassClient::DashboardsApi* | [**get_va_system_pl109_reporting_summary**](docs/DashboardsApi.md#get_va_system_pl109_reporting_summary) | **GET** /api/dashboards/va-system-pl-109-reporting-summary | Get dashboard information
*EmassClient::MilestonesApi* | [**add_milestone_by_system_id_and_poam_id**](docs/MilestonesApi.md#add_milestone_by_system_id_and_poam_id) | **POST** /api/systems/{systemId}/poams/{poamId}/milestones | Add milestones to one or many POA&M items in a system
*EmassClient::MilestonesApi* | [**delete_milestone**](docs/MilestonesApi.md#delete_milestone) | **DELETE** /api/systems/{systemId}/poams/{poamId}/milestones | Remove milestones in a system for one or many POA&M items
*EmassClient::MilestonesApi* | [**get_system_milestones_by_poam_id**](docs/MilestonesApi.md#get_system_milestones_by_poam_id) | **GET** /api/systems/{systemId}/poams/{poamId}/milestones | Get milestones in one or many POA&M items in a system
Expand Down
Loading

0 comments on commit bbb7cfa

Please sign in to comment.