Opened 4 years ago

Closed 23 months ago

#468 closed enhancement (worksforme)

wms-import utilitites to allow connect file as parameter

Reported by: abeccati Owned by: vmerticariu
Priority: major Milestone: 9.0.x
Component: rasgeo Version: development
Keywords: Cc: pcampalani, aherzig
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 4 years ago.
connect file as parameter to init script

Download all attachments as: .zip

Change History (12)

comment:1 Changed 4 years ago by abeccati

  • Owner changed from dmisev to abeccati
  • Status changed from new to accepted

Changed 4 years ago by abeccati

connect file as parameter to init script

comment:2 Changed 4 years ago by abeccati

  • Status changed from accepted to assigned

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 Changed 4 years ago by dmisev

Should it be closed, the patch was applied?

comment:4 Changed 4 years ago by abeccati

  • 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 Changed 4 years ago by dmisev

Default expected location of what?

comment:6 Changed 4 years ago by abeccati

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

comment:7 Changed 3 years ago by dmisev

$RMANHOME/etc does not make sense, it's place for the server's configuration, not the user client tools. User configs should go in $HOME/.rasdaman or so.

Last edited 3 years ago by dmisev (previous) (diff)

comment:8 Changed 3 years ago by abeccati

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 Changed 3 years ago by abeccati

  • Cc pcampalani aherzig added
  • Version changed from 8.5 to development

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 Changed 23 months ago by pbaumann

  • Owner changed from abeccati to vmerticariu

is this still relevant, or can we close it?

comment:11 Changed 23 months ago by pbaumann

  • Resolution set to worksforme
  • Status changed from assigned to closed

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.