chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1754242 - in /chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main: java/org/apache/chemistry/opencmis/workbench/ resources/configs/
Date Wed, 27 Jul 2016 10:59:26 GMT
Author: fmui
Date: Wed Jul 27 10:59:26 2016
New Revision: 1754242

URL: http://svn.apache.org/viewvc?rev=1754242&view=rev
Log:
Workbench: updated SAP configuration + small fixes

Added:
    chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/opencmis-fileshare-browser.properties
    chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/sap-document-center-browser.properties
Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/ExpertLoginTab.java
    chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/config-library.properties
    chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/sap-mobile-documents-browser.properties

Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/ExpertLoginTab.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/ExpertLoginTab.java?rev=1754242&r1=1754241&r2=1754242&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/ExpertLoginTab.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/ExpertLoginTab.java
Wed Jul 27 10:59:26 2016
@@ -124,8 +124,7 @@ public class ExpertLoginTab extends Abst
                 SessionParameter.CONNECT_TIMEOUT, SessionParameter.READ_TIMEOUT));
 
         popup.add(createMenuGroup("OAuth", SessionParameter.OAUTH_CLIENT_ID, SessionParameter.OAUTH_CLIENT_SECRET,
-                SessionParameter.OAUTH_CLIENT_SECRET, SessionParameter.OAUTH_CODE,
-                SessionParameter.OAUTH_TOKEN_ENDPOINT, SessionParameter.OAUTH_REDIRECT_URI));
+                SessionParameter.OAUTH_CODE, SessionParameter.OAUTH_TOKEN_ENDPOINT, SessionParameter.OAUTH_REDIRECT_URI));
 
         popup.add(createMenuGroup("HTTP Invoker",
                 SessionParameter.HTTP_INVOKER_CLASS + "=" + DefaultHttpInvoker.class.getName(),

Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/config-library.properties
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/config-library.properties?rev=1754242&r1=1754241&r2=1754242&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/config-library.properties
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/config-library.properties
Wed Jul 27 10:59:26 2016
@@ -61,4 +61,5 @@ opencmis-fileshare-browser.properties=Op
 sap-hana-cloud-atompub.properties=SAP HANA Cloud Document Service AtomPub
 sap-hana-cloud-browser.properties=SAP HANA Cloud Document Service Browser
 
-sap-mobile-documents-browser.properties=SAP Mobile Documents
\ No newline at end of file
+sap-mobile-documents-browser.properties=SAP Mobile Documents
+sap-document-center-browser.properties=SAP Document Center
\ No newline at end of file

Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/opencmis-fileshare-browser.properties
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/opencmis-fileshare-browser.properties?rev=1754242&view=auto
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/opencmis-fileshare-browser.properties
(added)
+++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/opencmis-fileshare-browser.properties
Wed Jul 27 10:59:26 2016
@@ -0,0 +1,27 @@
+#
+#
+# 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.
+#
+#
+
+# OpenCMIS FileShare Browser
+
+org.apache.chemistry.opencmis.binding.spi.type=browser
+org.apache.chemistry.opencmis.binding.atompub.url=http://<host>/fileshare/browser
+org.apache.chemistry.opencmis.user=test
+org.apache.chemistry.opencmis.password=test
\ No newline at end of file

Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/sap-document-center-browser.properties
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/sap-document-center-browser.properties?rev=1754242&view=auto
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/sap-document-center-browser.properties
(added)
+++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/sap-document-center-browser.properties
Wed Jul 27 10:59:26 2016
@@ -0,0 +1,45 @@
+#
+#
+# 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.
+#
+#
+
+# SAP Document Center
+
+org.apache.chemistry.opencmis.binding.spi.type=browser
+org.apache.chemistry.opencmis.binding.browser.url=https://smd-<account>.<data-center>.hana.ondemand.com/mcm/b/json
+org.apache.chemistry.opencmis.user=<user>
+org.apache.chemistry.opencmis.password=<password>
+
+org.apache.chemistry.opencmis.binding.cookies=true
+org.apache.chemistry.opencmis.binding.compression=true
+org.apache.chemistry.opencmis.binding.csrfheader=X-CSRF-Token
+
+org.apache.chemistry.opencmis.binding.connecttimeout=30000
+org.apache.chemistry.opencmis.binding.readtimeout=600000
+
+# OAuth configuration (see SAP HANA Cloud Platform Cockpit -> OAuth)
+#
+# org.apache.chemistry.opencmis.oauth.clientId=
+# org.apache.chemistry.opencmis.oauth.clientSecret=
+# org.apache.chemistry.opencmis.oauth.code=
+# org.apache.chemistry.opencmis.oauth.tokenEndpoint=https://oauthasservices-<account>.<data-center>.hana.ondemand.com/oauth2/api/v1/token
+# org.apache.chemistry.opencmis.oauth.redirectUri=https://smd-<account>.<data-center>.hana.ondemand.com
+
+
+folder.maxChildren=1000
\ No newline at end of file

Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/sap-mobile-documents-browser.properties
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/sap-mobile-documents-browser.properties?rev=1754242&r1=1754241&r2=1754242&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/sap-mobile-documents-browser.properties
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/configs/sap-mobile-documents-browser.properties
Wed Jul 27 10:59:26 2016
@@ -19,13 +19,18 @@
 #
 #
 
-# SAP Mobile Documents
+# SAP Mobile Documents (on-premise)
 
 org.apache.chemistry.opencmis.binding.spi.type=browser
-org.apache.chemistry.opencmis.binding.browser.url=https://<name>.ondemand.com/mcm/b/json
+org.apache.chemistry.opencmis.binding.browser.url=https://<host>:50000/mcm/b/json
 org.apache.chemistry.opencmis.user=<user>
 org.apache.chemistry.opencmis.password=<password>
 
 org.apache.chemistry.opencmis.binding.cookies=true
 org.apache.chemistry.opencmis.binding.compression=true
-org.apache.chemistry.opencmis.binding.csrfheader=X-CSRF-Token
\ No newline at end of file
+org.apache.chemistry.opencmis.binding.csrfheader=X-CSRF-Token
+
+org.apache.chemistry.opencmis.binding.connecttimeout=30000
+org.apache.chemistry.opencmis.binding.readtimeout=600000
+
+folder.maxChildren=1000
\ No newline at end of file



Mime
View raw message