Skip to content

Commit 2817a9c

Browse files
author
gdgate
authored
Merge pull request #4270 from maitrieuphilong/QA-20392-rc
FEATURE: QA-20392 change to use new tiger-dev url Reviewed-by: https://github.com/huyenthanh09
2 parents 83a2c3b + 8cec751 commit 2817a9c

File tree

33 files changed

+1616
-1586
lines changed

33 files changed

+1616
-1586
lines changed

examples/playground/webpack.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const playgroundDefinitions = {
1919
developer: ["https://developer.na.gooddata.com", "xms7ga4tf3g3nzucd8380o2bev8oeknp", "bear"],
2020
public: ["https://live-examples-proxy.herokuapp.com", "xms7ga4tf3g3nzucd8380o2bev8oeknp", "bear"],
2121
reference: ["https://secure.gooddata.com", "l32xdyl4bjuzgf9kkqr2avl55gtuyjwf", "bear"],
22-
"tiger-stg": ["https://staging.anywhere.gooddata.com", "4dc4e033e611421791adea58d34d958c", "tiger"],
22+
"tiger-stg": ["https://staging.dev-latest.stg11.panther.intgdc.com", "4dc4e033e611421791adea58d34d958c", "tiger"],
2323
};
2424

2525
module.exports = async (env, argv) => {

libs/sdk-backend-tiger/integrated-test.setup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ https.request = function cookieRewritingRequestFactory(req) {
5757
const requestCookies = req.headers["cookie"];
5858

5959
if (requestCookies) {
60-
req.headers["cookie"] = addDomain(requestCookies, "staging.anywhere.gooddata.com");
60+
req.headers["cookie"] = addDomain(requestCookies, "staging.dev-latest.stg11.panther.intgdc.com");
6161
}
6262

6363
const newRequest = originalRequest.apply(this, arguments);
@@ -66,7 +66,7 @@ https.request = function cookieRewritingRequestFactory(req) {
6666
const responseCookies = res.headers["set-cookie"];
6767

6868
if (responseCookies) {
69-
res.headers["set-cookie"] = stripDomain(responseCookies, "staging.anywhere.gooddata.com");
69+
res.headers["set-cookie"] = stripDomain(responseCookies, "staging.dev-latest.stg11.panther.intgdc.com");
7070
}
7171
});
7272

libs/sdk-backend-tiger/scripts/refresh-md.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ SCRIPTDIR=`dirname $0`
44
ROOTDIR="${SCRIPTDIR}/.."
55
EXPORTER="${ROOTDIR}/node_modules/.bin/gdc-catalog-export"
66
OUTPUT="${ROOTDIR}/src/fixtures/full.ts"
7-
PROJECTID="b51b89a10e5845189a6fea8e96dba226"
7+
PROJECTID="a9699e80b0ae484da980bde0b75499e3"
88

99
$EXPORTER \
10-
--hostname "https://staging.anywhere.gooddata.com" \
10+
--hostname "https://staging.dev-latest.stg11.panther.intgdc.com" \
1111
--catalog-output "${OUTPUT}" \
1212
--workspace-id "${PROJECTID}" \
1313
--backend "tiger"

libs/sdk-backend-tiger/scripts/remove-sensitive-data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function mockSensitiveData(accountSetting) {
1111
}
1212
if (modifiedAccountSetting.links?.user) {
1313
modifiedAccountSetting.links.user =
14-
"https://staging.anywhere.gooddata.com/api/v1/entities/users/first.last";
14+
"https://staging.dev-latest.stg11.panther.intgdc.com/api/v1/entities/users/first.last";
1515
}
1616
return modifiedAccountSetting;
1717
}

libs/sdk-backend-tiger/src/fixtures/full.ts

