Hi App Manager Team, Please use password grant type OAUTH token to invoke end point in MDM. password grant type tokens should be fetch using pre configured super tenant user. The ide is, In MDM end, we need to start requested tenant flow (requested in the end point). Before start a tenant flow we are checking the invoked user via API is super tenant user. If the user has less privileges, in our end not allow to start a tenant flow.
Thanks On Mon, May 18, 2015 at 10:54 AM, Milan Perera <[email protected]> wrote: > [adding dev] > ---------- Forwarded message ---------- > From: Manoj Gunawardena <[email protected]> > Date: Mon, May 18, 2015 at 3:08 AM > Subject: Re: AppManager Integration Progress Update > To: Dilshan Edirisuriya <[email protected]>, Dulitha Wijewantha < > [email protected]> > Cc: Prabath Abeysekera <[email protected]>, Dilan Udara Ariyaratne < > [email protected]>, Asok Perera <[email protected]>, Geeth Munasinghe < > [email protected]>, Harshan Liyanage <[email protected]>, Inosh Perera < > [email protected]>, Kasun Dananjaya Delgolla <[email protected]>, Milan > Perera <[email protected]> > > > Hi Dilshan, Chan > APNS call from plugin for APP installation completed. Please test end to > end with payloads send from app manager. > Device Info and app list update completed. > > Thanks > > On Mon, May 18, 2015 at 12:22 AM, Manoj Gunawardena <[email protected]> > wrote: > >> meregd >> >> On Mon, May 18, 2015 at 12:19 AM, Milan Perera <[email protected]> wrote: >> >>> Hi Manoj, >>> >>> I have fixed some issues of rest-api (mdm-admin) in order to uninstall >>> app via AppM. And I have tested end to end the function for all 3 types of >>> applications for Android using rest client. Now its working. >>> >>> Please review and merge PR: https://github.com/wso2/product-mdm/pull/53 >>> >>> Regards, >>> >>> On Sun, May 17, 2015 at 7:48 PM, Manoj Gunawardena <[email protected]> >>> wrote: >>> >>>> Can u test and verify uninstallation operation for android? >>>> >>>> >>>> On Sunday, May 17, 2015, Milan Perera <[email protected]> wrote: >>>> > Hi all, >>>> > >>>> > Currently we have modified admin jax-rs (mdm-admin) to support >>>> install application via app manager for all types of application including >>>> Enterprise, Store and Webapp. This functionality compatible for both IOS >>>> and Android. >>>> > >>>> > So I have done end to end testing for Android and its working as >>>> expected. Then tested IOS up to core level. >>>> > >>>> > I think Dilshan will be able to test these function with the help of >>>> a rest client using following payload. >>>> > >>>> > endpoint: /mdm-admin/operations/installApp/{tenantdomain} >>>> > >>>> > payload-enterprise >>>> > ============== >>>> > { >>>> > "userNameList": [ >>>> > "admin" >>>> > ], >>>> > "roleNameList": [ >>>> > "admin" >>>> > ], >>>> > "deviceIdentifiers": [ >>>> > { >>>> > "id": "08:00:27:fe:27:7b", >>>> > "type": "ios" >>>> > } >>>> > ], >>>> > "application": { >>>> > "id": "id", >>>> > "name": "test", >>>> > "type": "ENTERPRISE", >>>> > "platform": "android", >>>> > "version": "1.0", >>>> > "identifier": "sdfsdfldfs", >>>> > "iconImage": "http://gogle.com", >>>> > "packageName": "com.google.mail", >>>> > "appIdentifier": "asdf", >>>> > "location": "location", >>>> > "properties": { >>>> > "isRemoveApp": true, >>>> > "isPreventBackup": true >>>> > } >>>> > } >>>> > } >>>> > payload-store >>>> > =========== >>>> > { >>>> > "userNameList": [ >>>> > "admin" >>>> > ], >>>> > "roleNameList": [ >>>> > "admin" >>>> > ], >>>> > "deviceIdentifiers": [ >>>> > { >>>> > "id": "11:11:11:12", >>>> > "type": "ios" >>>> > } >>>> > ], >>>> > "application": { >>>> > "id": "1d548206-14ee-4672-91f6-9c230626a056", >>>> > "platform": "ios", >>>> > "packageName": "com.imangi.templerun2", >>>> > "name": "Temle Run", >>>> > "appIdentifier": "572395608", >>>> > "iconImage": " >>>> http://10.100.5.6:9763/publisher/api/mobileapp/getfile/FHmJReGEV3cExtf.png >>>> ", >>>> > "type": "PUBLIC", >>>> > "identifier": "572395608", >>>> > "version": "1", >>>> > "properties": { >>>> > "isRemoveApp": true, >>>> > "isPreventBackup": true, >>>> > "iTunesId": 572395608 >>>> > } >>>> > } >>>> > } >>>> > >>>> > payload-webapp >>>> > ============== >>>> > { >>>> > "userNameList": [ >>>> > "admin" >>>> > ], >>>> > "roleNameList": [ >>>> > "admin" >>>> > ], >>>> > "application": { >>>> > "id": "53be7f31-4441-4d35-897c-66b051dc9918", >>>> > "platform": "webapp", >>>> > "location": "http://ggg.com", >>>> > "name": "GGGG", >>>> > "iconImage": " >>>> http://10.100.5.6:9763/publisher/api/mobileapp/getfile/AOulQnweIT2pYPM.png >>>> ", >>>> > "type": "WEBAPP", >>>> > "identifier": "http://ggg.com", >>>> > "version": "1", >>>> > "properties": { >>>> > "isRemoveApp": true >>>> > >>>> > } >>>> > }, >>>> > "deviceIdentifiers": [ >>>> > { >>>> > "id": "11:11:11:12", >>>> > "type": "ios" >>>> > } >>>> > ] >>>> > } >>>> > Moreover, we have implemented uninstall application function and it >>>> is yet to be tested. >>>> > >>>> > Regards, >>>> > -- >>>> > Milan Harindu Perera >>>> > Software Engineer >>>> > WSO2, Inc >>>> > (+94) 77 309 7088 >>>> > lean . enterprise . middleware >>>> > < >>>> https://ci3.googleusercontent.com/proxy/Fex0TPIZuLe4azxWm2bM7v9jSJ-Zgkt8PHWdb8ilF5C8cHQLmSuovh6uS6B1EQQadq3qUVU75BJjFHa3apUovWHWTiZYET-O8nFywX8zjtWOWPMaxmM6ppjjJgYTlMfk5cVl=s0-d-e1-ft#http://s.c.lnkd.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png >>>> > >>>> > >>>> >>>> -- >>>> Manoj Gunawardena >>>> Tech Lead >>>> WSO2, Inc.: http://wso2.com >>>> lean.enterprise.middleware >>>> Mobile : +94 77 2291643 >>>> >>>> >>> >>> >>> -- >>> Milan Harindu Perera >>> Software Engineer >>> *WSO2, Inc* >>> (+94) 77 309 7088 >>> lean . enterprise . middleware >>> <http://lk.linkedin.com/in/milanharinduperera> >>> >> >> >> >> -- >> Manoj Gunawardena >> Tech Lead >> WSO2, Inc.: http://wso2.com >> lean.enterprise.middleware >> Mobile : +94 77 2291643 >> > > > > -- > Manoj Gunawardena > Tech Lead > WSO2, Inc.: http://wso2.com > lean.enterprise.middleware > Mobile : +94 77 2291643 > > > > -- > Milan Harindu Perera > Software Engineer > *WSO2, Inc* > (+94) 77 309 7088 > lean . enterprise . middleware > <http://lk.linkedin.com/in/milanharinduperera> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Manoj Gunawardena Tech Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 2291643
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
