Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ff3b682

Browse files
authoredJan 21, 2025··
Devdocs 16120 (#183)
* remove maestro
1 parent 4ef6b53 commit ff3b682

File tree

20 files changed

+6
-1109
lines changed

20 files changed

+6
-1109
lines changed
 

‎Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ end
7171
gem 'docusign_admin', '~> 2.0.0.rc2'
7272
gem 'docusign_click', '~> 1.4.0'
7373
gem 'docusign_esign', '~> 5.0.0'
74-
gem 'docusign_maestro', '~> 2.0.0.rc1'
7574
gem 'docusign_monitor', '~> 1.2.0'
7675
gem 'docusign_rooms', '~> 1.3.0'
7776
gem 'docusign_webforms', '~> 1.0.0'

‎Gemfile.lock

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,6 @@ GEM
122122
json (~> 2.1, >= 2.1.0)
123123
jwt (~> 2.2, >= 2.2.1)
124124
typhoeus (~> 1.0, >= 1.0.1)
125-
docusign_maestro (2.0.0.rc1)
126-
addressable (~> 2.7, >= 2.7.0)
127-
json (~> 2.1, >= 2.1.0)
128-
jwt (~> 2.2, >= 2.2.1)
129-
typhoeus (~> 1.0, >= 1.0.1)
130125
docusign_monitor (1.2.0)
131126
addressable (~> 2.7, >= 2.7.0)
132127
json (~> 2.1, >= 2.1.0)
@@ -202,6 +197,8 @@ GEM
202197
net-smtp (0.5.0)
203198
net-protocol
204199
nio4r (2.7.3)
200+
nokogiri (1.16.6-arm64-darwin)
201+
racc (~> 1.4)
205202
nokogiri (1.16.6-x64-mingw-ucrt)
206203
racc (~> 1.4)
207204
nokogiri (1.16.6-x86_64-darwin)
@@ -339,9 +336,10 @@ GEM
339336
actionpack (>= 6.1)
340337
activesupport (>= 6.1)
341338
sprockets (>= 3.0.0)
339+
sqlite3 (2.1.1-arm64-darwin)
342340
sqlite3 (2.1.1-x64-mingw-ucrt)
343341
sqlite3 (2.1.1-x86_64-darwin)
344-
sqlite3 (2.1.1-x86_64-linux-gnu)
342+
sqlite3 (2.1.1-x86_64-linux)
345343
stringio (3.1.1)
346344
test-unit (3.6.2)
347345
power_assert
@@ -379,6 +377,7 @@ GEM
379377
zeitwerk (2.6.16)
380378

381379
PLATFORMS
380+
arm64-darwin-24
382381
x64-mingw-ucrt
383382
x86_64-darwin-21
384383
x86_64-linux
@@ -392,7 +391,6 @@ DEPENDENCIES
392391
docusign_admin (~> 2.0.0.rc2)
393392
docusign_click (~> 1.4.0)
394393
docusign_esign (~> 5.0.0)
395-
docusign_maestro (~> 2.0.0.rc1)
396394
docusign_monitor (~> 1.2.0)
397395
docusign_rooms (~> 1.3.0)
398396
docusign_webforms (~> 1.0.0)

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
>
77
### GitHub repo: [code-examples-ruby](./README.md)
88

9-
This GitHub repo includes code examples for the [Web Forms API](https://developers.docusign.com/docs/web-forms-api/), [Maestro API](https://developers.docusign.com/docs/maestro-api/), [Docusign Admin API](https://developers.docusign.com/docs/admin-api/), [Click API](https://developers.docusign.com/docs/click-api/), [eSignature REST API](https://developers.docusign.com/docs/esign-rest-api/), [Monitor API](https://developers.docusign.com/docs/monitor-api/), and [Rooms API](https://developers.docusign.com/docs/rooms-api/).
9+
This GitHub repo includes code examples for the [Web Forms API](https://developers.docusign.com/docs/web-forms-api/), [Docusign Admin API](https://developers.docusign.com/docs/admin-api/), [Click API](https://developers.docusign.com/docs/click-api/), [eSignature REST API](https://developers.docusign.com/docs/esign-rest-api/), [Monitor API](https://developers.docusign.com/docs/monitor-api/), and [Rooms API](https://developers.docusign.com/docs/rooms-api/).
1010

1111

1212
## Introduction

‎app/assets/javascripts/search.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ const DS_SEARCH = (function () {
77
ADMIN: "admin",
88
CONNECT: "connect",
99
WEBFORMS: "webforms",
10-
MAESTRO: "maestro",
1110
}
1211

1312
const processJSONData = function () {
@@ -146,8 +145,6 @@ const DS_SEARCH = (function () {
146145
return "cneg";
147146
case API_TYPES.WEBFORMS:
148147
return "weg";
149-
case API_TYPES.MAESTRO:
150-
return "mseg";
151148
}
152149
}
153150

‎app/controllers/maestro_api/mseg001_trigger_workflow_controller.rb

Lines changed: 0 additions & 112 deletions
This file was deleted.

‎app/controllers/maestro_api/mseg002_cancel_workflow_controller.rb

Lines changed: 0 additions & 52 deletions
This file was deleted.

‎app/controllers/maestro_api/mseg003_get_workflow_status_controller.rb

Lines changed: 0 additions & 34 deletions
This file was deleted.

‎app/services/jwt_auth/jwt_creator.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ def self.consent_url(state, api)
1818
scope = 'signature impersonation click.manage click.send' if api == 'Click'
1919
scope = 'signature impersonation organization_read group_read permission_read user_read user_write account_read domain_read identity_provider_read user_data_redact asset_group_account_read asset_group_account_clone_write asset_group_account_clone_read organization_sub_account_write organization_sub_account_read' if api == 'Admin'
2020
scope = 'signature webforms_read webforms_instance_read webforms_instance_write' if api == 'WebForms'
21-
scope = 'signature aow_manage' if api == 'Maestro'
2221

2322
base_uri = "#{Rails.configuration.authorization_server}/oauth/auth"
2423
response_type = 'code'

‎app/services/maestro_api/mseg001_trigger_workflow_service.rb

Lines changed: 0 additions & 63 deletions
This file was deleted.

‎app/services/maestro_api/mseg002_cancel_workflow_service.rb

Lines changed: 0 additions & 41 deletions
This file was deleted.

‎app/services/maestro_api/mseg003_get_workflow_status_service.rb

Lines changed: 0 additions & 29 deletions
This file was deleted.

‎app/services/maestro_api/utils.rb

Lines changed: 0 additions & 621 deletions
This file was deleted.

‎app/views/ds_common/index.html.erb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@
5555
"cn"
5656
elsif api["Name"] == "WebForms"
5757
"w"
58-
elsif api["Name"] == "Maestro"
59-
"ms"
6058
else
6159
"e"
6260
end %>

‎app/views/maestro_api/mseg001_trigger_workflow/get.html.erb

Lines changed: 0 additions & 54 deletions
This file was deleted.

‎app/views/maestro_api/mseg001_trigger_workflow/publish_workflow.html.erb

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎app/views/maestro_api/mseg002_cancel_workflow/get.html.erb

Lines changed: 0 additions & 33 deletions
This file was deleted.

‎app/views/maestro_api/mseg003_get_workflow_status/get.html.erb

Lines changed: 0 additions & 33 deletions
This file was deleted.

‎config/appsettings.example.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ default: &default
2424
monitor_host: "https://lens-d.docusign.net"
2525
admin_host: "https://api-d.docusign.net/management"
2626
webforms_host: "https://apps-d.docusign.com/api/webforms/v1.1"
27-
maestro_client_host: "https://apps-d.docusign.com/api/maestro"
2827
allow_silent_authentication: true # A user can be silently authenticated if they have an
2928
# Active login session on another tab of the same browser
3029
# Set if you want a specific Docusign AccountId, If false, the users default account will be used.

‎config/initializers/omniauth.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454
strategy.options[:authorize_params].scope = 'signature organization_read group_read permission_read user_read user_write account_read domain_read identity_provider_read user_data_redact asset_group_account_read asset_group_account_clone_write asset_group_account_clone_read organization_sub_account_write organization_sub_account_read'
5555
when 'WebForms'
5656
strategy.options[:authorize_params].scope = 'signature webforms_read webforms_instance_read webforms_instance_write'
57-
when 'Maestro'
58-
strategy.options[:authorize_params].scope = 'signature aow_manage'
5957
end
6058
}
6159
end

‎config/routes.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -245,18 +245,6 @@
245245
post 'weg001webForm' => 'weg001_create_instance#create_web_form_instance'
246246
end
247247

248-
scope module: 'maestro_api' do
249-
get 'mseg001' => 'mseg001_trigger_workflow#get'
250-
post 'mseg001' => 'mseg001_trigger_workflow#create'
251-
post 'mseg001publish' => 'mseg001_trigger_workflow#publish'
252-
253-
get 'mseg002' => 'mseg002_cancel_workflow#get'
254-
post 'mseg002' => 'mseg002_cancel_workflow#create'
255-
256-
get 'mseg003' => 'mseg003_get_workflow_status#get'
257-
post 'mseg003' => 'mseg003_get_workflow_status#create'
258-
end
259-
260248
root 'ds_common#index'
261249

262250
# Login starts with POST'ing to: /auth/docusign

0 commit comments

Comments
 (0)
Please sign in to comment.