Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-1688

CSS version must be defined only once

    Details

    • Type: Story
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Qserv
    • Labels:
      None
    • Templates:
    • Team:
      Data Access and Database

      Description

      For now Qserv CSS version is defined 3 times, this is not good:

      core/modules/css/constants.h:char const VERSION[] = "1"; ///< Current supported version
      core/modules/css/Facade.cc:// NOTE: THIS NUMBER MUST MATCH VERSION DEFINED IN qservAdmin.py.
      core/modules/css/Facade.cc:const int VERSION = 1;
      core/modules/css/Facade.cc:const std::string VERSION_STR = boost::lexical_cast<std::string>(VERSION);
      qserv@clrinfoport09:~/src/qserv (u/fjammes/DM-627 *) $ grep -rw VERSION admin/python/
      admin/python/lsst/qserv/admin/qservAdmin.py:# NOTE: THIS NUMBER MUST MATCH VERSION DEFINED IN CSS/FACADE.
      admin/python/lsst/qserv/admin/qservAdmin.py:VERSION = 1

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jammes Fabrice Jammes
                Watchers:
                Andy Salnikov, Daniel Wang [X] (Inactive), Fabrice Jammes, Jacek Becla, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel