Hi EMM Team,
We have added new configurations to default app-manager.xml [1] that we
shift with org.wso2.carbon.appmgt.core.feature
<https://github.com/wso2/carbon-appmgt/tree/master/features/org.wso2.carbon.appmgt.core.feature>
. Since you are maintaining a separate app-manager.xml in [1], please add
the following new configurations which are related with binary file
storage, one-time download link generation, and whitelisted REST Apis.
1. Binary file storage config - For mobile binary file (.apk and.ipa
files) storage location(FilePreciseLocation) and one-time mobile app
download REST API (FileAPILocation)configuration
<MobileAppsConfiguration>
.............
<BinaryFileStorage>
<FilePreciseLocation>${carbon.home}/repository/resources/mobileapps/</FilePreciseLocation>
<FileAPILocation>/api/appm/store/v1.1/apps/mobile/binaries/one-time/</FileAPILocation>
</BinaryFileStorage>
</MobileAppsConfiguration>
2. WhiteListed REST API configuration - The APIs defined under this config
are whitelisted and can be accessed without OAuth security headers
<RESTAPI>
<!--Configure white-listed URIs of REST API. Accessing white-listed
URIs does not require credentials (does not require Authorization header).
-->
<WhiteListedURIs>
<WhiteListedURI>
<URI>/api/appm/store/{version}/apps/mobile/binaries/one-time/{uuid}</URI>
<HTTPMethods>GET,HEAD</HTTPMethods>
</WhiteListedURI>
<WhiteListedURI>
<URI>/api/appm/store/{version}/apps/static-contents/{fileName}</URI>
<HTTPMethods>GET,HEAD</HTTPMethods>
</WhiteListedURI>
<WhiteListedURI>
<URI>/api/appm/store/{version}/apps/mobile/plist/{appId}/{uuid}</URI>
<HTTPMethods>GET,HEAD</HTTPMethods>
</WhiteListedURI>
</WhiteListedURIs>
</RESTAPI>
3. IosPlistPath config - This configuration value should point to new REST
API for to retrieve plist.
<MDMConfig>
...........
<Config
name="IosPlistPath">/api/appm/store/v1.1/apps/mobile/plist</Config>
</MDMConfig>
[1] -
https://github.com/wso2/carbon-appmgt/blob/master/features/org.wso2.carbon.appmgt.core.feature/src/main/resources/config/app-manager.xml
[2] -
https://github.com/wso2/product-emm/blob/master/modules/distribution/src/repository/conf/app-manager.xml
Thanks
Thilini
--
Thilini Shanika
Senior Software Engineer
WSO2, Inc.; http://wso2.com
20, Palmgrove Avenue, Colombo 3
E-mail: [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev