summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_regular/src/sql_pt_representation.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add cloud app parameters to regular policiesjacobkeeler2018-11-091-2/+41
|
* Gather app_policies with right key for externalAlexander2018-10-151-1/+2
| | | | fixup! Gather app_policies with right key for external
* Load module types from referecced group for app_policiesAlexander2018-10-151-7/+14
| | | | | | | | | | | | | | | | | | | | | If appllication have default policies, sqldb does not store module types for this application separately. During loading db SDL should check that application have default policies and select from module_types sql table sing "default" key but not appid key. In function `GatherApplicationPoliciesSection` already exist check for default policies : ``` if (IsDefaultPolicy(app_id)) { (*policies).apps[app_id].set_to_string(kDefaultId); } ``` Its setup stringified representation of application policies : "default". This stringified reference ("default") used for select module type. Fixes : https://github.com/smartdevicelink/sdl_core/issues/2670
* Fix incorrectly saved RequestType and RequestSubType, which caused silent ↵fix/gather_request_typesjacobkeeler2018-09-131-24/+0
| | | | errors while loading application policies on startup
* Merge pull request #2549 from JackLivio/fix/allow_empty_module_type_array_in_ptJackLivio2018-08-291-7/+23
|\ | | | | Allow empty moduleType array in PT
| * Check styleJackLivio2018-08-281-1/+1
| |
| * Allow empty moduleType array in PTJackLivio2018-08-281-8/+24
| |
* | Merge branch 'develop' of https://github.com/smartdevicelink/sdl_core into ↵Conlain Kelly2018-08-101-11/+2
|\ \ | |/ | | | | feature/boost_datetime_implementation
| * Replace utils::SharedPtr with std::shared_ptr, remove non-standard usageConlain Kelly2018-07-181-2/+2
| |
| * Remove remote control flagIra Lytvynenko (GitHub)2018-06-261-9/+0
| |
* | remove struct timeval and use boost time_duration insteadConlain Kelly2018-06-181-2/+2
|/ | | | also cleans up date_time namespacing but maintains helper functions
* Initial implementation of Expandable Design for Proprietary Data ExchangeAndriy Byzhynar (GitHub)2018-05-241-2/+116
| | | | | | | Added new parameters to Mobile_API.xml & HMI_API.xml Added handling of new RequestType and RequestSubTypes to policy component Edited encoding & line endings in sdl_preloaded_pt.json Updated notifications triggering
* Policy Fix: Remove redundant function call to SaveAppGroupJackLivio2018-02-151-6/+1
|
* Add differentiation of parameters absence from emptinessAndriy Byzhynar2017-12-211-15/+45
| | | | | | | Added way how to store empty parameters in policy db for further restoring after ingnition off Added empty lines between functions definitions to improve readability
* Merge pull request #1615 from ↵Jacob Keeler2017-09-071-30/+35
|\ | | | | | | | | AKalinich-Luxoft/fix/fix_consumer_friendly_messages_saving Fix Consumer Friendly Messages removing from PT
| * Fixed logger messages contextAKalinich-Luxoft2017-06-161-4/+4
| |
| * Refactoring in SaveConsumerFriendlyMessages functionAKalinich-Luxoft2017-06-151-32/+35
| | | | | | | | Removed nested if's.
| * Fix consumer friendly messages removing from PTAKalinich-Luxoft2017-06-151-3/+5
| | | | | | | | | | | | In case PTU comes with omitted consumer_friendly_messages param SDL should maintain current consumer_friendly_messages section in Local PT.
* | Remove primary logic from sql queriesAlexander Kutsan2017-08-221-56/+0
| |
* | Remove Promary RC groupAlexander Kutsan2017-08-221-13/+0
| |
* | Removes non-primary RC groups processing from policyAndrey Oleynik2017-08-211-61/+0
| |
* | Removes 'groups_nonPrimaryRC' supportAndrey Oleynik2017-08-211-6/+0
| |
* | Removes 'user_consent_passengerRC' supportAndrey Oleynik2017-08-211-9/+0
| |
* | Removes 'country_consent_passengerRC' supportAndrey Oleynik2017-08-211-5/+0
| |
* | Implementation of Remote Control pluginAlexander Kutsan2017-08-161-2/+374
|/ | | | | | Stype changes after integration Fix policy handler remote unit tests
* Use miliseconds as parameter of OnUpdateSentOut functionLitvinenkoIra2017-01-101-3/+4
| | | | Change returned value which is read from database in TimeoutResponse function to miliseconds, fix usages in code and unit tests.
* Add premium policyAlexander Kutsan2016-12-051-0/+1754
|
* remove policy submoduleJustin Dickow2014-10-271-0/+0
| | | | Signed-off-by: Justin Dickow <jjdickow@gmail.com>
* SDL 3.8!Justin Dickow2014-10-201-0/+0
Signed-off-by: Justin Dickow <jjdickow@gmail.com>