summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'feature/cloud_app_transport' into ↵Jacob Keeler2019-03-078-19/+130
|\ | | | | | | feature/base_app_services_implementation
| * Implement cloud app properties revisionfeature/cloud_app_properties_revisionsjacobkeeler2019-03-062-6/+6
| |
| * Revert "Remove setAppName"jacobkeeler2019-03-062-0/+16
| | | | | | | | This reverts commit e258587fad7340ff25e503e7beef3ee51e290f45.
| * GetCloudAppProperties (#2824)JackLivio2019-03-013-9/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * GetCloudAppProperties * Update setCloudAppProperties to use properties param * Address comments * Add set endpoint and app name * Remove setAppName * Address comment * Address Comments * Add return value to GetCloudAppParameters * Add return
| * Get Icon URL Request (#2823)JackLivio2019-03-018-11/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix regex command for reading paths post port number * Add Icon URL to policies * Create Icon Request and save to icon folder. * Fixes for get icon url * Fix unit tests * Send Icon_url request after PTU * Address comments * Address Comments
| * Add auth_token to StartServiceACK for cloud appsjacobkeeler2019-02-261-0/+20
| |
| * Fix incorrect value of string in policy table parsingfix/cloud_app_certificate_policiesjacobkeeler2018-12-041-1/+1
| | | | | | | | The default value for a string field in the policy table was applied regardless of whether the field was present or not.
* | GetFile RPC (#2811)Shobhit Adlakha2019-03-061-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implemented GetFile rpc in MOBILE API * Initial implementation of GetFile rpc * Implemented GetFile RPC * Fixed binary data param in GetFile response * Added case for handling SmartType UInteger in SmartObject::duplicate function * Implemented offset and length params * Implemented GetFile for services published by the HMI * Switched to events to handle forwarding GetFile request to HMI * Addressed review comments * Addressed review comments * Addressed review comments * Implemented length parameter * Changed RPC name from GetFileFromHMI to GetFilePath * Fix MOBILE_API formatting * Fix HMI_API formatting * Addressed review comments * Checking success rather than result code for hmi response
* | PerformAppServiceInteraction RPC (#2815)Jacob Keeler2019-02-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | * Add PerformAppServiceInteraction RPC * Add handling for `requestServiceActive` parameter * Fix style * Change PerformAppServiceInteraction class naming Clarify direction in class name
* | Get App Service Data With Subscribe (#2812)JackLivio2019-02-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial app service app extension * Add GetAppServiceData rpc templates. * Add request to mobile, and fix HMI GASD naming * Add Core->Mobile Requests and Responses * HMI GetAppService Request/Response to hmi and from hmi. * Add mobile on event handling * Fix GASD Response From Mobile * Fixes for GetAppServiceData subscribe, and OnAppServiceData Fixes allow for multiple consumers on a single app service type. Consumer/provider can be any combination of an ios app(s), android app(s), or an ivi HMI app(s). * Update AppServicetype to string and fix unit tests * Address review comments * Address comments * Address comments * Pass info from provider in GASD response
* | Set behavior for omitted and missing service_names and handled_rpcsJackLivio2019-02-231-8/+22
| |
* | Merge remote-tracking branch ↵JackLivio2019-02-221-0/+5
|\ \ | | | | | | | | | | | | | | | | | | 'origin/feature/base_app_services_implementation' into feature/app_service_policies # Conflicts: # src/components/application_manager/src/app_service_manager.cc
| * | SystemCapability Subscription (#2800)Shobhit Adlakha2019-02-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added enabling/disabling subscription in * Added and implemented OnSystemCapabilityUpdated notification * Add binary data to OEM_SPECIFIC request type * Add check for missing presetBankCapabilities in Buttons.GetCapabilities * Revert "Add missing resource close in LoadPlugin" This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e. * Genericize vehicle info in hmi_capabilities.json * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added enabling/disabling subscription in * Added and implemented OnSystemCapabilityUpdated notification * Added AppServices structs to MOBILE API * Add binary data to OEM_SPECIFIC request type * Add check for missing presetBankCapabilities in Buttons.GetCapabilities * Revert "Add missing resource close in LoadPlugin" This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e. * Genericize vehicle info in hmi_capabilities.json * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added enabling/disabling subscription in * Added and implemented OnSystemCapabilityUpdated notification * Added and implemented OnSystemCapabilityUpdated notification * Added AppServices structs to MOBILE API * Add binary data to OEM_SPECIFIC request type * Add check for missing presetBankCapabilities in Buttons.GetCapabilities * Revert "Add missing resource close in LoadPlugin" This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e. * Genericize vehicle info in hmi_capabilities.json * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added enabling/disabling subscription in * Added and implemented OnSystemCapabilityUpdated notification * Added AppServices structs to MOBILE API * Implemented AppServiceCapabilities response * Renamed SystemCapability App Extension filename and ExtractExtension function * Fix style * Add OnSystemCapabilityUpdated(APP_SERVICES) handling * Fix missing include and unused variables * Made fix in App service manager and added notifcation RPC to policy table * Implemented automatic app system capability subscription of App Service Provider * Add binary data to OEM_SPECIFIC request type * Add check for missing presetBankCapabilities in Buttons.GetCapabilities * Revert "Add missing resource close in LoadPlugin" This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e. * Genericize vehicle info in hmi_capabilities.json * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added enabling/disabling subscription in * Added and implemented OnSystemCapabilityUpdated notification * Added AppServices structs to MOBILE API * Implemented AppServiceCapabilities response * Renamed SystemCapability App Extension filename and ExtractExtension function * Fix style * Add OnSystemCapabilityUpdated(APP_SERVICES) handling * Fix missing include and unused variables * Made fix in App service manager and added notifcation RPC to policy table * Implemented automatic app system capability subscription of App Service Provider * Rebase and style fix * Added all published app services in OnSystemCapabilityUpdate notification * Add binary data to OEM_SPECIFIC request type * Add check for missing presetBankCapabilities in Buttons.GetCapabilities * Revert "Add missing resource close in LoadPlugin" This reverts commit 35defc42777c57412cbf8b793489ab0dac502f4e. * Genericize vehicle info in hmi_capabilities.json * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added enabling/disabling subscription in * Added and implemented OnSystemCapabilityUpdated notification * Added AppServices structs to MOBILE API * Implemented AppServiceCapabilities response * Renamed SystemCapability App Extension filename and ExtractExtension function * Fix style * Add OnSystemCapabilityUpdated(APP_SERVICES) handling * Fix missing include and unused variables * Made fix in App service manager and added notifcation RPC to policy table * Implemented automatic app system capability subscription of App Service Provider * Added subscribe paramater and SystemCapability App Extension * Added SystemCapability app extension in sdl_rpc_plugin * Added and implemented OnSystemCapabilityUpdated notification * Renamed SystemCapability App Extension filename and ExtractExtension function * Fix style * Add OnSystemCapabilityUpdated(APP_SERVICES) handling * Made fix in App service manager and added notifcation RPC to policy table * Rebase and style fix * Added all published app services in OnSystemCapabilityUpdate notification * Applied parameter updateReason only to published app service which triggers OnSystemCapabilityUpdated notification * Implemented OnSystemCapabilityUpdated notification to HMI * Addressed review comments * Implemented UnPublishAppService in ASM * Implemented ASP removal notification * Moved ASP removal notification to ApplicationManagerImpl::UnregisterApplication * Moved HMI OSCU notification from app services plugin to sdl rpc plugin * Initialize AppServiceManager in Application manager tests * Moved create notification functions to message helper class * Fix style * Removed setServiceActive function * Update SystemCapability structs with new revisions * Fixed error from previous commit and addressed style comments * Addressed review comments * Addressed review comments and removed extra debug statements
* | | Remove todosJackLivio2019-02-221-2/+2
| | |
* | | Address CommentsJackLivio2019-02-131-1/+1
| | |
* | | Merge remote-tracking branch ↵JackLivio2019-02-131-0/+5
|\ \ \ | |/ / | | | | | | 'origin/feature/base_app_services_implementation' into feature/app_service_policies
| * | Address review comments.jacobkeeler2019-02-051-0/+5
| | |
* | | Merge remote-tracking branch ↵JackLivio2019-01-301-0/+5
|\ \ \ | |/ / | | | | | | 'origin/feature/base_app_services_implementation' into feature/app_service_policies
| * | Add PublishAppService to policiesShobhitAd2019-01-281-0/+5
| |/
* | Fix styleJackLivio2019-01-295-23/+17
| |
* | Update external policies for app services parametersJackLivio2019-01-297-129/+335
| |
* | Change handled_rpc to uint32JackLivio2019-01-232-2/+2
| |
* | External policiesJackLivio2019-01-237-11/+194
|/
* Style fixShobhitAd2018-11-162-11/+11
|
* Implement InitCloudApp in policy_externalShobhitAd2018-11-162-0/+23
|
* Address review commentsjacobkeeler2018-11-162-13/+15
|
* Style FixShobhitAd2018-11-131-2/+2
|
* Implement RPC in regular and external policiesShobhitAd2018-11-131-0/+5
|
* Add missing auth token in select app queryjacobkeeler2018-11-092-2/+3
|
* Fix style, add certificate, and add GetEnabledCloudAppsjacobkeeler2018-11-094-3/+30
|
* Add cloud app parameters to external policiesjacobkeeler2018-11-098-12/+338
|
* Added VehicleData Param CloudAppVehicleID to coreShobhitAd2018-11-011-0/+7
|
* Gather app_policies with right key for externalAlexander2018-10-152-15/+27
| | | | fixup! Gather app_policies with right key for external
* Merge pull request #2648 from ↵JackLivio2018-10-032-25/+31
|\ | | | | | | | | JackLivio/fix/allow_user_consent_for_default_groups Allows User Consent for Default Functional Groups
| * Fix unit testsjacobkeeler2018-10-031-0/+4
| |
| * Merge branch 'fix/allow_user_consent_for_default_groups' of ↵jacobkeeler2018-10-032-5/+3
| |\ | | | | | | | | | https://github.com/JackLivio/sdl_core into fix/allow_user_consent_for_default_groups
| | * Remove unused variablesJackLivio2018-10-021-4/+0
| | |
| * | Fix issue where pending permissions were not being clearedjacobkeeler2018-10-021-2/+3
| |/
| * Allows User Consent for Default Functional GroupsJackLivio2018-10-012-21/+24
| |
* | Remove OnPolicyInit, Unused Function (#2650)JackLivio2018-10-031-8/+0
| |
* | Merge pull request #2644 from smartdevicelink/fix/apply_default_policies_on_ptuJacob Keeler2018-10-021-0/+22
|\ \ | | | | | | Apply changes to default group on PTU to existing PT
| * | Apply changes to default group on PTU to existing PTfix/apply_default_policies_on_ptujacobkeeler2018-09-281-0/+22
| |/
* | Fix/sdl_does_not_send SDL.OnStatusUpdate(UPDATE_NEEDED) (#2494)Andriy Byzhynar (GitHub)2018-10-023-4/+19
|/ | | | | | | | | | | | | | | | | | | | | | | | | | * Add missed RequestSubTypes gathering Added missed request subtypes gathering during app policies section collecting * Fix sending SDL.OnStatusUpdate if existed app registered Added logic of handling case when existed app registered but PTU was unsuccessful from previous IGN cycle NOTE: Fix for EXTERNAL_PROPRIETARY flow * Fix sending SDL.OnStatusUpdate when existed app registered Added logic of handling case when existed app registered but PTU was unsuccessful from previous IGN cycle NOTE: Fix for PROPRIETARY flow * Update update status manager mock classes Updated MockUpdateStatusManager classes for both policy flows: EXTERNAL_PROPRIETARY and PROPRIETARY
* Fix ReadDID Typo (#2630)JackLivio2018-09-241-6/+1
| | | | | | | | * Fix ReadDID Typo * Remove Reserved from external enums * Remove Reserved from regular enums
* Address commentsJackLivio2018-09-201-3/+3
|
* Merge remote-tracking branch 'origin/release/5.0.0' into ↵JackLivio2018-09-202-32/+0
|\ | | | | | | fix/filter_invalid_parametres_and_rpcs
| * Fix incorrectly saved RequestType and RequestSubType, which caused silent ↵fix/gather_request_typesjacobkeeler2018-09-132-32/+0
| | | | | | | | errors while loading application policies on startup
* | Fix typoJackLivio2018-09-201-2/+2
| |
* | Update based on commentsJackLivio2018-09-201-35/+25
| |
* | Add filtering for policy table parametersJackLivio2018-09-192-3/+123
| |