-
Notifications
You must be signed in to change notification settings - Fork 3
/
sdk-config.json
77 lines (66 loc) · 3.39 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 Angular SDK",
"sdk_optional_configs_doc_comment": "See the document(link below) for more details on all the available config settings",
"sdk_optional_configs_doc": "https://docs.pega.com/bundle/constellation-sdk/page/constellation-sdks/sdks/configuring-sdk-config-json.html",
"authConfig": {
"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": "69184022781147469983",
"mashupUserIdentifier": "customer@mediaco",
"mashupClient_comment3": "Note: mashupPassword requires Base64 encoding",
"mashupPassword": "",
"portalClientId_comment": "Client ID from the OAuth 2.0 Client Registration record used for portal use case",
"portalClientId": "69184022781147469983"
},
"serverConfig": {
"infinityRestServerUrl_comment": "Full path to Infinity REST server",
"infinityRestServerUrl": "https://localhost:1080/prweb",
"appAlias_comment": "appAlias of the application which operators will be accessing (e.g., MediaCo)",
"appAlias": "",
"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-a.crt",
"key": "./keys/sdk-a.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": ""
}
}
}