|
|
|
@ -1,16 +1,36 @@
|
|
|
|
|
{
|
|
|
|
|
"appContext": "/devicemgt/",
|
|
|
|
|
"isCloud": false,
|
|
|
|
|
"httpsURL" : "https://%iot.gateway.host%:%iot.gateway.https.port%",
|
|
|
|
|
"httpURL" : "http://%iot.gateway.host%:%iot.gateway.http.port",
|
|
|
|
|
"wssURL" : "https://%iot.analytics.host%:%iot.analytics.https.port%",
|
|
|
|
|
"cloudConfig": {
|
|
|
|
|
"upgradeNowURL": "",
|
|
|
|
|
"monetizationURL": "",
|
|
|
|
|
"requestExtensionURL": "",
|
|
|
|
|
"publisherURL": "",
|
|
|
|
|
"storeURL": "",
|
|
|
|
|
"contactUsURL": "",
|
|
|
|
|
"apiCloudDocURL": "https://docs.wso2.com/display/APICloud/WSO2+API+Cloud+Documentation",
|
|
|
|
|
"appCloudDocURL": "https://docs.wso2.com/display/AppCloud/WSO2+App+Cloud+Documentation",
|
|
|
|
|
"deviceCloudDocURL": "https://docs.wso2.com/display/DeviceCloud/WSO2+Device+Cloud+Documentation",
|
|
|
|
|
"apiCloudWalkthroughURL": "https://api.clouddev.wso2.com/publisher?interactiveTutorial=true",
|
|
|
|
|
"profileURL": "https://cloudmgt.clouddev.wso2.com/cloudmgt/site/pages/user-profile.jag",
|
|
|
|
|
"changePasswordURL": "https://cloudmgt.clouddev.wso2.com/cloudmgt/site/pages/change-password.jag",
|
|
|
|
|
"logoutURL": "https://api.clouddev.wso2.com/publisher/site/pages/logout.jag",
|
|
|
|
|
"apiCloudURL": "",
|
|
|
|
|
"appCloudURL": "",
|
|
|
|
|
"deviceCloudURL": "",
|
|
|
|
|
"oraganizationURL": "",
|
|
|
|
|
"membersURL": ""
|
|
|
|
|
},
|
|
|
|
|
"httpsURL": "https://%iot.gateway.host%:%iot.gateway.https.port%",
|
|
|
|
|
"httpURL": "http://%iot.gateway.host%:%iot.gateway.http.port",
|
|
|
|
|
"wssURL": "https://%iot.analytics.host%:%iot.analytics.https.port%",
|
|
|
|
|
"portalURL": "https://%iot.analytics.host%:%iot.analytics.https.port%",
|
|
|
|
|
"dashboardServerURL" : "%https.ip%",
|
|
|
|
|
"dashboardServerURL": "%https.ip%",
|
|
|
|
|
"androidEnrollmentDir": "/android-web-agent/enrollment",
|
|
|
|
|
"windowsEnrollmentDir": "/windows-web-agent/enrollment",
|
|
|
|
|
"iOSEnrollmentDir": "/ios-web-agent/enrollment",
|
|
|
|
|
"iOSConfigRoot" : "%https.ip%/ios-enrollment/",
|
|
|
|
|
"iOSAPIRoot" : "%https.ip%/ios/",
|
|
|
|
|
"iOSConfigRoot": "%https.ip%/ios-enrollment/",
|
|
|
|
|
"iOSAPIRoot": "%https.ip%/ios/",
|
|
|
|
|
"adminService": "%https.ip%",
|
|
|
|
|
"gatewayEnabled": true,
|
|
|
|
|
"oauthProvider": {
|
|
|
|
@ -27,41 +47,41 @@
|
|
|
|
|
},
|
|
|
|
|
"tokenServiceURL": "https://%iot.gateway.host%:%iot.gateway.https.port%/token"
|
|
|
|
|
},
|
|
|
|
|
"adminUser":"admin@carbon.super",
|
|
|
|
|
"adminUserTenantId":"-1234",
|
|
|
|
|
"adminRole":"admin",
|
|
|
|
|
"userValidationConfig" : {
|
|
|
|
|
"usernameLength":30,
|
|
|
|
|
"usernameJSRegEx" : "^[\\S]{3,30}$",
|
|
|
|
|
"usernameRegExViolationErrorMsg" : "Provided username is invalid.",
|
|
|
|
|
"usernameHelpMsg" : "Should be in minimum 3 characters long and do not include any whitespaces.",
|
|
|
|
|
"firstnameJSRegEx" : "^.{3,30}$",
|
|
|
|
|
"firstnameRegExViolationErrorMsg" : "Provided first name is invalid.",
|
|
|
|
|
"lastnameJSRegEx" : "^.{3,30}$",
|
|
|
|
|
"lastnameRegExViolationErrorMsg" : "Provided last name is invalid.",
|
|
|
|
|
"emailJSRegEx" : "/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/",
|
|
|
|
|
"emailRegExViolationErrorMsg" : "Provided email is invalid."
|
|
|
|
|
"adminUser": "admin@carbon.super",
|
|
|
|
|
"adminUserTenantId": "-1234",
|
|
|
|
|
"adminRole": "admin",
|
|
|
|
|
"userValidationConfig": {
|
|
|
|
|
"usernameLength": 30,
|
|
|
|
|
"usernameJSRegEx": "^[\\S]{3,30}$",
|
|
|
|
|
"usernameRegExViolationErrorMsg": "Provided username is invalid.",
|
|
|
|
|
"usernameHelpMsg": "Should be in minimum 3 characters long and do not include any whitespaces.",
|
|
|
|
|
"firstnameJSRegEx": "^.{3,30}$",
|
|
|
|
|
"firstnameRegExViolationErrorMsg": "Provided first name is invalid.",
|
|
|
|
|
"lastnameJSRegEx": "^.{3,30}$",
|
|
|
|
|
"lastnameRegExViolationErrorMsg": "Provided last name is invalid.",
|
|
|
|
|
"emailJSRegEx": "/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/",
|
|
|
|
|
"emailRegExViolationErrorMsg": "Provided email is invalid."
|
|
|
|
|
},
|
|
|
|
|
"groupValidationConfig": {
|
|
|
|
|
"groupNameJSRegEx": "^[\\S]{3,30}$",
|
|
|
|
|
"groupNameRegExViolationErrorMsg": "Provided group name is invalid.",
|
|
|
|
|
"groupNameHelpMsg": "Should be in minimum 3 characters long and should not include any whitespaces."
|
|
|
|
|
},
|
|
|
|
|
"roleValidationConfig" : {
|
|
|
|
|
"roleNameJSRegEx" : "^[\\S]{3,30}$",
|
|
|
|
|
"roleNameRegExViolationErrorMsg" : "Provided role name is invalid.",
|
|
|
|
|
"roleNameHelpMsg" : "should be in minimum 3 characters long and do not include any whitespaces."
|
|
|
|
|
"roleValidationConfig": {
|
|
|
|
|
"roleNameJSRegEx": "^[\\S]{3,30}$",
|
|
|
|
|
"roleNameRegExViolationErrorMsg": "Provided role name is invalid.",
|
|
|
|
|
"roleNameHelpMsg": "should be in minimum 3 characters long and do not include any whitespaces."
|
|
|
|
|
},
|
|
|
|
|
"generalConfig" : {
|
|
|
|
|
"host" : "%http.ip%",
|
|
|
|
|
"companyName" : "WSO2 Carbon Device Manager",
|
|
|
|
|
"browserTitle" : "WSO2 Device Manager",
|
|
|
|
|
"copyrightPrefix" : "\u00A9 %date-year%, ",
|
|
|
|
|
"copyrightOwner" : "WSO2 Inc.",
|
|
|
|
|
"copyrightOwnersSite" : "http://www.wso2.org",
|
|
|
|
|
"copyrightSuffix" : " All Rights Reserved."
|
|
|
|
|
"generalConfig": {
|
|
|
|
|
"host": "%http.ip%",
|
|
|
|
|
"companyName": "WSO2 Carbon Device Manager",
|
|
|
|
|
"browserTitle": "WSO2 Device Manager",
|
|
|
|
|
"copyrightPrefix": "\u00A9 %date-year%, ",
|
|
|
|
|
"copyrightOwner": "WSO2 Inc.",
|
|
|
|
|
"copyrightOwnersSite": "http://www.wso2.org",
|
|
|
|
|
"copyrightSuffix": " All Rights Reserved."
|
|
|
|
|
},
|
|
|
|
|
"scopes" : [
|
|
|
|
|
"scopes": [
|
|
|
|
|
"perm:sign-csr",
|
|
|
|
|
"perm:admin:devices:view",
|
|
|
|
|
"perm:roles:add",
|
|
|
|
@ -178,8 +198,8 @@
|
|
|
|
|
"perm:admin",
|
|
|
|
|
"perm:devicetype:deployment"
|
|
|
|
|
],
|
|
|
|
|
"isOAuthEnabled" : true,
|
|
|
|
|
"backendRestEndpoints" : {
|
|
|
|
|
"deviceMgt" : "/api/device-mgt/v1.0"
|
|
|
|
|
"isOAuthEnabled": true,
|
|
|
|
|
"backendRestEndpoints": {
|
|
|
|
|
"deviceMgt": "/api/device-mgt/v1.0"
|
|
|
|
|
}
|
|
|
|
|
}
|