| <?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. |
| --> |
| |
| <site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/site-conf.xsd"> |
| <include location="component://product/webapp/catalog/WEB-INF/controller.xml"/> |
| |
| <description>Google Base Component Site Configuration File</description> |
| |
| <request-map uri="main"> |
| <security https="true" auth="true"/> |
| <response name="success" type="view" value="main"/> |
| </request-map> |
| |
| <request-map uri="ProductsExportToGoogle"> |
| <security https="true" auth="true"/> |
| <response name="success" type="view" value="ProductsExportToGoogle"/> |
| </request-map> |
| |
| <request-map uri="exportProductsToGoogle"> |
| <security https="true" auth="true"/> |
| <event type="service" path="" invoke="exportToGoogle"/> |
| <response name="success" type="view" value="ProductsExportToGoogle"/> |
| <response name="error" type="view" value="ProductsExportToGoogle"/> |
| </request-map> |
| |
| <request-map uri="searchExportProductListToGoogle"> |
| <security https="true" auth="true"/> |
| <event type="java" path="org.ofbiz.googlebase.GoogleBaseSearchEvents" invoke="searchExportProductListToGoogle"/> |
| <response name="success" type="view" value="ProductsExportToGoogle"/> |
| <response name="error" type="view" value="ProductsExportToGoogle"/> |
| </request-map> |
| |
| <request-map uri="GooglebaseAutoUpdate"> |
| <security https="true" auth="true"/> |
| <response name="success" type="view" value="GooglebaseAutoUpdate"/> |
| <response name="error" type="view" value="GooglebaseAutoUpdate"/> |
| </request-map> |
| <request-map uri="startStopScheduledGbase"> |
| <security https="true" auth="true"/> |
| <event type="simple" path="component://googlebase/script/org/ofbiz/googlebase/GooglebaseEvents.xml" invoke="startStopScheduledGbase"/> |
| <response name="success" type="view" value="GooglebaseAutoUpdate"/> |
| <response name="error" type="view" value="GooglebaseAutoUpdate"/> |
| </request-map> |
| <!-- Request entries for GoogleBaseConfig UI --> |
| <request-map uri="EditGoogleBaseConfigs"> |
| <security https="true" auth="true"/> |
| <response name="success" type="view" value="EditGoogleBaseConfigs"/> |
| </request-map> |
| <request-map uri="createGoogleBaseConfig"> |
| <security https="true" auth="true"/> |
| <event type="service" invoke="createGoogleBaseConfig"/> |
| <response name="success" type="view" value="EditGoogleBaseConfigs"/> |
| <response name="error" type="view" value="EditGoogleBaseConfigs"/> |
| </request-map> |
| <request-map uri="updateGoogleBaseConfig"> |
| <security https="true" auth="true"/> |
| <event type="service" invoke="updateGoogleBaseConfig"/> |
| <response name="success" type="view" value="EditGoogleBaseConfigs"/> |
| <response name="error" type="view" value="EditGoogleBaseConfigs"/> |
| </request-map> |
| <request-map uri="deleteGoogleBaseConfig"> |
| <security https="true" auth="true"/> |
| <event type="service" invoke="deleteGoogleBaseConfig"/> |
| <response name="success" type="view" value="EditGoogleBaseConfigs"/> |
| <response name="error" type="view" value="EditGoogleBaseConfigs"/> |
| </request-map> |
| |
| <!-- end of request mappings --> |
| |
| <!-- View Mappings --> |
| <view-map name="main" type="screen" page="component://googlebase/widget/GoogleBaseScreens.xml#advancedsearch"/> |
| <view-map name="advancedsearch" type="screen" page="component://googlebase/widget/GoogleBaseScreens.xml#advancedsearch"/> |
| <view-map name="keywordsearch" type="screen" page="component://googlebase/widget/GoogleBaseScreens.xml#keywordsearch"/> |
| <view-map name="EditProduct" type="screen" page="component://googlebase/widget/GoogleBaseScreens.xml#EditProduct"/> |
| <view-map name="ProductsExportToGoogle" type="screen" page="component://googlebase/widget/GoogleBaseScreens.xml#ProductsExportToGoogle"/> |
| <view-map name="EditGoogleBaseConfigs" type="screen" page="component://googlebase/widget/GoogleBaseScreens.xml#EditGoogleBaseConfigs"/> |
| <view-map name="GooglebaseAutoUpdate" type="screen" page="component://googlebase/widget/GoogleBaseScreens.xml#GooglebaseAutoUpdate"/> |
| <!-- end of view mappings --> |
| </site-conf> |