Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032286Retail ModulesWeb POSpublic2016-02-19 10:062016-02-29 14:37
gorkaion 
gorkaion 
normalminorN/A
closedfixed 
5
 
RR16Q2 
mtaal
No
0032286: Add ability to override default Mobile Service implementations by external modules
Improve the Mobile Service so it is possible to override default implementations of a Mobile Service by external modules.

When the POS calls the backend to execute a Mobile Service it should be possible to have different implementors sorted by priority and execute them sequentially.
N/A
No tags attached.
Issue History
2016-02-19 10:06gorkaionNew Issue
2016-02-19 10:06gorkaionAssigned To => gorkaion
2016-02-19 10:06gorkaionTriggers an Emergency Pack => No
2016-02-19 10:07gorkaionReview Assigned To => mtaal
2016-02-23 17:50hgbotCheckin
2016-02-23 17:50hgbotNote Added: 0084443
2016-02-23 17:50hgbotStatusnew => resolved
2016-02-23 17:50hgbotResolutionopen => fixed
2016-02-23 17:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3be81c33430cb6bae5f87d1605ca0574eab584f8 [^]
2016-02-29 13:42mtaalNote Added: 0084589
2016-02-29 14:37mtaalNote Added: 0084595
2016-02-29 14:37mtaalStatusresolved => closed
2016-02-29 14:37mtaalFixed in Version => RR16Q2

Notes
(0084443)
hgbot   
2016-02-23 17:50   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 3be81c33430cb6bae5f87d1605ca0574eab584f8
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon Feb 22 17:30:05 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3be81c33430cb6bae5f87d1605ca0574eab584f8 [^]

Fixes issue 32286.Add ability to override Mobile Services.

- Added new annotation to implement mobile services
- Added new methods to override in SecuredJSONProcess
- Implementors are executed by defined priority and can be configured to call
  next implementor or to stop.

---
M src/org/openbravo/mobile/core/process/MobileService.java
M src/org/openbravo/mobile/core/process/SecuredJSONProcess.java
---
(0084589)
mtaal   
2016-02-29 13:42   
Docs:
http://wiki.openbravo.com/wiki/Retail:How_to_customize_Mobile_Services [^]
http://wiki.openbravo.com/wiki/Mobile_server_side_query_components#Mobile_Service_implementation [^]
(0084595)
mtaal   
2016-02-29 14:37   
Reviewed