dmwm/CRABServer — pull request #4408 by juztas (2014-09-06 15:08:38+00:00)
Title: several fixes with status and ASO

a) Allow posibility to add Debug.ASOURL = 'ASOURL'. (Only for developers). In CrabClient need to merge this : https://github.com/dmwm/CRABClient/pull/4269
b) ASO url for each task is taken from oracle database and not anymore from rest configuration. New submission takes from rest configuration if no Debug.ASOURL is specified.
c) crab status with options (--long, --summary, --idle, --json) was giving differrent information about finished, killed, idle jobs. Because of verbosity 0, 1, 2. crab client decides what to show. In any case, only verbosity level 2 gives more information. 2 is used for --idle. verbose level 1 is removed, to give same information always.
d) Be smarter when calling the publication view for crab status. publication status is called only then minimum one file is transferred and publication flag is true.

This pull request fixes :
1) auth.json file on schedd will not change anything. https://github.com/dmwm/CRABServer/issues/4385 It can be closed.
2) https://github.com/dmwm/CRABServer/issues/4357 -> (d)
3) https://github.com/dmwm/CRABServer/issues/4285 -> Not needed anymore. Can be closed.

Discussion
4) https://github.com/dmwm/CRABServer/issues/4407 ASO is hardcoding url where to look for filemetadata. if ASO would know, or crab3 uploads together with document to couch url of filemetadata which is used, publisher would work as expected (Discussion.)
5) https://github.com/dmwm/CRABServer/issues/4332 (Kind of. First need to solve 4. If ASO would know where to look for filemetadata, regarding on task, then we can change rest configuration to be a list ["couch1", "couch2", "couch3"])

@HassenRiahi -> 4 and 5 ?
@mmascher