This is an automated email from the ASF dual-hosted git repository.

diveshdut pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 35a6958a4ea6dbd5d5b4dfda42eea2aae84d9919
Author: diveshdut <[email protected]>
AuthorDate: Tue Aug 11 16:23:57 2026 +0530

    OFBIZ-13422: Add production run REST resource
    
    Expose the Production Run PWA REST surface for listing, creating, facility 
lookup, and detail retrieval. The resource maps the PWA routes to the 
underlying OFBiz services with authenticated JSON operations.
---
 .../manufacturing/api/production-runs.rest.xml     | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/applications/manufacturing/api/production-runs.rest.xml 
b/applications/manufacturing/api/production-runs.rest.xml
new file mode 100644
index 0000000000..0fd9e8d223
--- /dev/null
+++ b/applications/manufacturing/api/production-runs.rest.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<api name="Manufacturing Production Run API"
+        path="production-runs"
+        displayName="Production Runs"
+        description="REST API for manufacturing production runs"
+        publish="true">
+    <resource name="ProductionRuns" path="" auth="true" publish="true">
+        <operation verb="get" produces="application/json" auth="true"
+                description="Find production runs">
+            <service name="findProductionRuns"/>
+        </operation>
+        <operation verb="post" consumes="application/json" 
produces="application/json" auth="true"
+                description="Create a production run">
+            <service name="createProductionRun"/>
+        </operation>
+        <operation verb="get" path="/facilities" produces="application/json" 
auth="true"
+                description="Find warehouse and plant facilities for 
production run workflows">
+            <service name="findManufacturingFacilities"/>
+        </operation>
+        <operation verb="get" path="/{productionRunId}" 
produces="application/json" auth="true"
+                description="Get production run details">
+            <service name="getProductionRunDetails"/>
+        </operation>
+    </resource>
+</api>

Reply via email to