Skip to content

Commit

Permalink
Merge pull request #33 from hotwax/oms-rest
Browse files Browse the repository at this point in the history
Corrected service name
  • Loading branch information
dixitdeepak authored Sep 3, 2024
2 parents 18365b1 + 56209a6 commit 80fe924
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service/co/hotwax/common/CommonServices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<parameter name="response"/>
</out-parameters>
</service>
<service verb="solr" noun="Query" type="oms-rest" location="solr-query" method="post">
<service verb="run" noun="SolrQuery" type="oms-rest" location="solr-query" method="post">
<in-parameters>
<parameter name="json" type="Map"/>
</in-parameters>
Expand Down
2 changes: 1 addition & 1 deletion service/co/hotwax/product/ProductFacilityServices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
<if condition="fieldsToSelect">
<set field="queryObject.fields" from="fieldsToSelect"/>
</if>
<service-call name="co.hotwax.common.CommonServices.solr#Query" in-map="[json:queryObject]" out-map="outResult"/>
<service-call name="co.hotwax.common.CommonServices.run#SolrQuery" in-map="[json:queryObject]" out-map="outResult"/>
<if condition="outResult">
<set field="productDetail.products" from="outResult.response.docs"/>
<set field="productDetail.totalCount" from="outResult.response.numFound"/>
Expand Down

0 comments on commit 80fe924

Please sign in to comment.