PILLUTLAAVINASH / google-enterprise-connector-manager

Automatically exported from code.google.com/p/google-enterprise-connector-manager
0 stars 0 forks source link

Latest svn connector-manager builds (post 1.1) do not set googleworkdir and googleconnectorworkdir in connector.properties file #109

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install latest svn build of connector-manager (svn revision 1070 is what
I tried) and connector jar.
2. Create connector manager and connector in GSA
3. Shutdown connector manager
4. Startup connector manager
5. connector manager is unable to find the googleWorkDir and
googleConnectorWorkDir because they never get written to the connector
properties file

What is the expected output? What do you see instead?
Expect to see googleWorkDir and googleConnectorWorkDir in the connector
instance properties file.

What version of the product are you using? On what operating system?
connector-manager from svn revision 1070

Please provide any additional information below.

Reverting back to the connector-manager 1.1 release and then creating a new
connector correctly writes these values to the properties file.

Original issue reported on code.google.com by Brad.Thu...@gmail.com on 12 Nov 2008 at 7:22

GoogleCodeExporter commented 8 years ago

Original comment by Brett.Mi...@gmail.com on 19 Nov 2008 at 1:24

GoogleCodeExporter commented 8 years ago

Original comment by Brett.Mi...@gmail.com on 19 Nov 2008 at 1:24

GoogleCodeExporter commented 8 years ago
Fixed in revision r1214

A bug introduced by changes for  Issue 78  and  Issue 80 .
The solution was to inject these two properties into
the configuration earlier in connector creation.

Change Log:
----------
M  
projects/connector-manager/source/java/com/google/enterprise/connector/instantia
tor/InstanceInfo.java
M  
projects/connector-manager/source/java/com/google/enterprise/connector/instantia
tor/InstanceMap.java
   - Move addition of googleWorkDir and googleConnectorWorkDir
     configuration properties to before call to validateConfig().

M  
projects/connector-manager/source/java/com/google/enterprise/connector/spi/Conne
ctorType.java
   - Additional documentatio about the presense and need to
     preserve configuration properties whose names begin with "google*".

M  
projects/connector-manager/source/javatests/com/google/enterprise/connector/inst
antiator/InstanceMapTest.java
   - updateConnectorTest() checks that google*WorkDir properties
     are in the configuration Map.

Original comment by Brett.Mi...@gmail.com on 28 Nov 2008 at 5:41

GoogleCodeExporter commented 8 years ago

Original comment by jl1615@gmail.com on 12 Jan 2009 at 3:31