Lines changed: 90 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
/* THIS FILE WAS AUTO-GENERATED USING CATALOG EXPORTER; YOU SHOULD NOT EDIT THIS FILE; GENERATE TIME: 2023-10-12T08:51:06.884Z; */
2+
/* THIS FILE WAS AUTO-GENERATED USING CATALOG EXPORTER; YOU SHOULD NOT EDIT THIS FILE; GENERATE TIME: 2023-10-26T10:07:34.439Z; */
33
// @ts-ignore ignore unused imports here if they happen (e.g. when there is no measure in the workspace)
44
import {
55
newAttribute,
@@ -15,45 +15,45 @@ import {
1515
* Attribute ID: attr.f_account.account
1616
*/
1717
export const Account = {
18-
/**
19-
* Display Form Title: Name
20-
* Display Form ID: label.f_account.account.name
21-
*/
22-
Name: newAttribute("label.f_account.account.name"),
2318
/**
2419
* Display Form Title: Account
2520
* Display Form ID: attr.f_account.account
26-
*/ Default: newAttribute("attr.f_account.account"),
21+
*/
22+
Default: newAttribute("attr.f_account.account"),
23+
/**
24+
* Display Form Title: Name
25+
* Display Form ID: label.f_account.account.name
26+
*/ Name: newAttribute("label.f_account.account.name"),
2727
};
2828
/**
2929
* Attribute Title: Activity
3030
* Attribute ID: attr.f_activity.activity
3131
*/
3232
export const Activity = {
33-
/**
34-
* Display Form Title: Subject
35-
* Display Form ID: label.f_activity.subject
36-
*/
37-
Subject: newAttribute("label.f_activity.subject"),
3833
/**
3934
* Display Form Title: Activity
4035
* Display Form ID: attr.f_activity.activity
41-
*/ Default: newAttribute("attr.f_activity.activity"),
36+
*/
37+
Default: newAttribute("attr.f_activity.activity"),
38+
/**
39+
* Display Form Title: Subject
40+
* Display Form ID: label.f_activity.subject
41+
*/ Subject: newAttribute("label.f_activity.subject"),
4242
};
4343
/**
4444
* Attribute Title: Opportunity
4545
* Attribute ID: attr.f_opportunity.opportunity
4646
*/
4747
export const Opportunity = {
48-
/**
49-
* Display Form Title: Opportunity Name
50-
* Display Form ID: label.f_opportunity.opportunity.name
51-
*/
52-
Name: newAttribute("label.f_opportunity.opportunity.name"),
5348
/**
5449
* Display Form Title: Opportunity
5550
* Display Form ID: attr.f_opportunity.opportunity
56-
*/ Default: newAttribute("attr.f_opportunity.opportunity"),
51+
*/
52+
Default: newAttribute("attr.f_opportunity.opportunity"),
53+
/**
54+
* Display Form Title: Opportunity Name
55+
* Display Form ID: label.f_opportunity.opportunity.name
56+
*/ Name: newAttribute("label.f_opportunity.opportunity.name"),
5757
/**
5858
* Display Form Title: SFDC URL
5959
* Display Form ID: label.f_opportunity.opportunity.sfdcurl
@@ -69,30 +69,30 @@ export const OppSnapshot: IAttribute = newAttribute("attr.f_opportunitysnapshot.
6969
* Attribute ID: attr.f_owner.salesrep
7070
*/
7171
export const SalesRep = {
72-
/**
73-
* Display Form Title: Sales Rep
74-
* Display Form ID: attr.f_owner.salesrep
75-
*/
76-
Default: newAttribute("attr.f_owner.salesrep"),
7772
/**
7873
* Display Form Title: Owner Name
7974
* Display Form ID: label.f_owner.salesrep.ownername
80-
*/ OwnerName: newAttribute("label.f_owner.salesrep.ownername"),
75+
*/
76+
OwnerName: newAttribute("label.f_owner.salesrep.ownername"),
77+
/**
78+
* Display Form Title: Sales Rep
79+
* Display Form ID: attr.f_owner.salesrep
80+
*/ Default: newAttribute("attr.f_owner.salesrep"),
8181
};
8282
/**
8383
* Attribute Title: Product
8484
* Attribute ID: attr.f_product.product
8585
*/
8686
export const Product = {
87-
/**
88-
* Display Form Title: Product
89-
* Display Form ID: attr.f_product.product
90-
*/
91-
Default: newAttribute("attr.f_product.product"),
9287
/**
9388
* Display Form Title: Product Name
9489
* Display Form ID: label.f_product.product.name
95-
*/ Name: newAttribute("label.f_product.product.name"),
90+
*/
91+
Name: newAttribute("label.f_product.product.name"),
92+
/**
93+
* Display Form Title: Product
94+
* Display Form ID: attr.f_product.product
95+
*/ Default: newAttribute("attr.f_product.product"),
9696
};
9797
/**
9898
* Attribute Title: Stage History
@@ -105,18 +105,18 @@ export const StageHistory: IAttribute = newAttribute("attr.f_stagehistory.stageh
105105
*/
106106
export const StageName = {
107107
/**
108-
* Display Form Title: Order
109-
* Display Form ID: label.f_stage.stagename.order
108+
* Display Form Title: Stage Name
109+
* Display Form ID: attr.f_stage.stagename
110110
*/
111-
Order: newAttribute("label.f_stage.stagename.order"),
111+
Default: newAttribute("attr.f_stage.stagename"),
112112
/**
113113
* Display Form Title: Stage Name
114114
* Display Form ID: label.f_stage.stagename.stagename
115-
*/ Default: newAttribute("label.f_stage.stagename.stagename"),
115+
*/ _1: newAttribute("label.f_stage.stagename.stagename"),
116116
/**
117-
* Display Form Title: Stage Name
118-
* Display Form ID: attr.f_stage.stagename
119-
*/ _1: newAttribute("attr.f_stage.stagename"),
117+
* Display Form Title: Order
118+
* Display Form ID: label.f_stage.stagename.order
119+
*/ Order: newAttribute("label.f_stage.stagename.order"),
120120
};
121121
/**
122122
* Attribute Title: County name
@@ -163,27 +163,19 @@ export const Status: IAttribute = newAttribute("f_activity.status_id");
163163
* Attribute ID: f_city.id
164164
*/
165165
export const City = {
166+
/**
167+
* Display Form Title: City
168+
* Display Form ID: f_city.id
169+
*/
170+
Default: newAttribute("f_city.id"),
166171
/**
167172
* Display Form Title: City name
168173
* Display Form ID: f_city.id.cityname
169-
*/
170-
Name: newAttribute("f_city.id.cityname"),
174+
*/ Name: newAttribute("f_city.id.cityname"),
171175
/**
172176
* Display Form Title: Location
173177
* Display Form ID: f_city.id.location
174178
*/ Location: newAttribute("f_city.id.location"),
175-
/**
176-
* Display Form Title: City
177-
* Display Form ID: f_city.id
178-
*/ Default: newAttribute("f_city.id"),
179-
/**
180-
* Display Form Title: City ascii name
181-
* Display Form ID: f_city.id.cityasciiname
182-
*/ AsciiName: newAttribute("f_city.id.cityasciiname"),
183-
/**
184-
* Display Form Title: City short name
185-
* Display Form ID: f_city.id.cityshortname
186-
*/ ShortName: newAttribute("f_city.id.cityshortname"),
187179
/**
188180
* Display Form Title: Latitude
189181
* Display Form ID: f_city.id.latitude
@@ -192,6 +184,14 @@ export const City = {
192184
* Display Form Title: Longitude
193185
* Display Form ID: f_city.id.longitude
194186
*/ Longitude: newAttribute("f_city.id.longitude"),
187+
/**
188+
* Display Form Title: City short name
189+
* Display Form ID: f_city.id.cityshortname
190+
*/ ShortName: newAttribute("f_city.id.cityshortname"),
191+
/**
192+
* Display Form Title: City ascii name
193+
* Display Form ID: f_city.id.cityasciiname
194+
*/ AsciiName: newAttribute("f_city.id.cityasciiname"),
195195
};
196196
/**
197197
* Attribute Title: Opportunity Id
@@ -213,15 +213,15 @@ export const OppSnapshotId: IAttribute = newAttribute("f_opportunitysnapshot.id"
213213
* Attribute ID: f_owner.department_id
214214
*/
215215
export const Department = {
216-
/**
217-
* Display Form Title: Department hyperlink
218-
* Display Form ID: f_owner.department_id.departmenthyperlink
219-
*/
220-
Hyperlink: newAttribute("f_owner.department_id.departmenthyperlink"),
221216
/**
222217
* Display Form Title: Department
223218
* Display Form ID: f_owner.department_id
224-
*/ Default: newAttribute("f_owner.department_id"),
219+
*/
220+
Default: newAttribute("f_owner.department_id"),
221+
/**
222+
* Display Form Title: Department hyperlink
223+
* Display Form ID: f_owner.department_id.departmenthyperlink
224+
*/ Hyperlink: newAttribute("f_owner.department_id.departmenthyperlink"),
225225
};
226226
/**
227227
* Attribute Title: Owner Id
@@ -253,38 +253,6 @@ export const ProductId: IAttribute = newAttribute("f_product.id");
253253
* Attribute ID: f_stagehistory.id
254254
*/
255255
export const StageHistoryId: IAttribute = newAttribute("f_stagehistory.id");
256-
/**
257-
* Attribute Title: State
258-
* Attribute ID: state_id
259-
*/
260-
export const State = {
261-
/**
262-
* Display Form Title: State
263-
* Display Form ID: state_id
264-
*/
265-
Default: newAttribute("state_id"),
266-
/**
267-
* Display Form Title: State name
268-
* Display Form ID: state_id.statename
269-
*/ Name: newAttribute("state_id.statename"),
270-
};
271-
/**
272-
* Attribute Title: Product that is renamed to test the long attribute name
273-
* Attribute ID: productthatisrenamedtotestthelongattributename
274-
*/
275-
export const ProductThatIsRenamedToTestTheLongAttributeName = {
276-
/**
277-
* Display Form Title: Product that is renamed to test the long attribute name
278-
* Display Form ID: productthatisrenamedtotestthelongattributename
279-
*/
280-
Default: newAttribute("productthatisrenamedtotestthelongattributename"),
281-
/**
282-
* Display Form Title: Product that is renamed to test the long attribute name hyperlink
283-
* Display Form ID: productthatisrenamedtotestthelongattributename.productthatisrenamedtotestthelongattributenamehyperlink
284-
*/ Hyperlink: newAttribute(
285-
"productthatisrenamedtotestthelongattributename.productthatisrenamedtotestthelongattributenamehyperlink",
286-
),
287-
};
288256
/**
289257
* Attribute Title: Stage Id
290258
* Attribute ID: f_stage.id
@@ -310,11 +278,43 @@ export const IsWon: IAttribute = newAttribute("f_stage.iswon_id");
310278
* Attribute ID: f_stage.status_id
311279
*/
312280
export const Status_1: IAttribute = newAttribute("f_stage.status_id");
281+
/**
282+
* Attribute Title: Product that is renamed to test the long attribute name
283+
* Attribute ID: productthatisrenamedtotestthelongattributename
284+
*/
285+
export const ProductThatIsRenamedToTestTheLongAttributeName = {
286+
/**
287+
* Display Form Title: Product that is renamed to test the long attribute name hyperlink
288+
* Display Form ID: productthatisrenamedtotestthelongattributename.productthatisrenamedtotestthelongattributenamehyperlink
289+
*/
290+
Hyperlink: newAttribute(
291+
"productthatisrenamedtotestthelongattributename.productthatisrenamedtotestthelongattributenamehyperlink",
292+
),
293+
/**
294+
* Display Form Title: Product that is renamed to test the long attribute name
295+
* Display Form ID: productthatisrenamedtotestthelongattributename
296+
*/ Default: newAttribute("productthatisrenamedtotestthelongattributename"),
297+
};
313298
/**
314299
* Attribute Title: Timeline
315300
* Attribute ID: f_timeline.id
316301
*/
317302
export const Timeline: IAttribute = newAttribute("f_timeline.id");
303+
/**
304+
* Attribute Title: State
305+
* Attribute ID: state_id
306+
*/
307+
export const State = {
308+
/**
309+
* Display Form Title: State name
310+
* Display Form ID: state_id.statename
311+
*/
312+
Name: newAttribute("state_id.statename"),
313+
/**
314+
* Display Form Title: State
315+
* Display Form ID: state_id
316+
*/ Default: newAttribute("state_id"),
317+
};
318318
/**
319319
* Metric Title: 2 literals in datetime_diff
320320
* Metric ID: 2_literals_in_datetime_diff

libs/sdk-backend-tiger/tests/integrated/__snapshots__/catalog.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19820,7 +19820,7 @@ exports[`tiger catalog > should read catalog for reference workspace 1`] = `
1982019820
"attributeHierarchy",
1982119821
],
1982219822
},
19823-
"workspace": "b51b89a10e5845189a6fea8e96dba226",
19823+
"workspace": "a9699e80b0ae484da980bde0b75499e3",
1982419824
}
1982519825
`;
1982619826

@@ -23394,6 +23394,6 @@ exports[`tiger catalog > should read catalog for reference workspace with additi
2339423394
"dateDataset",
2339523395
],
2339623396
},
23397-
"workspace": "b51b89a10e5845189a6fea8e96dba226",
23397+
"workspace": "a9699e80b0ae484da980bde0b75499e3",
2339823398
}
2339923399
`;

libs/sdk-backend-tiger/tests/integrated/backend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function testWorkspace(): string {
7777
}
7878

7979
function getRecordingsWorkspaceId() {
80-
return "b51b89a10e5845189a6fea8e96dba226";
80+
return "a9699e80b0ae484da980bde0b75499e3";
8181
}
8282

8383
export function sanitizeKeyWithNewValue(result: object, key: string, newValue: string) {

libs/sdk-backend-tiger/tests/wiremock/proxy_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"urlPattern": "/api/.*"
55
},
66
"response": {
7-
"proxyBaseUrl": "https://staging.anywhere.gooddata.com"
7+
"proxyBaseUrl": "https://staging.dev-latest.stg11.panther.intgdc.com"
88
}
99
}

libs/sdk-backend-tiger/tests/wiremock/recording_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"targetBaseUrl": "https://staging.anywhere.gooddata.com",
2+
"targetBaseUrl": "https://staging.dev-latest.stg11.panther.intgdc.com",
33
"filters": {
44
"urlPathPattern": "/api/.*",
55
"method": "ANY",

libs/sdk-backend-tiger/tests/wiremock/recordings/__files/api_v1_actions_workspaces_b51b89a10e5845189a6fea8e96dba226_execution_afm_computevalidobjects-acf8b269-a949-44d8-9ac2-678272aa544d.json renamed to libs/sdk-backend-tiger/tests/wiremock/recordings/__files/api_v1_actions_workspaces_a9699e80b0ae484da980bde0b75499e3_execution_afm_computevalidobjects-430df64e-f4e6-46d7-af5d-46b8637fa65c.json

File renamed without changes.

0 commit comments

Comments
 (0)