[ 
https://issues.apache.org/jira/browse/OFBIZ-13401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18078616#comment-18078616
 ] 

Deepak Dixit commented on OFBIZ-13401:
--------------------------------------

Enhance service semaphore to support parameter-based locking (OFBIZ-13395)
 * Added {{semaphore-parameter-name}} attribute to service definitions
 * Extended {{ServiceSemaphore}} to include {{parameterValue}}
 * Updated locking logic to use {{(serviceName, parameterValue)}} scope
 * Modified dispatcher to pass parameter values from service requests
 * Allows concurrent execution of the same service for different parameter 
values
 * Enables finer-grained concurrency control compared to service-level locking

Please use the following SQL to update the service_semaphore table schema for 
parameter-based locking support:
{{}}
{{}}
{code:java}
ALTER TABLE service_semaphore DROP PRIMARY KEY; 
ALTER TABLE service_semaphore ADD PRIMARY KEY (service_name, 
parameter_value);{code}
{{}}

> Add JSON Support for RuntimeData
> --------------------------------
>
>                 Key: OFBIZ-13401
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13401
>             Project: OFBiz
>          Issue Type: Improvement
>            Reporter: Deepak Dixit
>            Assignee: Deepak Dixit
>            Priority: Minor
>
> Add support for storing {{RuntimeData}} in *JSON* format in addition to the 
> existing XML format.
> Runtime data is currently stored only in *XML* format
> h3. *Proposed Changes*
>  * Add support to store and process runtime data in *JSON* format.
>  * Introduce a new field in the {{RuntimeData}} entity:
>  ** {{contentType}}
>  * Default value for {{{}contentType (if not set){}}}:
>  ** {{application/xml}}
>  * Based on the {{{}contentType{}}}, the system should:
>  ** Serialize data while storing.
>  ** Deserialize/process data while reading.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to