OFBIZ-5042 Apache Solr Implementation.

Add apache solr to secondary top menu and /solr/control/main request to accept the link from the menu.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1700599 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shi Jinghai
2015-09-01 15:37:20 +00:00
parent d0e3cc70a0
commit 8873bbf16a
2 changed files with 10 additions and 2 deletions
+3 -2
View File
@@ -36,11 +36,12 @@ under the License.
<service-resource type="eca" loader="main" location="servicedef/secas.xml"/>
<webapp name="solr"
title="solr"
title="Apache Solr Integration"
server="default-server"
location="webapp/solr"
mount-point="/solr"
base-permission="OFBTOOLS,CONTENTMGR"
app-bar-display="false" />
menu-name="secondary"
app-bar-display="true" />
</ofbiz-component>
@@ -38,4 +38,11 @@
<response name="success" type="view" value="login"/>
<response name="error" type="view" value="login"/>
</request-map>
<request-map uri="main">
<security https="true" auth="false"/>
<event type="java" path="org.ofbiz.solr.control.OFBizSolrLoginWorker" invoke="extensionCheckLogin"/>
<response name="success" type="none"/>
<response name="error" type="view" value="login"/>
</request-map>
</site-conf>