-
Notifications
You must be signed in to change notification settings - Fork 1
/
sdk-config.json
77 lines (69 loc) · 3.59 KB
/
sdk-config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"comment_sdk_config": "This is the configuration file for the React SDK",
"authConfig": {
"authConfig_comment": "Optional Full paths to Infinity server OAuth endpoints (Only needed if using custom OAuth service)",
"authConfig_comment2": "Optional attributes are: authorize, token, revoke, redirectUri, authService, silentTimeout, iframeLoginUI,",
"authConfig_comment3": "mashupAuthService, portalGrantType, mashupGrantType, tokenStorage",
"authService": "pega",
"mashupClient_comment": "Client ID and Client secret from the OAuth 2.0 Client Registration record used for mashup use case",
"mashupClient_comment2": "See SDK Guide for instructions on how to generate and obtain the proper values for the following entries",
"mashupClientId": "11351708984521870813",
"mashupUserIdentifier": "",
"mashupClient_comment3": "Note: mashupPassword requires Base64 encoding //pass Rules123!3111 as base64 encoded",
"mashupPassword": "",
"grantType": "customBearer",
"mashupGrantType": "customBearer",
"portalClientId_comment": "Client ID from the OAuth 2.0 Client Registration record used for portal use case",
"portalClientId": "13472497343171375122"
},
"serverConfig": {
"infinityRestServerUrl_comment": "Full path to Infinity REST server",
"infinityRestServerUrl": "https://lab0339.lab.pega.com/prweb",
"appAlias_comment": "appAlias of the application which operators will be accessing (e.g., MediaCo)",
"appAlias": "TellUsMoreRef",
"sdkContentServerUrl_comment": "If specified, the given URL will be used. If left blank, window.location.origin will be used.",
"sdkContentServerUrl": "",
"appPortal_comment": "If specified, the given appPortal will be loaded. If left blank, the operator's default Portal is used. Ignored for Embedded use",
"appPortal": "",
"appMashupCaseType_comment": "If specified, uses this case type for mashup. Otherwise, uses the first case type found for the app",
"appMashupCaseType": "",
"excludePortals_comment": "Array of specific portals to avoid attempting to load with SDK",
"excludePortals": ["pxExpress", "Developer", "pxPredictionStudio", "pxAdminStudio", "pyCaseWorker", "pyCaseManager7"]
},
"dxcbConfig": {
"publishAccess": {
"rulesetName": "CustomDXComponents",
"rulesetVersion": "01-01-01",
"sourceOfComponents": "Server",
"devBuild": false,
"clientId": "10095186356008396159",
"clientSecret_comment": "Needed only when using 'passwordCreds' or 'clientCreds' grantType",
"clientSecret": "",
"grantType_comment": "Preferred is 'authCode' as it works for public registrations (no clientSecret)",
"grantType": "authCode",
"redirectUri": "https://localhost:4010/",
"cert_and_key_comment": "Path to SSL certificate file and SSL key file to use when starting local HTTPS server",
"cert_and_key_comment2": "Needed only when using 'authCode' grantType and redirectUri begins with 'https://localhost'",
"cert": "./keys/sdk-r.crt",
"key": "./keys/sdk-r.key",
"user_and_password_comment": "Useful primarily when using 'passwordCreds' grantType",
"user": "",
"password": ""
},
"componentDefaults": {
"organization": "YourOrg",
"library": "YourComponentLib",
"version": "0.0.1",
"type": "",
"subtype": "",
"description": "",
"icon": "",
"lintAction": "show"
},
"componentTemplates": {
"componentTemplates_comment": "Optional paths for location of custom or override templates.",
"customTemplatesPath": "",
"overrideTemplatesPath": ""
}
}
}