Opened 11 years ago

Closed 9 years ago

#468 closed enhancement (worksforme)

wms-import utilitites to allow connect file as parameter

Reported by: abeccati Owned by: Vlad Merticariu
Priority: major Milestone: 9.0.x
Component: rasgeo Version: development
Keywords: Cc: Piero Campalani, Alexander Herzig
Complexity: Easy

Description (last modified by abeccati)

applications/rasgeo/wms-import/utilities should allow connect file to be specified on command line to allow call with non default connection parameters.

change default expected location (asked by Peter) from user's home to RMANHOME/etc (or /etc), anyways to the default rasdaman installation config dir.

Todo:

  • List utils to be updated

Done:

  • init_wms

Attachments (1)

Enable-init_wms-with-connect-file-parameter.patch (6.2 KB ) - added by abeccati 11 years ago.
connect file as parameter to init script

Download all attachments as: .zip

Change History (12)

comment:1 by abeccati, 11 years ago

Owner: changed from Dimitar Misev to abeccati
Status: newaccepted

by abeccati, 11 years ago

connect file as parameter to init script

comment:2 by abeccati, 11 years ago

Status: acceptedassigned

Patch attached (and submitted 2013-08-30 11:34:15) for the init_wms script; same should be done for all other wms import utilities to close this ticket.
(Enable-init_wms-with-connect-file-parameter.patch)

comment:3 by Dimitar Misev, 11 years ago

Should it be closed, the patch was applied?

comment:4 by abeccati, 11 years ago

Description: modified (diff)

Let it open, we have to check that all the tools there use the same approach. And also change default expected location (asked by Peter) from user's home to RMANHOME/etc (or /etc), anyways to the default rasdaman installation config dir.
I've updated description accordingly

comment:5 by Dimitar Misev, 11 years ago

Default expected location of what?

comment:6 by abeccati, 11 years ago

Default expected location of the connect file. If it is not given as parameter on command line.

comment:7 by Dimitar Misev, 11 years ago

RMANHOME/etc does not make sense, it's place for the server's configuration, not the user client tools.

Version 0, edited 11 years ago by Dimitar Misev (next)

comment:8 by abeccati, 11 years ago

Dimitar, I agree but I have no strong preference here and having a system-level default (customizable by the user) is not that bad: it allows running client tools on the local server from any user with no customization at all.

comment:9 by abeccati, 11 years ago

Cc: Piero Campalani Alexander Herzig added
Version: 8.5development

Adding also Piero and Alex H so that default config can be changed also in rasimport. This should be shifted as development since there is not much need to maintain it in 8.X unless we get specific requests for it.

comment:10 by Peter Baumann, 9 years ago

Owner: changed from abeccati to Vlad Merticariu

is this still relevant, or can we close it?

comment:11 by Peter Baumann, 9 years ago

Resolution: worksforme
Status: assignedclosed

looking at this again, I do like the idea that parameters are visible, and not in some (potentially even hidden) config file - we had issues with that in the past.

Note: See TracTickets for help on using tickets.