dmwm / DDM

Dynamic Data Management - Cache release and auto-replication of hot data
1 stars 9 forks source link

Victorinterface API configuration for PhEDEx DATASERVICE_HOST hardcoded to cmsweb.cern.ch #62

Open nikmagini opened 9 years ago

nikmagini commented 9 years ago

Hi,

the configuration of the victorinterface API in config/popdbweb/conf.ini is currently hardcoded to query cmsweb.cern.ch for the PhEDEx datasvc, and cms-popularity.cern.ch for the PopDB APIs:

https://github.com/dmwm/DDM/blob/master/DataPopularity/popdb.web/config/conf.ini#L10-L15

It should be made configurable, pointing both DATASERVICE_HOST and POPULARITY_HOST by default to the same cluster on which it is running (i.e. https://cmsweb-testbed.cern.ch or https://cmsweb.cern.ch or a private devvm for preprod/prod/dev respectively).

This comes with an additional problem, POPULARITY_HOST will require authentication if we set it to cmsweb(-testbed).

Cheers N

nikmagini commented 9 years ago

Update: POPULARITY_HOST is now outdated since the service queries the DB directly.

But DATASERVICE_HOST still needs to be made configurable.