zuora_api 1.10.9 → 1.10.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/zuora_api/login.rb +10 -3
- data/lib/zuora_api/version.rb +1 -1
- 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: d3d55746dfb36b13817266ec288a42fa0797502acfe5286cd467500abf80f6b7
|
|
4
|
+
data.tar.gz: fdc13e4da4dbf6f7a4ed75259d1713cf72055aca3d07127d009640cf1bd80205
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b6d4b06b61a73dd347c64c03b0f63d5d88bf24ab30b3cccf18fb586bedb8b3b5e15273f8ac609631d52fa07c0aefb3dba8f1ffdc52299e140aae5a5b5923870
|
|
7
|
+
data.tar.gz: 665cf923322a43271ecfd94bfc396efa84e6243bd570550964e972e823dc2b51e089dfec0a29fe8e328257eb44113b5355e5ef020d2fc26de75f037618452fba
|
data/lib/zuora_api/login.rb
CHANGED
|
@@ -7,7 +7,7 @@ module ZuoraAPI
|
|
|
7
7
|
class Login
|
|
8
8
|
ENVIRONMENTS = [TEST = 'Test', SANDBOX = 'Sandbox', PRODUCTION = 'Production', PREFORMANCE = 'Preformance', SERVICES = 'Services', UNKNOWN = 'Unknown', STAGING = 'Staging' ]
|
|
9
9
|
REGIONS = [EU = 'EU', US = 'US', NA = 'NA' ]
|
|
10
|
-
MIN_Endpoints = {'Test': '
|
|
10
|
+
MIN_Endpoints = {'Test': '120.0', 'Sandbox': '120.0', 'Production': '120.0', 'Performance': '120.0', 'Services': '96.0', 'Unknown': '96.0', 'Staging': '121.0'}.freeze
|
|
11
11
|
XML_SAVE_OPTIONS = Nokogiri::XML::Node::SaveOptions::AS_XML | Nokogiri::XML::Node::SaveOptions::NO_DECLARATION
|
|
12
12
|
USER_AGENT = "Zuora#{ENV['Z_APPLICATION_NAME']&.capitalize}/#{ENV['Z_APPLICATION_VERSION']&.delete('v')}"
|
|
13
13
|
|
|
@@ -655,8 +655,15 @@ module ZuoraAPI
|
|
|
655
655
|
error = 'UNEXPECTED_ERROR'
|
|
656
656
|
if message.present?
|
|
657
657
|
identifier, new_message = message.scan(/^([\w\d]{16})\: (.*)/).first
|
|
658
|
-
|
|
659
|
-
|
|
658
|
+
if new_message.present?
|
|
659
|
+
if new_message.include?("The query exceeded maximum processing time")
|
|
660
|
+
error, message = ['TRANSACTION_FAILED', new_message.concat(" Please see KC for the Max Timeout Specification https://community.zuora.com/t5/Release-Notifications/Upcoming-Change-for-AQuA-and-Data-Source-Export-January-2021/ba-p/35024")]
|
|
661
|
+
else
|
|
662
|
+
error, message = ['UNEXPECTED_ERROR', new_message]
|
|
663
|
+
end
|
|
664
|
+
else
|
|
665
|
+
error, message = ['UNEXPECTED_ERROR', message]
|
|
666
|
+
end
|
|
660
667
|
else
|
|
661
668
|
message = 'Export failed due to unknown reason. Consult api logs.'
|
|
662
669
|
end
|
data/lib/zuora_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zuora_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.10.
|
|
4
|
+
version: 1.10.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Zuora Strategic Solutions Group
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-04-
|
|
11
|
+
date: 2022-04-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|