comet_backup_ruby_sdk 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/.rubocop.yml +0 -0
- data/CHANGELOG.md +8 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +1 -1
- data/README.md +0 -0
- data/RELEASING.md +0 -0
- data/Rakefile +0 -0
- data/comet_backup_ruby_sdk.gemspec +1 -1
- data/lib/comet/api_response_error.rb +0 -0
- data/lib/comet/comet_server.rb +52 -11
- data/lib/comet/definitions.rb +11 -3
- data/lib/comet/models/add_bucket_response_message.rb +0 -0
- data/lib/comet/models/admin_account_properties_response.rb +0 -0
- data/lib/comet/models/admin_email_options.rb +0 -0
- data/lib/comet/models/admin_resource_response.rb +0 -0
- data/lib/comet/models/admin_security_options.rb +0 -0
- data/lib/comet/models/admin_u2fregistration.rb +0 -0
- data/lib/comet/models/admin_user_permissions.rb +16 -0
- data/lib/comet/models/admin_web_authn_registration.rb +0 -0
- data/lib/comet/models/allowed_admin_user.rb +0 -0
- data/lib/comet/models/amazon_awsvirtual_storage_role_settings.rb +0 -0
- data/lib/comet/models/authentication_role_options.rb +0 -0
- data/lib/comet/models/available_download.rb +0 -0
- data/lib/comet/models/azure_destination_location.rb +0 -0
- data/lib/comet/models/b2destination_location.rb +0 -0
- data/lib/comet/models/b2storage_extra_info.rb +0 -0
- data/lib/comet/models/b2transaction_totals.rb +0 -0
- data/lib/comet/models/b2virtual_storage_role_settings.rb +0 -0
- data/lib/comet/models/backup_job_advanced_options.rb +0 -0
- data/lib/comet/models/backup_job_detail.rb +0 -0
- data/lib/comet/models/backup_job_progress.rb +0 -0
- data/lib/comet/models/backup_rule_config.rb +0 -0
- data/lib/comet/models/backup_rule_event_triggers.rb +0 -0
- data/lib/comet/models/branding_options.rb +0 -0
- data/lib/comet/models/branding_properties.rb +0 -0
- data/lib/comet/models/browse_disk_drives_response.rb +0 -0
- data/lib/comet/models/browse_edbresponse.rb +0 -0
- data/lib/comet/models/browse_hvresponse.rb +0 -0
- data/lib/comet/models/browse_office_365list_virtual_accounts_response.rb +0 -0
- data/lib/comet/models/browse_office_365objects_response.rb +0 -0
- data/lib/comet/models/browse_sqlserver_response.rb +0 -0
- data/lib/comet/models/browse_vssresponse.rb +0 -0
- data/lib/comet/models/bucket_properties.rb +0 -0
- data/lib/comet/models/bucket_usage_info.rb +0 -0
- data/lib/comet/models/comet_apiresponse_message.rb +0 -0
- data/lib/comet/models/comet_destination_location.rb +0 -0
- data/lib/comet/models/constellation_check_report.rb +0 -0
- data/lib/comet/models/constellation_role_options.rb +0 -0
- data/lib/comet/models/constellation_stats.rb +0 -0
- data/lib/comet/models/constellation_status_apiresponse.rb +0 -0
- data/lib/comet/models/content_measurement.rb +0 -0
- data/lib/comet/models/content_measurement_component.rb +0 -0
- data/lib/comet/models/create_group_policy_response.rb +0 -0
- data/lib/comet/models/custom_remote_bucket_settings.rb +0 -0
- data/lib/comet/models/days_of_week_config.rb +0 -0
- data/lib/comet/models/default_email_report_policy.rb +0 -0
- data/lib/comet/models/default_source_with_osrestriction.rb +0 -0
- data/lib/comet/models/destination_config.rb +8 -0
- data/lib/comet/models/destination_location.rb +8 -0
- data/lib/comet/models/destination_statistics.rb +0 -0
- data/lib/comet/models/device_config.rb +0 -0
- data/lib/comet/models/disk_drive.rb +0 -0
- data/lib/comet/models/dispatcher_admin_sources_response.rb +0 -0
- data/lib/comet/models/dispatcher_stored_objects_response.rb +0 -0
- data/lib/comet/models/dispatcher_vault_snapshots_response.rb +0 -0
- data/lib/comet/models/dispatcher_windisk_snapshot_response.rb +0 -0
- data/lib/comet/models/edbfile_info.rb +0 -0
- data/lib/comet/models/email_options.rb +0 -0
- data/lib/comet/models/email_report_config.rb +0 -0
- data/lib/comet/models/email_report_generated_preview.rb +0 -0
- data/lib/comet/models/external_authentication_source.rb +10 -0
- data/lib/comet/models/external_ldapauthentication_source_server.rb +0 -0
- data/lib/comet/models/external_ldapauthentication_source_settings.rb +0 -0
- data/lib/comet/models/extra_file_exclusion.rb +0 -0
- data/lib/comet/models/ftpdestination_location.rb +0 -0
- data/lib/comet/models/get_group_policy_response.rb +0 -0
- data/lib/comet/models/get_profile_and_hash_response_message.rb +0 -0
- data/lib/comet/models/get_profile_hash_response_message.rb +0 -0
- data/lib/comet/models/global_override_options.rb +0 -0
- data/lib/comet/models/group_policy.rb +0 -0
- data/lib/comet/models/hour_sched_config.rb +0 -0
- data/lib/comet/models/httpconnector_options.rb +0 -0
- data/lib/comet/models/hyper_vmachine_info.rb +0 -0
- data/lib/comet/models/install_creds.rb +0 -0
- data/lib/comet/models/install_token.rb +0 -0
- data/lib/comet/models/install_token_response.rb +0 -0
- data/lib/comet/models/job_entry.rb +0 -0
- data/lib/comet/models/license_options.rb +0 -0
- data/lib/comet/models/live_user_connection.rb +0 -0
- data/lib/comet/models/local_destination_location.rb +0 -0
- data/lib/comet/models/local_storage_directory.rb +0 -0
- data/lib/comet/models/mac_oscode_sign_properties.rb +0 -0
- data/lib/comet/models/mongo_dbconnection.rb +0 -0
- data/lib/comet/models/mssqlconnection.rb +0 -0
- data/lib/comet/models/my_sqlconnection.rb +0 -0
- data/lib/comet/models/new_bucket_detail.rb +0 -0
- data/lib/comet/models/news_entry.rb +0 -0
- data/lib/comet/models/office_365connection.rb +0 -0
- data/lib/comet/models/office_365credential.rb +0 -0
- data/lib/comet/models/office_365custom_setting.rb +0 -0
- data/lib/comet/models/office_365custom_setting_v2.rb +0 -0
- data/lib/comet/models/office_365mixed_virtual_account.rb +0 -0
- data/lib/comet/models/office_365object_info.rb +0 -0
- data/lib/comet/models/organization.rb +8 -0
- data/lib/comet/models/organization_response.rb +0 -0
- data/lib/comet/models/osinfo.rb +0 -0
- data/lib/comet/models/partition.rb +0 -0
- data/lib/comet/models/private_branding_properties.rb +0 -0
- data/lib/comet/models/protected_item_engine_type_policy.rb +0 -0
- data/lib/comet/models/public_branding_properties.rb +0 -0
- data/lib/comet/models/ratelimit_options.rb +0 -0
- data/lib/comet/models/ratelimit_rule.rb +0 -0
- data/lib/comet/models/register_office_application_begin_response.rb +0 -0
- data/lib/comet/models/register_office_application_check_response.rb +0 -0
- data/lib/comet/models/remote_server_address.rb +10 -0
- data/lib/comet/models/remote_storage_option.rb +10 -0
- data/lib/comet/models/replica_server.rb +10 -0
- data/lib/comet/models/replicator_state_apiresponse.rb +0 -0
- data/lib/comet/models/request_storage_vault_response_message.rb +0 -0
- data/lib/comet/models/restore_job_advanced_options.rb +75 -0
- data/lib/comet/models/retention_policy.rb +0 -0
- data/lib/comet/models/retention_range.rb +0 -0
- data/lib/comet/models/s3destination_location.rb +0 -0
- data/lib/comet/models/s3generic_virtual_storage_role.rb +0 -0
- data/lib/comet/models/schedule_config.rb +0 -0
- data/lib/comet/models/search_clause.rb +0 -0
- data/lib/comet/models/self_backup_options.rb +0 -0
- data/lib/comet/models/self_backup_statistics.rb +0 -0
- data/lib/comet/models/self_backup_target.rb +0 -0
- data/lib/comet/models/server_config_options.rb +0 -0
- data/lib/comet/models/server_config_options_branding_fragment.rb +0 -0
- data/lib/comet/models/server_config_options_software_build_role_fragment.rb +0 -0
- data/lib/comet/models/server_meta_branding_properties.rb +0 -0
- data/lib/comet/models/server_meta_version_info.rb +15 -0
- data/lib/comet/models/session_key_regenerated_response.rb +0 -0
- data/lib/comet/models/session_options.rb +0 -0
- data/lib/comet/models/sftpdestination_location.rb +0 -0
- data/lib/comet/models/size_measurement.rb +0 -0
- data/lib/comet/models/software_build_role_options.rb +0 -0
- data/lib/comet/models/software_update_news_response.rb +0 -0
- data/lib/comet/models/source_basic_info.rb +0 -0
- data/lib/comet/models/source_config.rb +0 -0
- data/lib/comet/models/source_include_pattern.rb +0 -0
- data/lib/comet/models/source_statistics.rb +0 -0
- data/lib/comet/models/spanned_destination_location.rb +0 -0
- data/lib/comet/models/spanned_storage_extra_info.rb +0 -0
- data/lib/comet/models/sshconnection.rb +0 -0
- data/lib/comet/models/stat_result.rb +0 -0
- data/lib/comet/models/storage_free_space_info.rb +0 -0
- data/lib/comet/models/storage_role_options.rb +0 -0
- data/lib/comet/models/storage_vault_provider_policy.rb +0 -0
- data/lib/comet/models/stored_object.rb +0 -0
- data/lib/comet/models/streamable_event.rb +0 -0
- data/lib/comet/models/swift_destination_location.rb +0 -0
- data/lib/comet/models/test_response.rb +0 -0
- data/lib/comet/models/totp_regenerated_response.rb +0 -0
- data/lib/comet/models/u2fregister_request.rb +0 -0
- data/lib/comet/models/u2fregistered_key.rb +0 -0
- data/lib/comet/models/u2fregistration_challenge_response.rb +0 -0
- data/lib/comet/models/u2fsign_request.rb +0 -0
- data/lib/comet/models/u2fsign_response.rb +0 -0
- data/lib/comet/models/uninstall_config.rb +0 -0
- data/lib/comet/models/update_campaign_device_status.rb +0 -0
- data/lib/comet/models/update_campaign_options.rb +2 -1
- data/lib/comet/models/update_campaign_properties.rb +0 -0
- data/lib/comet/models/update_campaign_status.rb +0 -0
- data/lib/comet/models/update_campaign_status_device_entry.rb +0 -0
- data/lib/comet/models/user_custom_email_settings.rb +0 -0
- data/lib/comet/models/user_on_server.rb +0 -0
- data/lib/comet/models/user_policy.rb +0 -0
- data/lib/comet/models/user_profile_config.rb +4 -4
- data/lib/comet/models/user_profile_fragment.rb +0 -0
- data/lib/comet/models/user_server_config.rb +0 -0
- data/lib/comet/models/vault_snapshot.rb +0 -0
- data/lib/comet/models/vmdksnapshot_view_options.rb +0 -0
- data/lib/comet/models/vsscomponent.rb +0 -0
- data/lib/comet/models/vsswriter_info.rb +0 -0
- data/lib/comet/models/wasabi_virtual_storage_role_settings.rb +0 -0
- data/lib/comet/models/web_authn_authenticator_selection.rb +0 -0
- data/lib/comet/models/web_authn_credential.rb +0 -0
- data/lib/comet/models/web_authn_credential_assertion.rb +0 -0
- data/lib/comet/models/web_authn_credential_descriptor.rb +0 -0
- data/lib/comet/models/web_authn_credential_entity.rb +0 -0
- data/lib/comet/models/web_authn_credential_parameter.rb +0 -0
- data/lib/comet/models/web_authn_public_key_credential_creation_options.rb +0 -0
- data/lib/comet/models/web_authn_public_key_credential_request_options.rb +0 -0
- data/lib/comet/models/web_authn_registration_challenge_response.rb +0 -0
- data/lib/comet/models/web_authn_relying_party_entity.rb +0 -0
- data/lib/comet/models/web_authn_sign_request.rb +0 -0
- data/lib/comet/models/web_authn_sign_response.rb +0 -0
- data/lib/comet/models/web_authn_user_entity.rb +0 -0
- data/lib/comet/models/web_interface_branding_properties.rb +0 -0
- data/lib/comet/models/webhook_option.rb +0 -0
- data/lib/comet/models/win_smbauth.rb +0 -0
- data/lib/comet/models/windows_code_sign_properties.rb +0 -0
- data/lib/comet_backup_ruby_sdk.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33d616b7c183fa410f27c19bba61475b24ff0ba5e87b1adcf6354201ee645f3a
|
4
|
+
data.tar.gz: 5bbe3a08fc8552d36c9f379e9cdd80d6c31209741e940689651e443e75e2200d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d9400f4930b380cf561e95794a8c30f69eb777869bf6f629aef06bde55f834874f16857373ced01361f9d5239f4458fddf456ae2dfcb756efb0e10211e2850e
|
7
|
+
data.tar.gz: 4da36cb9d8d7896d8e09e1ccea1fca428cf43644521e01656df505257b5cbbdf60da44456ececb9e17172fef56f2328850ed9ef8e977ea5f629a0702a5dde798
|
data/.gitignore
CHANGED
File without changes
|
data/.rubocop.yml
CHANGED
File without changes
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 2022-09-08 v2.2.0
|
4
|
+
- Based on 22.9.0
|
5
|
+
- Add Storj.io support as a Storage Vault Location and Storage Template provider
|
6
|
+
- Add Constellation role support for Tenants
|
7
|
+
- Add Webhook edit option for Tenant admins
|
8
|
+
- Add MySQL direct RestoreType
|
9
|
+
- Improve Office365 credentials handling
|
10
|
+
|
3
11
|
## 2022-07-27 v2.1.0
|
4
12
|
- Based on 22.6.7
|
5
13
|
- Add support enforcing the `RandomDelaySecs` for both whole-server and in policies
|
data/Gemfile
CHANGED
File without changes
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
File without changes
|
data/RELEASING.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
@@ -12,7 +12,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
12
12
|
|
13
13
|
Gem::Specification.new do |spec|
|
14
14
|
spec.name = 'comet_backup_ruby_sdk'
|
15
|
-
spec.version = '2.
|
15
|
+
spec.version = '2.2.0'
|
16
16
|
spec.authors = ['Comet Licensing Ltd.']
|
17
17
|
spec.email = ['hello@cometbackup.com']
|
18
18
|
|
File without changes
|
data/lib/comet/comet_server.rb
CHANGED
@@ -199,9 +199,9 @@ module Comet
|
|
199
199
|
# @param [String] u2fclient_data U2F response data supplied by hardware token
|
200
200
|
# @param [String] u2fregistration_data U2F response data supplied by hardware token
|
201
201
|
# @param [String] u2fversion U2F response data supplied by hardware token
|
202
|
-
# @param [String] description Optional
|
202
|
+
# @param [String] description (Optional) Description of the token
|
203
203
|
# @return [Comet::CometAPIResponseMessage]
|
204
|
-
def admin_account_u2f_submit_challenge_response(u2fchallenge_id, u2fclient_data, u2fregistration_data, u2fversion, description)
|
204
|
+
def admin_account_u2f_submit_challenge_response(u2fchallenge_id, u2fclient_data, u2fregistration_data, u2fversion, description = nil)
|
205
205
|
submit_params = {}
|
206
206
|
raise TypeError, "'u2fchallenge_id' expected String, got #{u2fchallenge_id.class}" unless u2fchallenge_id.is_a? String
|
207
207
|
|
@@ -215,9 +215,11 @@ module Comet
|
|
215
215
|
raise TypeError, "'u2fversion' expected String, got #{u2fversion.class}" unless u2fversion.is_a? String
|
216
216
|
|
217
217
|
submit_params['U2FVersion'] = u2fversion
|
218
|
-
|
218
|
+
unless description.nil?
|
219
|
+
raise TypeError, "'description' expected String, got #{description.class}" unless description.is_a? String
|
219
220
|
|
220
|
-
|
221
|
+
submit_params['Description'] = description
|
222
|
+
end
|
221
223
|
|
222
224
|
body = perform_request('api/v1/admin/account/u2f/submit-challenge-response', submit_params)
|
223
225
|
json_body = JSON.parse body
|
@@ -815,7 +817,6 @@ module Comet
|
|
815
817
|
# Get Constellation bucket usage report (cached).
|
816
818
|
#
|
817
819
|
# You must supply administrator authentication credentials to use this API.
|
818
|
-
# This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
|
819
820
|
# This API requires the Constellation Role to be enabled.
|
820
821
|
#
|
821
822
|
# @return [Comet::ConstellationCheckReport]
|
@@ -833,7 +834,6 @@ module Comet
|
|
833
834
|
# Get Constellation bucket usage report (regenerate).
|
834
835
|
#
|
835
836
|
# You must supply administrator authentication credentials to use this API.
|
836
|
-
# This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
|
837
837
|
# This API requires the Constellation Role to be enabled.
|
838
838
|
#
|
839
839
|
# @return [Comet::ConstellationCheckReport]
|
@@ -869,7 +869,6 @@ module Comet
|
|
869
869
|
# Get Constellation status.
|
870
870
|
#
|
871
871
|
# You must supply administrator authentication credentials to use this API.
|
872
|
-
# This API is only available for administrator accounts in the top-level Organization, not in any other Organization.
|
873
872
|
# This API requires the Constellation Role to be enabled.
|
874
873
|
#
|
875
874
|
# @return [Comet::ConstellationStatusAPIResponse]
|
@@ -2521,6 +2520,46 @@ module Comet
|
|
2521
2520
|
ret
|
2522
2521
|
end
|
2523
2522
|
|
2523
|
+
# AdminMetaConstellationConfigGet
|
2524
|
+
#
|
2525
|
+
# Get Constellation configuration for the current organization.
|
2526
|
+
#
|
2527
|
+
# You must supply administrator authentication credentials to use this API.
|
2528
|
+
# This API requires the Constellation Role to be enabled.
|
2529
|
+
#
|
2530
|
+
# @return [Comet::ConstellationRoleOptions]
|
2531
|
+
def admin_meta_constellation_config_get
|
2532
|
+
body = perform_request('api/v1/admin/meta/constellation/config/get')
|
2533
|
+
json_body = JSON.parse body
|
2534
|
+
check_status json_body
|
2535
|
+
ret = Comet::ConstellationRoleOptions.new
|
2536
|
+
ret.from_hash(json_body)
|
2537
|
+
ret
|
2538
|
+
end
|
2539
|
+
|
2540
|
+
# AdminMetaConstellationConfigSet
|
2541
|
+
#
|
2542
|
+
# Set Constellation configuration for the current organization.
|
2543
|
+
#
|
2544
|
+
# You must supply administrator authentication credentials to use this API.
|
2545
|
+
# This API requires the Constellation Role to be enabled.
|
2546
|
+
#
|
2547
|
+
# @param [Comet::ConstellationRoleOptions] constellation_role_options Constellation role options to set
|
2548
|
+
# @return [Comet::CometAPIResponseMessage]
|
2549
|
+
def admin_meta_constellation_config_set(constellation_role_options)
|
2550
|
+
submit_params = {}
|
2551
|
+
raise TypeError, "'constellation_role_options' expected Comet::ConstellationRoleOptions, got #{constellation_role_options.class}" unless constellation_role_options.is_a? Comet::ConstellationRoleOptions
|
2552
|
+
|
2553
|
+
submit_params['ConstellationRoleOptions'] = constellation_role_options.to_json
|
2554
|
+
|
2555
|
+
body = perform_request('api/v1/admin/meta/constellation/config/set', submit_params)
|
2556
|
+
json_body = JSON.parse body
|
2557
|
+
check_status json_body
|
2558
|
+
ret = Comet::CometAPIResponseMessage.new
|
2559
|
+
ret.from_hash(json_body)
|
2560
|
+
ret
|
2561
|
+
end
|
2562
|
+
|
2524
2563
|
# AdminMetaListAvailableLogDays
|
2525
2564
|
#
|
2526
2565
|
# Get log files.
|
@@ -3390,9 +3429,9 @@ module Comet
|
|
3390
3429
|
#
|
3391
3430
|
# @param [String] target_user Selected account username
|
3392
3431
|
# @param [String] new_password New account password
|
3393
|
-
# @param [String] old_password Old account password
|
3432
|
+
# @param [String] old_password (Optional) Old account password. Required if no recovery code is present for the user account.
|
3394
3433
|
# @return [Comet::CometAPIResponseMessage]
|
3395
|
-
def admin_reset_user_password(target_user, new_password, old_password)
|
3434
|
+
def admin_reset_user_password(target_user, new_password, old_password = nil)
|
3396
3435
|
submit_params = {}
|
3397
3436
|
raise TypeError, "'target_user' expected String, got #{target_user.class}" unless target_user.is_a? String
|
3398
3437
|
|
@@ -3400,9 +3439,11 @@ module Comet
|
|
3400
3439
|
raise TypeError, "'new_password' expected String, got #{new_password.class}" unless new_password.is_a? String
|
3401
3440
|
|
3402
3441
|
submit_params['NewPassword'] = new_password
|
3403
|
-
|
3442
|
+
unless old_password.nil?
|
3443
|
+
raise TypeError, "'old_password' expected String, got #{old_password.class}" unless old_password.is_a? String
|
3404
3444
|
|
3405
|
-
|
3445
|
+
submit_params['OldPassword'] = old_password
|
3446
|
+
end
|
3406
3447
|
|
3407
3448
|
body = perform_request('api/v1/admin/reset-user-password', submit_params)
|
3408
3449
|
json_body = JSON.parse body
|
data/lib/comet/definitions.rb
CHANGED
@@ -135,6 +135,8 @@ module Comet
|
|
135
135
|
|
136
136
|
DESTINATIONTYPE_B2 = 1008
|
137
137
|
|
138
|
+
DESTINATIONTYPE_STORJ = 1009
|
139
|
+
|
138
140
|
DESTINATIONTYPE_LATEST = 1100
|
139
141
|
|
140
142
|
DESTINATIONTYPE_ALL = 1101
|
@@ -218,6 +220,9 @@ module Comet
|
|
218
220
|
# RestoreType:
|
219
221
|
RESTORETYPE_VMDK_FILE_ARCHIVE = 9
|
220
222
|
|
223
|
+
# RestoreType:
|
224
|
+
RESTORETYPE_MYSQL = 10
|
225
|
+
|
221
226
|
# RestoreType: RESTORETYPE_PROCESS_ARCHIVE
|
222
227
|
RESTORETYPE_PROCESS_TARBALL = 3
|
223
228
|
|
@@ -469,13 +474,13 @@ module Comet
|
|
469
474
|
|
470
475
|
DEFAULT_TIMEZONE = 'UTC'
|
471
476
|
|
472
|
-
APPLICATION_VERSION = '22.
|
477
|
+
APPLICATION_VERSION = '22.9.0'
|
473
478
|
|
474
479
|
APPLICATION_VERSION_MAJOR = 22
|
475
480
|
|
476
|
-
APPLICATION_VERSION_MINOR =
|
481
|
+
APPLICATION_VERSION_MINOR = 9
|
477
482
|
|
478
|
-
APPLICATION_VERSION_REVISION =
|
483
|
+
APPLICATION_VERSION_REVISION = 0
|
479
484
|
|
480
485
|
RELEASE_CODENAME = 'Voyager'
|
481
486
|
|
@@ -662,6 +667,9 @@ module Comet
|
|
662
667
|
# RemoteServerType:
|
663
668
|
REMOTESERVER_AWS = 'aws'
|
664
669
|
|
670
|
+
# RemoteServerType:
|
671
|
+
REMOTESERVER_STORJ = 'storj'
|
672
|
+
|
665
673
|
# RemoteServerType:
|
666
674
|
REMOTESERVER_IDRIVEE2 = 'idrivee2'
|
667
675
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -27,6 +27,12 @@ module Comet
|
|
27
27
|
# @type [Boolean] allow_edit_remote_storage
|
28
28
|
attr_accessor :allow_edit_remote_storage
|
29
29
|
|
30
|
+
# @type [Boolean] allow_edit_webhooks
|
31
|
+
attr_accessor :allow_edit_webhooks
|
32
|
+
|
33
|
+
# @type [Boolean] deny_constellation_role
|
34
|
+
attr_accessor :deny_constellation_role
|
35
|
+
|
30
36
|
# @type [Hash] Hidden storage to preserve future properties for non-destructive roundtrip operations
|
31
37
|
attr_accessor :unknown_json_fields
|
32
38
|
|
@@ -61,6 +67,10 @@ module Comet
|
|
61
67
|
@allow_edit_branding = v
|
62
68
|
when 'AllowEditRemoteStorage'
|
63
69
|
@allow_edit_remote_storage = v
|
70
|
+
when 'AllowEditWebhooks'
|
71
|
+
@allow_edit_webhooks = v
|
72
|
+
when 'DenyConstellationRole'
|
73
|
+
@deny_constellation_role = v
|
64
74
|
else
|
65
75
|
@unknown_json_fields[k] = v
|
66
76
|
end
|
@@ -85,6 +95,12 @@ module Comet
|
|
85
95
|
unless @allow_edit_remote_storage.nil?
|
86
96
|
ret['AllowEditRemoteStorage'] = @allow_edit_remote_storage
|
87
97
|
end
|
98
|
+
unless @allow_edit_webhooks.nil?
|
99
|
+
ret['AllowEditWebhooks'] = @allow_edit_webhooks
|
100
|
+
end
|
101
|
+
unless @deny_constellation_role.nil?
|
102
|
+
ret['DenyConstellationRole'] = @deny_constellation_role
|
103
|
+
end
|
88
104
|
@unknown_json_fields.each do |k, v|
|
89
105
|
ret[k] = v
|
90
106
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -150,6 +150,9 @@ module Comet
|
|
150
150
|
# @type [Comet::B2DestinationLocation] b2
|
151
151
|
attr_accessor :b2
|
152
152
|
|
153
|
+
# @type [Comet::StorjDestinationLocation] storj
|
154
|
+
attr_accessor :storj
|
155
|
+
|
153
156
|
# @type [Array<Comet::DestinationLocation>] span_targets
|
154
157
|
attr_accessor :span_targets
|
155
158
|
|
@@ -229,6 +232,7 @@ module Comet
|
|
229
232
|
@localcopy_win_smbpassword_format = 0
|
230
233
|
@swift = Comet::SwiftDestinationLocation.new
|
231
234
|
@b2 = Comet::B2DestinationLocation.new
|
235
|
+
@storj = Comet::StorjDestinationLocation.new
|
232
236
|
@span_targets = []
|
233
237
|
@encryption_key_encryption_method = 0
|
234
238
|
@encrypted_encryption_key = ''
|
@@ -445,6 +449,9 @@ module Comet
|
|
445
449
|
when 'B2'
|
446
450
|
@b2 = Comet::B2DestinationLocation.new
|
447
451
|
@b2.from_hash(v)
|
452
|
+
when 'Storj'
|
453
|
+
@storj = Comet::StorjDestinationLocation.new
|
454
|
+
@storj.from_hash(v)
|
448
455
|
when 'SpanTargets'
|
449
456
|
if v.nil?
|
450
457
|
@span_targets = []
|
@@ -538,6 +545,7 @@ module Comet
|
|
538
545
|
ret['LocalcopyWinSMBPasswordFormat'] = @localcopy_win_smbpassword_format
|
539
546
|
ret['Swift'] = @swift
|
540
547
|
ret['B2'] = @b2
|
548
|
+
ret['Storj'] = @storj
|
541
549
|
ret['SpanTargets'] = @span_targets
|
542
550
|
ret['SpanUseStaticSlots'] = @span_use_static_slots
|
543
551
|
ret['EncryptionKeyEncryptionMethod'] = @encryption_key_encryption_method
|
@@ -132,6 +132,9 @@ module Comet
|
|
132
132
|
# @type [Comet::B2DestinationLocation] b2
|
133
133
|
attr_accessor :b2
|
134
134
|
|
135
|
+
# @type [Comet::StorjDestinationLocation] storj
|
136
|
+
attr_accessor :storj
|
137
|
+
|
135
138
|
# @type [Array<Comet::DestinationLocation>] span_targets
|
136
139
|
attr_accessor :span_targets
|
137
140
|
|
@@ -181,6 +184,7 @@ module Comet
|
|
181
184
|
@localcopy_win_smbpassword_format = 0
|
182
185
|
@swift = Comet::SwiftDestinationLocation.new
|
183
186
|
@b2 = Comet::B2DestinationLocation.new
|
187
|
+
@storj = Comet::StorjDestinationLocation.new
|
184
188
|
@span_targets = []
|
185
189
|
@unknown_json_fields = {}
|
186
190
|
end
|
@@ -346,6 +350,9 @@ module Comet
|
|
346
350
|
when 'B2'
|
347
351
|
@b2 = Comet::B2DestinationLocation.new
|
348
352
|
@b2.from_hash(v)
|
353
|
+
when 'Storj'
|
354
|
+
@storj = Comet::StorjDestinationLocation.new
|
355
|
+
@storj.from_hash(v)
|
349
356
|
when 'SpanTargets'
|
350
357
|
if v.nil?
|
351
358
|
@span_targets = []
|
@@ -407,6 +414,7 @@ module Comet
|
|
407
414
|
ret['LocalcopyWinSMBPasswordFormat'] = @localcopy_win_smbpassword_format
|
408
415
|
ret['Swift'] = @swift
|
409
416
|
ret['B2'] = @b2
|
417
|
+
ret['Storj'] = @storj
|
410
418
|
ret['SpanTargets'] = @span_targets
|
411
419
|
ret['SpanUseStaticSlots'] = @span_use_static_slots
|
412
420
|
@unknown_json_fields.each do |k, v|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -46,6 +46,9 @@ module Comet
|
|
46
46
|
# @type [Comet::AmazonAWSVirtualStorageRoleSettings] aws
|
47
47
|
attr_accessor :aws
|
48
48
|
|
49
|
+
# @type [Comet::StorjVirtualStorageRoleSetting] storj
|
50
|
+
attr_accessor :storj
|
51
|
+
|
49
52
|
# @type [Comet::AdminUserPermissions] new_user_permissions
|
50
53
|
attr_accessor :new_user_permissions
|
51
54
|
|
@@ -68,6 +71,7 @@ module Comet
|
|
68
71
|
@custom = Comet::CustomRemoteBucketSettings.new
|
69
72
|
@s3 = Comet::S3GenericVirtualStorageRole.new
|
70
73
|
@aws = Comet::AmazonAWSVirtualStorageRoleSettings.new
|
74
|
+
@storj = Comet::StorjVirtualStorageRoleSetting.new
|
71
75
|
@new_user_permissions = Comet::AdminUserPermissions.new
|
72
76
|
@unknown_json_fields = {}
|
73
77
|
end
|
@@ -123,6 +127,9 @@ module Comet
|
|
123
127
|
when 'AWS'
|
124
128
|
@aws = Comet::AmazonAWSVirtualStorageRoleSettings.new
|
125
129
|
@aws.from_hash(v)
|
130
|
+
when 'Storj'
|
131
|
+
@storj = Comet::StorjVirtualStorageRoleSetting.new
|
132
|
+
@storj.from_hash(v)
|
126
133
|
when 'NewUserPermissions'
|
127
134
|
@new_user_permissions = Comet::AdminUserPermissions.new
|
128
135
|
@new_user_permissions.from_hash(v)
|
@@ -164,6 +171,9 @@ module Comet
|
|
164
171
|
unless @aws.nil?
|
165
172
|
ret['AWS'] = @aws
|
166
173
|
end
|
174
|
+
unless @storj.nil?
|
175
|
+
ret['Storj'] = @storj
|
176
|
+
end
|
167
177
|
ret['NewUserPermissions'] = @new_user_permissions
|
168
178
|
@unknown_json_fields.each do |k, v|
|
169
179
|
ret[k] = v
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -27,6 +27,9 @@ module Comet
|
|
27
27
|
# @type [Array<Comet::RemoteStorageOption>] remote_storage
|
28
28
|
attr_accessor :remote_storage
|
29
29
|
|
30
|
+
# @type [Comet::ConstellationRoleOptions] constellation_role
|
31
|
+
attr_accessor :constellation_role
|
32
|
+
|
30
33
|
# @type [Hash{String => Comet::WebhookOption}] webhook_options
|
31
34
|
attr_accessor :webhook_options
|
32
35
|
|
@@ -49,6 +52,7 @@ module Comet
|
|
49
52
|
@software_build_role = Comet::SoftwareBuildRoleOptions.new
|
50
53
|
@branding = Comet::BrandingOptions.new
|
51
54
|
@remote_storage = []
|
55
|
+
@constellation_role = Comet::ConstellationRoleOptions.new
|
52
56
|
@webhook_options = {}
|
53
57
|
@email = Comet::EmailOptions.new
|
54
58
|
@unknown_json_fields = {}
|
@@ -98,6 +102,9 @@ module Comet
|
|
98
102
|
@remote_storage[i1].from_hash(v1)
|
99
103
|
end
|
100
104
|
end
|
105
|
+
when 'ConstellationRole'
|
106
|
+
@constellation_role = Comet::ConstellationRoleOptions.new
|
107
|
+
@constellation_role.from_hash(v)
|
101
108
|
when 'WebhookOptions'
|
102
109
|
@webhook_options = {}
|
103
110
|
if v.nil?
|
@@ -127,6 +134,7 @@ module Comet
|
|
127
134
|
ret['SoftwareBuildRole'] = @software_build_role
|
128
135
|
ret['Branding'] = @branding
|
129
136
|
ret['RemoteStorage'] = @remote_storage
|
137
|
+
ret['ConstellationRole'] = @constellation_role
|
130
138
|
ret['WebhookOptions'] = @webhook_options
|
131
139
|
ret['Email'] = @email
|
132
140
|
ret['IsSuspended'] = @is_suspended
|