Commit ce4fba0b authored by Andrea Petrucci's avatar Andrea Petrucci
Browse files

references #182: Change the tstore view to adapt to new database schema

parent b796bfc4
......@@ -5,8 +5,8 @@
#define WORKSUITE_OMS_VERSION_MAJOR 1
#define WORKSUITE_OMS_VERSION_MINOR 0
#define WORKSUITE_OMS_VERSION_PATCH 2
#define WORKSUITE_OMS_PREVIOUS_VERSIONS "1.0.0,1.0.1"
#define WORKSUITE_OMS_VERSION_PATCH 3
#define WORKSUITE_OMS_PREVIOUS_VERSIONS "1.0.0,1.0.1,1.0.2"
#define WORKSUITE_OMS_VERSION_CODE PACKAGE_VERSION_CODE(WORKSUITE_OMS_VERSION_MAJOR,WORKSUITE_OMS_VERSION_MINOR,WORKSUITE_OMS_VERSION_PATCH)
#ifndef WORKSUITE_OMS_PREVIOUS_VERSIONS
......@@ -23,7 +23,7 @@ namespace oms
const std::string version = PACKAGE_VERSION_STRING(WORKSUITE_OMS_VERSION_MAJOR,WORKSUITE_OMS_VERSION_MINOR,WORKSUITE_OMS_VERSION_PATCH);
const std::string description = "XDAQ application used for the CMS online monitoring system (OMS)";
const std::string summary = "CMS OMS library";
const std::string authors = "Remi Mommsen";
const std::string authors = "Remi Mommsen, Andrea Petrucci";
const std::string link = "https://gitlab.cern.ch/oms";
config::PackageInfo getPackageInfo();
......
......@@ -6,13 +6,13 @@
<sql:query name="getOpenDowntimes">
<![CDATA[
SELECT * FROM CMS_OMS.DOWNTIMES_EVENTING WHERE STOP_TIME IS NULL ORDER BY START_TIME
SELECT * FROM CMS_OMS_AGG.DOWNTIMES_EVENTING WHERE STOP_TIME IS NULL ORDER BY START_TIME
]]>
</sql:query>
<sql:insert name="insertNewDowntime">
<sql:table name="CMS_OMS.DOWNTIMES_EVENTING">
<sql:column name="DOWNTIME_ID"/>
<sql:table name="CMS_OMS_AGG.DOWNTIMES_EVENTING">
<sql:column name="ID"/>
<sql:column name="START_TIME"/>
<sql:column name="START_FILL"/>
<sql:column name="START_RUN_NUMBER"/>
......@@ -27,8 +27,8 @@
</sql:insert>
<sql:update name="updateDowntime">
<sql:table name="CMS_OMS.DOWNTIMES_EVENTING">
<sql:column name="DOWNTIME_ID"/>
<sql:table name="CMS_OMS_AGG.DOWNTIMES_EVENTING">
<sql:column name="ID"/>
<sql:column name="START_TIME"/>
<sql:column name="START_FILL"/>
<sql:column name="START_RUN_NUMBER"/>
......@@ -49,7 +49,7 @@
<tstore:connection dbname="int2r"/>
<sql:insert name="insertNewLumisection">
<sql:table name="CMS_OMS.LUMISECTIONS_EVENTING">
<sql:table name="CMS_OMS_AGG.LUMISECTIONS_EVENTING">
<sql:column name="START_TIME"/>
<sql:column name="STOP_TIME"/>
<sql:column name="FILL_NUMBER"/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment