gitlab_support_readiness 1.4.1 → 1.5.0
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/support_readiness/support_super_form_processor/disable_us_government.rb +1 -1
- data/lib/support_readiness/support_super_form_processor/global_ir_dotcom_subscriptions_billing_entity_change.rb +11 -11
- data/lib/support_readiness/support_super_form_processor/global_ir_dotcom_subscriptions_extension.rb +12 -12
- data/lib/support_readiness/support_super_form_processor/global_ir_dotcom_subscriptions_investigate.rb +12 -12
- data/lib/support_readiness/support_super_form_processor/global_ir_dotcom_subscriptions_link.rb +9 -9
- data/lib/support_readiness/support_super_form_processor/global_ir_dotcom_subscriptions_nfr.rb +10 -10
- data/lib/support_readiness/support_super_form_processor/global_ir_dotcom_subscriptions_reset_seat_qsr.rb +9 -9
- data/lib/support_readiness/support_super_form_processor/global_ir_dotcom_trials_edit.rb +10 -10
- data/lib/support_readiness/support_super_form_processor/global_ir_dotcom_trials_extension.rb +13 -13
- data/lib/support_readiness/support_super_form_processor/global_ir_hackerone_license.rb +5 -5
- data/lib/support_readiness/support_super_form_processor/global_ir_oem_license.rb +10 -43
- data/lib/support_readiness/support_super_form_processor/global_ir_order_management.rb +15 -15
- data/lib/support_readiness/support_super_form_processor/global_ir_other.rb +3 -3
- data/lib/support_readiness/support_super_form_processor/global_ir_provison_failure.rb +7 -7
- data/lib/support_readiness/support_super_form_processor/global_ir_sm_subscriptions_did_not_receive.rb +7 -7
- data/lib/support_readiness/support_super_form_processor/global_ir_sm_subscriptions_multiyear.rb +7 -7
- data/lib/support_readiness/support_super_form_processor/global_ir_sm_subscriptions_nfr.rb +9 -9
- data/lib/support_readiness/support_super_form_processor/global_ir_sm_subscriptions_resend.rb +7 -7
- data/lib/support_readiness/support_super_form_processor/global_ir_sm_subscriptions_scl.rb +8 -8
- data/lib/support_readiness/support_super_form_processor/global_ir_sm_subscriptions_temp.rb +12 -12
- data/lib/support_readiness/support_super_form_processor/global_ir_sm_trials_edit.rb +9 -9
- data/lib/support_readiness/support_super_form_processor/global_ir_sm_trials_extension.rb +11 -21
- data/lib/support_readiness/support_super_form_processor/global_ir_sm_trials_new.rb +11 -11
- data/lib/support_readiness/support_super_form_processor/global_ir_wider_community_license.rb +12 -12
- data/lib/support_readiness/support_super_form_processor/global_set_collaboration_id.rb +2 -2
- data/lib/support_readiness/support_super_form_processor/global_set_org_ase.rb +2 -2
- data/lib/support_readiness/support_super_form_processor/gratis_request.rb +6 -6
- data/lib/support_readiness/support_super_form_processor/namespace_availability.rb +1 -1
- data/lib/support_readiness/support_super_form_processor/sa_request_for_support.rb +12 -22
- data/lib/support_readiness/support_super_form_processor/team_member_license.rb +5 -5
- data/lib/support_readiness/support_super_form_processor/usgov_ir_order_management.rb +15 -15
- data/lib/support_readiness/support_super_form_processor/usgov_ir_other.rb +3 -13
- data/lib/support_readiness/support_super_form_processor/usgov_ir_sm_subs_did_not_receive.rb +6 -6
- data/lib/support_readiness/support_super_form_processor/usgov_ir_sm_subs_multiyear.rb +6 -6
- data/lib/support_readiness/support_super_form_processor/usgov_ir_sm_subs_nfr.rb +9 -9
- data/lib/support_readiness/support_super_form_processor/usgov_ir_sm_subs_resend.rb +6 -6
- data/lib/support_readiness/support_super_form_processor/usgov_ir_sm_subs_scl.rb +6 -6
- data/lib/support_readiness/support_super_form_processor/usgov_ir_sm_subs_temp.rb +12 -12
- data/lib/support_readiness/support_super_form_processor/usgov_ir_sm_trials_edit.rb +9 -9
- data/lib/support_readiness/support_super_form_processor/usgov_ir_sm_trials_extension.rb +11 -21
- data/lib/support_readiness/support_super_form_processor/usgov_ir_sm_trials_new.rb +11 -11
- data/lib/support_readiness/support_super_form_processor/usgov_set_collaboration_id.rb +2 -2
- data/lib/support_readiness/support_super_form_processor/usgov_set_org_ase.rb +2 -2
- metadata +5 -5
data/lib/support_readiness/support_super_form_processor/global_ir_wider_community_license.rb
CHANGED
@@ -104,7 +104,7 @@ module Readiness
|
|
104
104
|
# @author Jason Colyer
|
105
105
|
# @since 1.0.42
|
106
106
|
def self.request_priority
|
107
|
-
@request_priority ||= ENV.fetch('
|
107
|
+
@request_priority ||= ENV.fetch('PRIORITY')
|
108
108
|
end
|
109
109
|
|
110
110
|
##
|
@@ -113,7 +113,7 @@ module Readiness
|
|
113
113
|
# @author Jason Colyer
|
114
114
|
# @since 1.0.42
|
115
115
|
def self.context
|
116
|
-
@context ||= ENV.fetch('
|
116
|
+
@context ||= ENV.fetch('LNR_OTHER_CONTEXT')
|
117
117
|
end
|
118
118
|
|
119
119
|
##
|
@@ -122,7 +122,7 @@ module Readiness
|
|
122
122
|
# @author Jason Colyer
|
123
123
|
# @since 1.0.42
|
124
124
|
def self.contact_name
|
125
|
-
@contact_name ||= ENV.fetch('
|
125
|
+
@contact_name ||= ENV.fetch('CONTACT_NAME')
|
126
126
|
end
|
127
127
|
|
128
128
|
##
|
@@ -131,7 +131,7 @@ module Readiness
|
|
131
131
|
# @author Jason Colyer
|
132
132
|
# @since 1.0.42
|
133
133
|
def self.contact_email
|
134
|
-
@contact_email ||= ENV.fetch('
|
134
|
+
@contact_email ||= ENV.fetch('CONTACT_EMAIL')
|
135
135
|
end
|
136
136
|
|
137
137
|
##
|
@@ -140,7 +140,7 @@ module Readiness
|
|
140
140
|
# @author Jason Colyer
|
141
141
|
# @since 1.0.42
|
142
142
|
def self.company
|
143
|
-
@company ||= ENV.fetch('
|
143
|
+
@company ||= ENV.fetch('COMPANY')
|
144
144
|
end
|
145
145
|
|
146
146
|
##
|
@@ -149,7 +149,7 @@ module Readiness
|
|
149
149
|
# @author Jason Colyer
|
150
150
|
# @since 1.0.42
|
151
151
|
def self.current
|
152
|
-
@current ||= ENV.fetch('
|
152
|
+
@current ||= ENV.fetch('SEAT_COUNT')
|
153
153
|
end
|
154
154
|
|
155
155
|
##
|
@@ -158,7 +158,7 @@ module Readiness
|
|
158
158
|
# @author Jason Colyer
|
159
159
|
# @since 1.0.42
|
160
160
|
def self.previous
|
161
|
-
@previous ||= ENV.fetch('
|
161
|
+
@previous ||= ENV.fetch('PREVIOUS_COUNT')
|
162
162
|
end
|
163
163
|
|
164
164
|
##
|
@@ -167,7 +167,7 @@ module Readiness
|
|
167
167
|
# @author Jason Colyer
|
168
168
|
# @since 1.0.42
|
169
169
|
def self.trueup
|
170
|
-
@trueup ||= ENV.fetch('
|
170
|
+
@trueup ||= ENV.fetch('TRUEUP_COUNT')
|
171
171
|
end
|
172
172
|
|
173
173
|
##
|
@@ -176,7 +176,7 @@ module Readiness
|
|
176
176
|
# @author Jason Colyer
|
177
177
|
# @since 1.0.42
|
178
178
|
def self.plan
|
179
|
-
@plan ||= ENV.fetch('
|
179
|
+
@plan ||= ENV.fetch('SM_PLAN')
|
180
180
|
end
|
181
181
|
|
182
182
|
##
|
@@ -185,7 +185,7 @@ module Readiness
|
|
185
185
|
# @author Jason Colyer
|
186
186
|
# @since 1.0.42
|
187
187
|
def self.approver
|
188
|
-
@approver ||= ENV.fetch('
|
188
|
+
@approver ||= ENV.fetch('APPROVING_MANAGER')
|
189
189
|
end
|
190
190
|
|
191
191
|
##
|
@@ -194,7 +194,7 @@ module Readiness
|
|
194
194
|
# @author Jason Colyer
|
195
195
|
# @since 1.0.42
|
196
196
|
def self.expiration
|
197
|
-
@expiration ||= ENV.fetch('
|
197
|
+
@expiration ||= ENV.fetch('EXPIRATION_DATE')
|
198
198
|
end
|
199
199
|
|
200
200
|
##
|
@@ -203,7 +203,7 @@ module Readiness
|
|
203
203
|
# @author Jason Colyer
|
204
204
|
# @since 1.0.42
|
205
205
|
def self.reason
|
206
|
-
@reason ||= ENV.fetch('
|
206
|
+
@reason ||= ENV.fetch('REASON_FOR_LICENSE')
|
207
207
|
end
|
208
208
|
|
209
209
|
##
|
@@ -91,7 +91,7 @@ module Readiness
|
|
91
91
|
# @author Jason Colyer
|
92
92
|
# @since 1.0.42
|
93
93
|
def self.org_id
|
94
|
-
@org_id ||= ENV.fetch('
|
94
|
+
@org_id ||= ENV.fetch('ORG_ID')
|
95
95
|
end
|
96
96
|
|
97
97
|
##
|
@@ -100,7 +100,7 @@ module Readiness
|
|
100
100
|
# @author Jason Colyer
|
101
101
|
# @since 1.0.42
|
102
102
|
def self.collaboration_project_id
|
103
|
-
@collaboration_project_id ||= ENV.fetch('
|
103
|
+
@collaboration_project_id ||= ENV.fetch('PROJECT_ID')
|
104
104
|
end
|
105
105
|
|
106
106
|
##
|
@@ -174,7 +174,7 @@ module Readiness
|
|
174
174
|
# @author Jason Colyer
|
175
175
|
# @since 1.0.42
|
176
176
|
def self.org_id
|
177
|
-
@org_id ||= ENV.fetch('
|
177
|
+
@org_id ||= ENV.fetch('ORG_ID')
|
178
178
|
end
|
179
179
|
|
180
180
|
##
|
@@ -192,7 +192,7 @@ module Readiness
|
|
192
192
|
# @author Jason Colyer
|
193
193
|
# @since 1.0.42
|
194
194
|
def self.agent_id
|
195
|
-
@agent_id ||= ENV.fetch('
|
195
|
+
@agent_id ||= ENV.fetch('ZENDESK_AGENT_ID')
|
196
196
|
end
|
197
197
|
|
198
198
|
##
|
@@ -94,7 +94,7 @@ module Readiness
|
|
94
94
|
# @author Jason Colyer
|
95
95
|
# @since 1.0.51
|
96
96
|
def self.customer_email
|
97
|
-
@customer_email ||= ENV.fetch('
|
97
|
+
@customer_email ||= ENV.fetch('CONTACT_EMAIL')
|
98
98
|
end
|
99
99
|
|
100
100
|
##
|
@@ -103,7 +103,7 @@ module Readiness
|
|
103
103
|
# @author Jason Colyer
|
104
104
|
# @since 1.0.51
|
105
105
|
def self.customer_name
|
106
|
-
@customer_name ||= ENV.fetch('
|
106
|
+
@customer_name ||= ENV.fetch('CONTACT_NAME')
|
107
107
|
end
|
108
108
|
|
109
109
|
##
|
@@ -112,7 +112,7 @@ module Readiness
|
|
112
112
|
# @author Jason Colyer
|
113
113
|
# @since 1.0.51
|
114
114
|
def self.opportunity_link
|
115
|
-
@opportunity_link ||= ENV.fetch('
|
115
|
+
@opportunity_link ||= ENV.fetch('SFDC_OPPORTUNITY')
|
116
116
|
end
|
117
117
|
|
118
118
|
##
|
@@ -121,7 +121,7 @@ module Readiness
|
|
121
121
|
# @author Jason Colyer
|
122
122
|
# @since 1.0.86
|
123
123
|
def self.ticket_subject
|
124
|
-
@ticket_subject ||= ENV.fetch('
|
124
|
+
@ticket_subject ||= ENV.fetch('TICKET_SUBJECT', 'Gratis Support Request')
|
125
125
|
end
|
126
126
|
|
127
127
|
##
|
@@ -130,7 +130,7 @@ module Readiness
|
|
130
130
|
# @author Jason Colyer
|
131
131
|
# @since 1.0.51
|
132
132
|
def self.context
|
133
|
-
@context ||= ENV.fetch('
|
133
|
+
@context ||= ENV.fetch('TICKET_BODY')
|
134
134
|
end
|
135
135
|
|
136
136
|
##
|
@@ -139,7 +139,7 @@ module Readiness
|
|
139
139
|
# @author Jason Colyer
|
140
140
|
# @since 1.0.51
|
141
141
|
def self.region
|
142
|
-
@region ||= ENV.fetch('
|
142
|
+
@region ||= ENV.fetch('PREFERRED_REGION')
|
143
143
|
end
|
144
144
|
|
145
145
|
##
|
@@ -137,7 +137,7 @@ module Readiness
|
|
137
137
|
# @author Jason Colyer
|
138
138
|
# @since 1.0.42
|
139
139
|
def self.request_priority
|
140
|
-
@request_priority ||= ENV.fetch('
|
140
|
+
@request_priority ||= ENV.fetch('URGENCY')
|
141
141
|
end
|
142
142
|
|
143
143
|
##
|
@@ -146,7 +146,7 @@ module Readiness
|
|
146
146
|
# @author Jason Colyer
|
147
147
|
# @since 1.0.42
|
148
148
|
def self.region
|
149
|
-
@region ||= ENV.fetch('
|
149
|
+
@region ||= ENV.fetch('PREFERRED_REGION')
|
150
150
|
end
|
151
151
|
|
152
152
|
##
|
@@ -155,7 +155,7 @@ module Readiness
|
|
155
155
|
# @author Jason Colyer
|
156
156
|
# @since 1.0.42
|
157
157
|
def self.slack_url
|
158
|
-
@slack_url ||= ENV.fetch('
|
158
|
+
@slack_url ||= ENV.fetch('SLACK_LINK')
|
159
159
|
end
|
160
160
|
|
161
161
|
##
|
@@ -164,7 +164,7 @@ module Readiness
|
|
164
164
|
# @author Jason Colyer
|
165
165
|
# @since 1.0.42
|
166
166
|
def self.expectations
|
167
|
-
@expectations ||= ENV.fetch('
|
167
|
+
@expectations ||= ENV.fetch('SUPPORT_EXPECTATION')
|
168
168
|
end
|
169
169
|
|
170
170
|
##
|
@@ -173,7 +173,7 @@ module Readiness
|
|
173
173
|
# @author Jason Colyer
|
174
174
|
# @since 1.0.42
|
175
175
|
def self.sfdc_account
|
176
|
-
@sfdc_account ||= ENV.fetch('
|
176
|
+
@sfdc_account ||= ENV.fetch('SFDC_ACCOUNT')
|
177
177
|
end
|
178
178
|
|
179
179
|
##
|
@@ -182,16 +182,7 @@ module Readiness
|
|
182
182
|
# @author Jason Colyer
|
183
183
|
# @since 1.0.42
|
184
184
|
def self.sfdc_opportunity
|
185
|
-
@sfdc_opportunity ||= ENV.fetch('
|
186
|
-
end
|
187
|
-
|
188
|
-
##
|
189
|
-
# Sets the global variable collab_project
|
190
|
-
#
|
191
|
-
# @author Jason Colyer
|
192
|
-
# @since 1.0.42
|
193
|
-
def self.collab_project
|
194
|
-
@collab_project ||= ENV.fetch('INTERNAL_REQUEST_SUPPORT_SA_COLLAB_PROJECT')
|
185
|
+
@sfdc_opportunity ||= ENV.fetch('SFDC_OPPORTUNITY')
|
195
186
|
end
|
196
187
|
|
197
188
|
##
|
@@ -200,7 +191,7 @@ module Readiness
|
|
200
191
|
# @author Jason Colyer
|
201
192
|
# @since 1.0.131
|
202
193
|
def self.ticket_subject
|
203
|
-
@ticket_subject ||= ENV.fetch('
|
194
|
+
@ticket_subject ||= ENV.fetch('TICKET_SUBJECT', 'Support Internal Request - SA - Request for Support')
|
204
195
|
end
|
205
196
|
|
206
197
|
##
|
@@ -209,7 +200,7 @@ module Readiness
|
|
209
200
|
# @author Jason Colyer
|
210
201
|
# @since 1.0.131
|
211
202
|
def self.issue_description
|
212
|
-
@issue_description ||= ENV.fetch('
|
203
|
+
@issue_description ||= ENV.fetch('TICKET_BODY')
|
213
204
|
end
|
214
205
|
|
215
206
|
##
|
@@ -218,7 +209,7 @@ module Readiness
|
|
218
209
|
# @author Jason Colyer
|
219
210
|
# @since 1.0.131
|
220
211
|
def self.context
|
221
|
-
@context ||= ENV.fetch('
|
212
|
+
@context ||= ENV.fetch('TICKET_REFERENCES')
|
222
213
|
end
|
223
214
|
|
224
215
|
##
|
@@ -227,7 +218,7 @@ module Readiness
|
|
227
218
|
# @author Jason Colyer
|
228
219
|
# @since 1.0.131
|
229
220
|
def self.replication
|
230
|
-
@replication ||= ENV.fetch('
|
221
|
+
@replication ||= ENV.fetch('TICKET_REPLICATION', '')
|
231
222
|
end
|
232
223
|
|
233
224
|
##
|
@@ -236,7 +227,7 @@ module Readiness
|
|
236
227
|
# @author Jason Colyer
|
237
228
|
# @since 1.0.131
|
238
229
|
def self.arr_at_risk
|
239
|
-
@arr_at_risk ||= ENV.fetch('
|
230
|
+
@arr_at_risk ||= ENV.fetch('ARR_AT_RISK', '0')
|
240
231
|
end
|
241
232
|
|
242
233
|
##
|
@@ -245,7 +236,7 @@ module Readiness
|
|
245
236
|
# @author Jason Colyer
|
246
237
|
# @since 1.0.131
|
247
238
|
def self.category
|
248
|
-
@category ||= ENV.fetch('
|
239
|
+
@category ||= ENV.fetch('SUPPORT_IR_SUBCATEGORY', 'other')
|
249
240
|
end
|
250
241
|
|
251
242
|
## Determines category value from global variable
|
@@ -292,7 +283,6 @@ module Readiness
|
|
292
283
|
<li>Level of Urgency: #{request_priority}</li>
|
293
284
|
<li>#{Readiness::SupportSuperFormProcessor::Shared.sfdc_account_string(sfdc_account)}</li>
|
294
285
|
<li>#{Readiness::SupportSuperFormProcessor::Shared.sfdc_opportunity_string(sfdc_opportunity)}</li>
|
295
|
-
<li>#{collab_project.empty? ? 'No collaboration project project' : "<a href='#{collab_project}' target='_blank'>Collaboration Project</a>"}</li>
|
296
286
|
<li>ARR at risk: $#{sprintf("%.2f", arr_at_risk.to_f)}</li>
|
297
287
|
<li>Request category: #{category_value}</li>
|
298
288
|
</ul>
|
@@ -92,7 +92,7 @@ module Readiness
|
|
92
92
|
# @author Jason Colyer
|
93
93
|
# @since 1.0.42
|
94
94
|
def self.plan
|
95
|
-
@plan ||= ENV.fetch('
|
95
|
+
@plan ||= ENV.fetch('SM_PLAN')
|
96
96
|
end
|
97
97
|
|
98
98
|
##
|
@@ -101,7 +101,7 @@ module Readiness
|
|
101
101
|
# @author Jason Colyer
|
102
102
|
# @since 1.0.42
|
103
103
|
def self.seats
|
104
|
-
@seats ||= ENV.fetch('
|
104
|
+
@seats ||= ENV.fetch('SEAT_COUNT')
|
105
105
|
end
|
106
106
|
|
107
107
|
##
|
@@ -110,7 +110,7 @@ module Readiness
|
|
110
110
|
# @author Jason Colyer
|
111
111
|
# @since 1.0.42
|
112
112
|
def self.trueup
|
113
|
-
@trueup ||= ENV.fetch('
|
113
|
+
@trueup ||= ENV.fetch('TRUEUP_COUNT')
|
114
114
|
end
|
115
115
|
|
116
116
|
##
|
@@ -119,7 +119,7 @@ module Readiness
|
|
119
119
|
# @author Jason Colyer
|
120
120
|
# @since 1.0.42
|
121
121
|
def self.previous
|
122
|
-
@previous ||= ENV.fetch('
|
122
|
+
@previous ||= ENV.fetch('PREVIOUS_COUNT')
|
123
123
|
end
|
124
124
|
|
125
125
|
##
|
@@ -128,7 +128,7 @@ module Readiness
|
|
128
128
|
# @author Jason Colyer
|
129
129
|
# @since 1.0.42
|
130
130
|
def self.expiration
|
131
|
-
@expiration ||= ENV.fetch('
|
131
|
+
@expiration ||= ENV.fetch('EXPIRATION_DATE')
|
132
132
|
end
|
133
133
|
|
134
134
|
##
|
@@ -79,7 +79,7 @@ module Readiness
|
|
79
79
|
# @author Jason Colyer
|
80
80
|
# @since 1.0.42
|
81
81
|
def self.context
|
82
|
-
@context ||= ENV.fetch('
|
82
|
+
@context ||= ENV.fetch('LNR_OTHER_CONTEXT')
|
83
83
|
end
|
84
84
|
|
85
85
|
##
|
@@ -88,7 +88,7 @@ module Readiness
|
|
88
88
|
# @author Jason Colyer
|
89
89
|
# @since 1.0.42
|
90
90
|
def self.contact_name
|
91
|
-
@contact_name ||= ENV.fetch('
|
91
|
+
@contact_name ||= ENV.fetch('CONTACT_NAME')
|
92
92
|
end
|
93
93
|
|
94
94
|
##
|
@@ -97,7 +97,7 @@ module Readiness
|
|
97
97
|
# @author Jason Colyer
|
98
98
|
# @since 1.0.42
|
99
99
|
def self.contact_email
|
100
|
-
@contact_email ||= ENV.fetch('
|
100
|
+
@contact_email ||= ENV.fetch('CONTACT_EMAIL')
|
101
101
|
end
|
102
102
|
|
103
103
|
##
|
@@ -106,7 +106,7 @@ module Readiness
|
|
106
106
|
# @author Jason Colyer
|
107
107
|
# @since 1.0.42
|
108
108
|
def self.company
|
109
|
-
@company ||= ENV.fetch('
|
109
|
+
@company ||= ENV.fetch('COMPANY')
|
110
110
|
end
|
111
111
|
|
112
112
|
##
|
@@ -115,7 +115,7 @@ module Readiness
|
|
115
115
|
# @author Jason Colyer
|
116
116
|
# @since 1.0.42
|
117
117
|
def self.opp_link
|
118
|
-
@opp_link ||= ENV.fetch('
|
118
|
+
@opp_link ||= ENV.fetch('SFDC_OPPORTUNITY')
|
119
119
|
end
|
120
120
|
|
121
121
|
##
|
@@ -124,7 +124,7 @@ module Readiness
|
|
124
124
|
# @author Jason Colyer
|
125
125
|
# @since 1.0.42
|
126
126
|
def self.sub_name
|
127
|
-
@sub_name ||= ENV.fetch('
|
127
|
+
@sub_name ||= ENV.fetch('SUB_NAME')
|
128
128
|
end
|
129
129
|
|
130
130
|
##
|
@@ -133,7 +133,7 @@ module Readiness
|
|
133
133
|
# @author Jason Colyer
|
134
134
|
# @since 1.0.42
|
135
135
|
def self.sub_id
|
136
|
-
@sub_id ||= ENV.fetch('
|
136
|
+
@sub_id ||= ENV.fetch('ZUORA_SUB_ID')
|
137
137
|
end
|
138
138
|
|
139
139
|
##
|
@@ -142,7 +142,7 @@ module Readiness
|
|
142
142
|
# @author Jason Colyer
|
143
143
|
# @since 1.0.42
|
144
144
|
def self.start_date
|
145
|
-
@start_date ||= ENV.fetch('
|
145
|
+
@start_date ||= ENV.fetch('START_DATE')
|
146
146
|
end
|
147
147
|
|
148
148
|
##
|
@@ -151,7 +151,7 @@ module Readiness
|
|
151
151
|
# @author Jason Colyer
|
152
152
|
# @since 1.0.42
|
153
153
|
def self.end_date
|
154
|
-
@end_date ||= ENV.fetch('
|
154
|
+
@end_date ||= ENV.fetch('EXPIRATION_DATE')
|
155
155
|
end
|
156
156
|
|
157
157
|
##
|
@@ -160,7 +160,7 @@ module Readiness
|
|
160
160
|
# @author Jason Colyer
|
161
161
|
# @since 1.0.42
|
162
162
|
def self.current
|
163
|
-
@current ||= ENV.fetch('
|
163
|
+
@current ||= ENV.fetch('SEAT_COUNT')
|
164
164
|
end
|
165
165
|
|
166
166
|
##
|
@@ -169,7 +169,7 @@ module Readiness
|
|
169
169
|
# @author Jason Colyer
|
170
170
|
# @since 1.0.42
|
171
171
|
def self.previous
|
172
|
-
@previous ||= ENV.fetch('
|
172
|
+
@previous ||= ENV.fetch('PREVIOUS_COUNT')
|
173
173
|
end
|
174
174
|
|
175
175
|
##
|
@@ -178,7 +178,7 @@ module Readiness
|
|
178
178
|
# @author Jason Colyer
|
179
179
|
# @since 1.0.42
|
180
180
|
def self.trueup
|
181
|
-
@trueup ||= ENV.fetch('
|
181
|
+
@trueup ||= ENV.fetch('TRUEUP_COUNT')
|
182
182
|
end
|
183
183
|
|
184
184
|
##
|
@@ -187,7 +187,7 @@ module Readiness
|
|
187
187
|
# @author Jason Colyer
|
188
188
|
# @since 1.0.42
|
189
189
|
def self.plan
|
190
|
-
@plan ||= ENV.fetch('
|
190
|
+
@plan ||= ENV.fetch('SM_PLAN')
|
191
191
|
end
|
192
192
|
|
193
193
|
##
|
@@ -196,7 +196,7 @@ module Readiness
|
|
196
196
|
# @author Jason Colyer
|
197
197
|
# @since 1.0.42
|
198
198
|
def self.sfdc_account
|
199
|
-
@sfdc_account ||= ENV.fetch('
|
199
|
+
@sfdc_account ||= ENV.fetch('SFDC_ACCOUNT')
|
200
200
|
end
|
201
201
|
|
202
202
|
##
|
@@ -205,7 +205,7 @@ module Readiness
|
|
205
205
|
# @author Jason Colyer
|
206
206
|
# @since 1.0.42
|
207
207
|
def self.version
|
208
|
-
@version ||= ENV.fetch('
|
208
|
+
@version ||= ENV.fetch('SM_VERSION')
|
209
209
|
end
|
210
210
|
|
211
211
|
##
|
@@ -76,16 +76,7 @@ module Readiness
|
|
76
76
|
# @author Jason Colyer
|
77
77
|
# @since 1.0.42
|
78
78
|
def self.context
|
79
|
-
@context ||= ENV.fetch('
|
80
|
-
end
|
81
|
-
|
82
|
-
##
|
83
|
-
# Sets the global variable contact_email
|
84
|
-
#
|
85
|
-
# @author Jason Colyer
|
86
|
-
# @since 1.0.42
|
87
|
-
def self.contact_email
|
88
|
-
@contact_email ||= ENV.fetch('INTERNAL_REQUEST_USFED_EMAIL')
|
79
|
+
@context ||= ENV.fetch('LNR_OTHER_CONTEXT')
|
89
80
|
end
|
90
81
|
|
91
82
|
##
|
@@ -94,7 +85,7 @@ module Readiness
|
|
94
85
|
# @author Jason Colyer
|
95
86
|
# @since 1.0.42
|
96
87
|
def self.sfdc_account
|
97
|
-
@sfdc_account ||= ENV.fetch('
|
88
|
+
@sfdc_account ||= ENV.fetch('SFDC_ACCOUNT')
|
98
89
|
end
|
99
90
|
|
100
91
|
##
|
@@ -103,7 +94,7 @@ module Readiness
|
|
103
94
|
# @author Jason Colyer
|
104
95
|
# @since 1.0.42
|
105
96
|
def self.version
|
106
|
-
@version ||= ENV.fetch('
|
97
|
+
@version ||= ENV.fetch('SM_VERSION')
|
107
98
|
end
|
108
99
|
|
109
100
|
##
|
@@ -126,7 +117,6 @@ module Readiness
|
|
126
117
|
<ul>
|
127
118
|
<li>GitLab Version: #{version}</li>
|
128
119
|
<li>#{Readiness::SupportSuperFormProcessor::Shared.sfdc_account_string(sfdc_account)}</li>
|
129
|
-
<li>Contact email: #{contact_email}</li>
|
130
120
|
</ul>
|
131
121
|
<p>
|
132
122
|
Some additional context for this request is:
|
@@ -76,7 +76,7 @@ module Readiness
|
|
76
76
|
# @author Jason Colyer
|
77
77
|
# @since 1.0.42
|
78
78
|
def self.context
|
79
|
-
@context ||= ENV.fetch('
|
79
|
+
@context ||= ENV.fetch('LNR_OTHER_CONTEXT')
|
80
80
|
end
|
81
81
|
|
82
82
|
##
|
@@ -85,7 +85,7 @@ module Readiness
|
|
85
85
|
# @author Jason Colyer
|
86
86
|
# @since 1.0.42
|
87
87
|
def self.contact_name
|
88
|
-
@contact_name ||= ENV.fetch('
|
88
|
+
@contact_name ||= ENV.fetch('CONTACT_NAME')
|
89
89
|
end
|
90
90
|
|
91
91
|
##
|
@@ -94,7 +94,7 @@ module Readiness
|
|
94
94
|
# @author Jason Colyer
|
95
95
|
# @since 1.0.42
|
96
96
|
def self.contact_email
|
97
|
-
@contact_email ||= ENV.fetch('
|
97
|
+
@contact_email ||= ENV.fetch('CONTACT_EMAIL')
|
98
98
|
end
|
99
99
|
|
100
100
|
##
|
@@ -103,7 +103,7 @@ module Readiness
|
|
103
103
|
# @author Jason Colyer
|
104
104
|
# @since 1.0.42
|
105
105
|
def self.opp_link
|
106
|
-
@opp_link ||= ENV.fetch('
|
106
|
+
@opp_link ||= ENV.fetch('SFDC_OPPORTUNITY')
|
107
107
|
end
|
108
108
|
|
109
109
|
##
|
@@ -112,7 +112,7 @@ module Readiness
|
|
112
112
|
# @author Jason Colyer
|
113
113
|
# @since 1.0.42
|
114
114
|
def self.sfdc_account
|
115
|
-
@sfdc_account ||= ENV.fetch('
|
115
|
+
@sfdc_account ||= ENV.fetch('SFDC_ACCOUNT')
|
116
116
|
end
|
117
117
|
|
118
118
|
##
|
@@ -121,7 +121,7 @@ module Readiness
|
|
121
121
|
# @author Jason Colyer
|
122
122
|
# @since 1.0.42
|
123
123
|
def self.version
|
124
|
-
@version ||= ENV.fetch('
|
124
|
+
@version ||= ENV.fetch('SM_VERSION')
|
125
125
|
end
|
126
126
|
|
127
127
|
##
|
@@ -76,7 +76,7 @@ module Readiness
|
|
76
76
|
# @author Jason Colyer
|
77
77
|
# @since 1.0.42
|
78
78
|
def self.context
|
79
|
-
@context ||= ENV.fetch('
|
79
|
+
@context ||= ENV.fetch('LNR_OTHER_CONTEXT')
|
80
80
|
end
|
81
81
|
|
82
82
|
##
|
@@ -85,7 +85,7 @@ module Readiness
|
|
85
85
|
# @author Jason Colyer
|
86
86
|
# @since 1.0.42
|
87
87
|
def self.contact_name
|
88
|
-
@contact_name ||= ENV.fetch('
|
88
|
+
@contact_name ||= ENV.fetch('CONTACT_NAME')
|
89
89
|
end
|
90
90
|
|
91
91
|
##
|
@@ -94,7 +94,7 @@ module Readiness
|
|
94
94
|
# @author Jason Colyer
|
95
95
|
# @since 1.0.42
|
96
96
|
def self.contact_email
|
97
|
-
@contact_email ||= ENV.fetch('
|
97
|
+
@contact_email ||= ENV.fetch('CONTACT_EMAIL')
|
98
98
|
end
|
99
99
|
|
100
100
|
##
|
@@ -103,7 +103,7 @@ module Readiness
|
|
103
103
|
# @author Jason Colyer
|
104
104
|
# @since 1.0.42
|
105
105
|
def self.opp_link
|
106
|
-
@opp_link ||= ENV.fetch('
|
106
|
+
@opp_link ||= ENV.fetch('SFDC_OPPORTUNITY')
|
107
107
|
end
|
108
108
|
|
109
109
|
##
|
@@ -112,7 +112,7 @@ module Readiness
|
|
112
112
|
# @author Jason Colyer
|
113
113
|
# @since 1.0.42
|
114
114
|
def self.sfdc_account
|
115
|
-
@sfdc_account ||= ENV.fetch('
|
115
|
+
@sfdc_account ||= ENV.fetch('SFDC_ACCOUNT')
|
116
116
|
end
|
117
117
|
|
118
118
|
##
|
@@ -121,7 +121,7 @@ module Readiness
|
|
121
121
|
# @author Jason Colyer
|
122
122
|
# @since 1.0.42
|
123
123
|
def self.version
|
124
|
-
@version ||= ENV.fetch('
|
124
|
+
@version ||= ENV.fetch('SM_VERSION')
|
125
125
|
end
|
126
126
|
|
127
127
|
##
|