zuora_connect 3.1.5.pre.a → 3.1.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ce9871a6d530d5d0146cf591445fd21ec4f1cba986944b8b966ddc493c5f1a1
|
4
|
+
data.tar.gz: db1756a9a29035a6180ce3370021432a6b255567b8aeaea1eb36ad3f25651ff6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aea09cd52f629f8feb5a57a2e200040ad0371a64086c15a662f3408f77ef930211dceb2b01ebbfecc7ca437f268b262a60f52f05d43a3b0ca17e830db72a7e63
|
7
|
+
data.tar.gz: b324ac9bd0f233b04e641efafc2e62e4344218c84f99005fbe67a31a301ececb56411966b67b7a7333ee6581500ee72af4780aea6fa7c58dc15abd60c29c8169
|
@@ -51,10 +51,6 @@ module ZuoraConnect
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def provision
|
54
|
-
if ZuoraConnect.configuration.disable_provisioning
|
55
|
-
render(json: { status: 403, message: 'Provisioning is suspended until 2022-08-17' }, status: 403) && return
|
56
|
-
end
|
57
|
-
|
58
54
|
create_new_instance
|
59
55
|
unless performed?
|
60
56
|
render json: {
|
@@ -7,7 +7,7 @@ module ZuoraConnect
|
|
7
7
|
|
8
8
|
attr_accessor :oauth_client_id, :oauth_client_secret, :oauth_client_redirect_uri
|
9
9
|
|
10
|
-
attr_accessor :dev_mode_logins, :dev_mode_options, :dev_mode_mode, :dev_mode_appinstance, :dev_mode_user, :dev_mode_pass, :dev_mode_admin, :dev_mode_secret_access_key,:dev_mode_access_key_id,:aws_region, :s3_bucket_name, :s3_folder_name, :insert_migrations, :skip_connect, :encryption_type, :local_task_data
|
10
|
+
attr_accessor :dev_mode_logins, :dev_mode_options, :dev_mode_mode, :dev_mode_appinstance, :dev_mode_user, :dev_mode_pass, :dev_mode_admin, :dev_mode_secret_access_key,:dev_mode_access_key_id,:aws_region, :s3_bucket_name, :s3_folder_name, :insert_migrations, :skip_connect, :encryption_type, :local_task_data
|
11
11
|
|
12
12
|
def initialize
|
13
13
|
@default_locale = :en
|
@@ -23,7 +23,6 @@ module ZuoraConnect
|
|
23
23
|
@skip_connect = false
|
24
24
|
@encryption_type = :direct
|
25
25
|
@local_task_data = false
|
26
|
-
@disable_provisioning = false
|
27
26
|
|
28
27
|
# Setting the app name for telegraf write
|
29
28
|
@enable_metrics = false
|
@@ -446,10 +446,6 @@ module ZuoraConnect
|
|
446
446
|
|
447
447
|
#We have no deployed instance for this tenant
|
448
448
|
else
|
449
|
-
if ZuoraConnect.configuration.disable_provisioning
|
450
|
-
raise ZuoraConnect::Exceptions::AccessDenied.new("Provisioning is suspended")
|
451
|
-
end
|
452
|
-
|
453
449
|
#Ensure user can access oauth creation API
|
454
450
|
if !session["ZuoraCurrentUserInfo"]['permissions'].include?("permission.userManagement")
|
455
451
|
Thread.current[:appinstance] = nil
|
@@ -605,10 +601,6 @@ module ZuoraConnect
|
|
605
601
|
@appinstance = ZuoraConnect::AppInstance.find_by(:id => values["appInstance"].to_i)
|
606
602
|
|
607
603
|
if @appinstance.blank?
|
608
|
-
if ZuoraConnect.configuration.disable_provisioning
|
609
|
-
raise ZuoraConnect::Exceptions::AccessDenied.new("Provisioning is suspended")
|
610
|
-
end
|
611
|
-
|
612
604
|
Apartment::Tenant.switch!("public")
|
613
605
|
begin
|
614
606
|
Apartment::Tenant.create(values["appInstance"].to_s)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_connect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.5
|
4
|
+
version: 3.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Connect Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apartment
|
@@ -452,9 +452,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
452
452
|
version: '0'
|
453
453
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
454
454
|
requirements:
|
455
|
-
- - "
|
455
|
+
- - ">="
|
456
456
|
- !ruby/object:Gem::Version
|
457
|
-
version:
|
457
|
+
version: '0'
|
458
458
|
requirements: []
|
459
459
|
rubygems_version: 3.3.7
|
460
460
|
signing_key:
|