Namespaces | |
auth | |
payloadInspector | |
persistency | |
RelationalAuthenticationService | |
serialization | |
service | |
time | |
XMLAuthenticationService | |
Typedefs | |
typedef cond::serialization::InputArchive | CondInputArchive |
typedef cond::serialization::OutputArchive | CondOutputArchive |
typedef edmplugin::PluginFactory < cond::CoralServiceWrapperBase *()> | CoralServicePluginFactory |
typedef persistency::Exception | Exception |
typedef std::string | Hash |
typedef edmplugin::PluginFactory < cond::DataProxyWrapperBase *()> | ProxyFactory |
typedef unsigned long long | Time_t |
typedef unsigned long long | uint64_t |
typedef std::pair< unsigned int, unsigned int > | UnpackedTime |
typedef std::pair< Time_t, Time_t > | ValidityInterval |
Enumerations | |
enum | SynchronizationType { SYNCH_ANY = 0, SYNCH_VALIDATION, SYNCH_OFFLINE, SYNCH_MC, SYNCH_RUNMC, SYNCH_HLT, SYNCH_EXPRESS, SYNCH_PROMPT, SYNCH_PCL } |
enum | TimeType { invalid = -1, runnumber = 0, timestamp, lumiid, hash, userid } |
Functions | |
std::string | boost_version_label () |
template<typename T > | |
T * | createPayload (const std::string &payloadTypeName) |
template<> | |
HcalCalibrationQIEData * | createPayload< HcalCalibrationQIEData > (const std::string &payloadTypeName) |
template<> | |
std::string * | createPayload< std::string > (const std::string &payloadTypeName) |
template<typename T > | |
std::unique_ptr< T > | default_deserialize (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
template<typename T > | |
std::unique_ptr< T > | deserialize (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
template<> | |
std::unique_ptr< BaseKeyed > | deserialize< BaseKeyed > (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
template<> | |
std::unique_ptr < condex::Efficiency > | deserialize< condex::Efficiency > (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
template<> | |
std::unique_ptr < CSCReadoutMapping > | deserialize< CSCReadoutMapping > (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
template<> | |
std::unique_ptr < CSCReadoutMappingForSliceTest > | deserialize< CSCReadoutMappingForSliceTest > (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
template<> | |
std::unique_ptr < PerformancePayload > | deserialize< PerformancePayload > (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData) |
const TimeTypeSpecs & | findSpecs (std::string const &name) |
size_t | getAuthorizationEntries (const std::string &schemaVersion, coral::ISchema &schema, int principalId, const std::string &role, const std::string &connectionString) |
int | getch () |
std::tuple< std::string, std::string, std::string > | getDbCredentials (const std::string &connectionString, int accessType, const std::string &authPath) |
cond::Time_t | getLastLumiFromOMS (const std::string &omsServiceUrl) |
cond::Time_t | getLatestLumiFromFile (const std::string &fileName) |
std::string | getLoginName () |
bool | getNextSequenceValue (const std::string &schemaVersion, coral::ISchema &schema, const std::string &sequenceName, int &value) |
std::string | getpass (const std::string &prompt, bool show_asterisk=true) |
std::string | getpassForUser (const std::string &userName) |
unsigned long long | hash64 (unsigned char *k, unsigned long long length, unsigned long long level) |
const Time_t | invalidTime (0) |
m_index (idict.size(), 1) | |
Iov_t | makeIov (cond::Time_t since, const Hash &payloadId) |
void | parseLineForNamedParams (const std::string &line, std::map< std::string, std::string > ¶ms) |
const char * | pluginCategory () |
char | randomChar () |
std::string | schemaLabel (const std::string &serviceName, const std::string &userName) |
std::string | schemaLabelForCredentialStore (const std::string &connectionString) |
bool | selectAuthorization (const std::string &schemaVersion, coral::ISchema &schema, int principalId, const std::string &role, const std::string &connectionString, AuthorizationData &destination) |
bool | selectConnection (const std::string &schemaVersion, coral::ISchema &schema, const std::string &connectionLabel, CredentialData &destination) |
bool | selectPrincipal (const std::string &schemaVersion, coral::ISchema &schema, const std::string &principal, PrincipalData &destination) |
template<typename T > | |
std::pair< Binary, Binary > | serialize (const T &payload) |
bool | setPermissionData (const std::string &schemaVersion, coral::ISchema &schema, int principalId, const std::string &principalKey, const std::string &role, const std::string &connectionString, int connectionId, const std::string &connectionKey, std::stringstream &log) |
SynchronizationType | synchronizationTypeFromName (const std::string &name) |
std::string | synchronizationTypeNames (SynchronizationType type) |
void | throwException (const std::string &message, const std::string &methodName) |
const Time_t | TIMELIMIT (std::numeric_limits< Time_t >::max()) |
std::string const & | timeTypeNames (int) |
std::pair< int, std::string > | updateConnectionData (const std::string &schemaVersion, coral::ISchema &schema, const std::string &adminKey, const std::string &connectionLabel, const std::string &userName, const std::string &password, bool forceUpdate, std::stringstream &log) |
std::pair< int, std::string > | updatePrincipalData (const std::string &schemaVersion, coral::ISchema &schema, const std::string &authenticationKey, const std::string &principalName, const std::string &adminKey, bool init, std::stringstream &log) |
Variables | |
static constexpr unsigned int | HASH_SIZE = 40 |
static std::pair< const char *, SynchronizationType > | s_obsoleteSynchronizationTypeArray [] |
static std::pair< const char *, SynchronizationType > | s_synchronizationTypeArray [] |
const unsigned int | TIMETYPE_LIST_MAX = 5 |
const cond::TimeType | timeTypeList [TIMETYPE_LIST_MAX] = {runnumber, timestamp, lumiid, hash, userid} |
const TimeTypeSpecs | timeTypeSpecs [] |
const cond::TimeType | timeTypeValues [] = {runnumber, timestamp, lumiid, hash, userid} |
The wrapper is used to allow edm::PluginFactory to change its return type to unique_ptr from a raw pointer. The unique_ptr does not work for coral::Service, because its destructor is protected and ownership is managed by intrusive reference counting.
Serialization.h CondCore/CondDB/interface/Serialization.h Description: functions for serializing the payload objects.
Definition at line 61 of file Serialization.h.
Definition at line 62 of file Serialization.h.
Definition at line 25 of file CoralServiceFactory.h.
Definition at line 25 of file Exception.h.
typedef std::string cond::Hash |
Definition at line 29 of file ProxyFactory.h.
typedef unsigned long long cond::Time_t |
typedef unsigned long long cond::uint64_t |
typedef std::pair<unsigned int, unsigned int> cond::UnpackedTime |
typedef std::pair<Time_t, Time_t> cond::ValidityInterval |
Enumerator | |
---|---|
SYNCH_ANY | |
SYNCH_VALIDATION | |
SYNCH_OFFLINE | |
SYNCH_MC | |
SYNCH_RUNMC | |
SYNCH_HLT | |
SYNCH_EXPRESS | |
SYNCH_PROMPT | |
SYNCH_PCL |
Definition at line 27 of file Types.h.
enum cond::TimeType |
|
inline |
Definition at line 24 of file Payload2XMLModule.h.
References contentValuesCheck::ss.
Referenced by PYBIND11_MODULE().
T* cond::createPayload | ( | const std::string & | payloadTypeName | ) |
Definition at line 31 of file Serialization.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
HcalCalibrationQIEData* cond::createPayload< HcalCalibrationQIEData > | ( | const std::string & | payloadTypeName | ) |
Definition at line 37 of file plugin.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
|
inline |
Definition at line 41 of file Serialization.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
std::unique_ptr<T> cond::default_deserialize | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
Definition at line 86 of file Serialization.h.
References cond::Binary::data(), alignCSCRings::e, cppFunctionSkipper::exception, jetCorrFactors_cfi::payload, cond::Binary::size(), AlCaHLTBitMon_QueryRunRegistry::string, cond::StreamerInfo::techVersion(), and throwException().
std::unique_ptr<T> cond::deserialize | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
std::unique_ptr< BaseKeyed > cond::deserialize< BaseKeyed > | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
Definition at line 39 of file plugin.cc.
References DESERIALIZE_BASE_CASE, DESERIALIZE_POLIMORPHIC_CASE, HLT_FULL_cff::payloadType, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
std::unique_ptr<condex::Efficiency> cond::deserialize< condex::Efficiency > | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
Definition at line 25 of file plugin.cc.
References DESERIALIZE_POLIMORPHIC_CASE, HLT_FULL_cff::payloadType, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
std::unique_ptr<CSCReadoutMapping> cond::deserialize< CSCReadoutMapping > | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
Definition at line 65 of file plugin.cc.
References DESERIALIZE_POLIMORPHIC_CASE, HLT_FULL_cff::payloadType, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
std::unique_ptr<CSCReadoutMappingForSliceTest> cond::deserialize< CSCReadoutMappingForSliceTest > | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
Definition at line 74 of file plugin.cc.
References DESERIALIZE_POLIMORPHIC_CASE, HLT_FULL_cff::payloadType, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
std::unique_ptr<PerformancePayload> cond::deserialize< PerformancePayload > | ( | const std::string & | payloadType, |
const Binary & | payloadData, | ||
const Binary & | streamerInfoData | ||
) |
Definition at line 18 of file PerformanceRecordPlugin.cc.
References DESERIALIZE_POLIMORPHIC_CASE, HLT_FULL_cff::payloadType, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
const TimeTypeSpecs & cond::findSpecs | ( | std::string const & | name | ) |
Definition at line 23 of file Time.cc.
References Exception, mps_fire::i, TIMETYPE_LIST_MAX, and timeTypeSpecs.
Referenced by cond::time::timeTypeFromName().
size_t cond::getAuthorizationEntries | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
int | principalId, | ||
const std::string & | role, | ||
const std::string & | connectionString | ||
) |
Definition at line 322 of file CredentialStore.cc.
References AUTH_ID_COL(), AUTHORIZATION_TABLE(), P_ID_COL(), contentValuesFiles::query, ROLE_COL(), SCHEMA_COL(), AlCaHLTBitMon_QueryRunRegistry::string, and tname().
Referenced by cond::CredentialStore::unsetPermission().
int cond::getch | ( | ) |
Definition at line 19 of file Utilities.cc.
Referenced by getpass().
std::tuple<std::string, std::string, std::string> cond::getDbCredentials | ( | const std::string & | connectionString, |
int | accessType, | ||
const std::string & | authPath | ||
) |
Definition at line 8 of file CondDBPyBind11Wrappers.cc.
References builder_last_value_cfg::authPath, cond::auth::COND_AUTH_PATH, first, cond::CredentialStore::getUserCredentials(), cond::CredentialStore::keyPrincipalName(), runTheMatrix::ret, cond::auth::s_roleCodeArray, cond::CredentialStore::setUpForConnectionString(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by PYBIND11_MODULE().
cond::Time_t cond::getLastLumiFromOMS | ( | const std::string & | omsServiceUrl | ) |
Definition at line 58 of file OnlineDBOutputService.cc.
References getInfoFromService(), info(), dqmdumpme::lumi, cond::time::lumiTime(), cond::time::MIN_VAL(), submitPVValidationJobs::run, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by cond::service::OnlineDBOutputService::getLastLumiProcessed().
cond::Time_t cond::getLatestLumiFromFile | ( | const std::string & | fileName | ) |
Definition at line 47 of file OnlineDBOutputService.cc.
References beam_dqm_sourceclient-live_cfg::lastLumiFile, cond::time::MIN_VAL(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by cond::service::OnlineDBOutputService::getLastLumiProcessed().
std::string cond::getLoginName | ( | ) |
Definition at line 42 of file DecodingKey.cc.
References mps_check::msg, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by cond::auth::DecodingKey::init().
bool cond::getNextSequenceValue | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
const std::string & | sequenceName, | ||
int & | value | ||
) |
Definition at line 358 of file CredentialStore.cc.
References contentValuesFiles::query, runTheMatrix::ret, SEQUENCE_NAME_COL(), SEQUENCE_TABLE(), SEQUENCE_VALUE_COL(), AlCaHLTBitMon_QueryRunRegistry::string, and tname().
Referenced by setPermissionData(), updateConnectionData(), and updatePrincipalData().
std::string cond::getpass | ( | const std::string & | prompt, |
bool | show_asterisk = true |
||
) |
Definition at line 34 of file Utilities.cc.
References gather_cfg::cout, getch(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getpassForUser().
std::string cond::getpassForUser | ( | const std::string & | userName | ) |
Definition at line 60 of file Utilities.cc.
References getpass(), and AlCaHLTBitMon_QueryRunRegistry::string.
ub8 cond::hash64 | ( | unsigned char * | k, |
unsigned long long | length, | ||
unsigned long long | level | ||
) |
const Time_t cond::invalidTime | ( | 0 | ) |
Referenced by cond::TimeTypeTraits< type >::specs().
cond::m_index | ( | idict. | size(), |
1 | |||
) |
Definition at line 14 of file SmallWORMDict.cc.
References a, b, SplitLinear::begin, filterCSVwithJSON::copy, dataset::end, mps_fire::i, dqmiolumiharvest::j, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by edm::EDConsumerBase::uncheckedIndexFrom().
Iov_t cond::makeIov | ( | cond::Time_t | since, |
const Hash & | payloadId | ||
) |
Definition at line 20 of file CondDBPyWrappers.cc.
References cond::Iov_t::payloadId, runTheMatrix::ret, cond::Iov_t::since, and SiStripO2O_cfg_template::since.
Referenced by BOOST_PYTHON_MODULE().
void cond::parseLineForNamedParams | ( | const std::string & | line, |
std::map< std::string, std::string > & | params | ||
) |
Definition at line 58 of file DecodingKey.cc.
References B2GTnPMonitor_cfi::item, ItemSeparator, str, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by cond::auth::DecodingKey::createFromInputFile().
const char * cond::pluginCategory | ( | ) |
Definition at line 64 of file ProxyFactory.cc.
char cond::randomChar | ( | ) |
Definition at line 37 of file DecodingKey.cc.
References b64str.
Referenced by cond::auth::KeyGenerator::make().
std::string cond::schemaLabel | ( | const std::string & | serviceName, |
const std::string & | userName | ||
) |
Definition at line 160 of file CredentialStore.cc.
References runTheMatrix::ret, serviceName, AlCaHLTBitMon_QueryRunRegistry::string, and to_lower().
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::importForPrincipal(), cond::CredentialStore::resetAdmin(), and schemaLabelForCredentialStore().
std::string cond::schemaLabelForCredentialStore | ( | const std::string & | connectionString | ) |
Definition at line 169 of file CredentialStore.cc.
References writedatasetfile::parser, schemaLabel(), serviceName, and AlCaHLTBitMon_QueryRunRegistry::string.
bool cond::selectAuthorization | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
int | principalId, | ||
const std::string & | role, | ||
const std::string & | connectionString, | ||
AuthorizationData & | destination | ||
) |
Definition at line 283 of file CredentialStore.cc.
References AUTH_ID_COL(), AUTH_KEY_COL(), AUTHORIZATION_TABLE(), C_ID_COL(), cond::AuthorizationData::connectionId, newFWLiteAna::found, cond::AuthorizationData::id, cond::AuthorizationData::key, P_ID_COL(), contentValuesFiles::query, ROLE_COL(), SCHEMA_COL(), AlCaHLTBitMon_QueryRunRegistry::string, tname(), and to_lower().
Referenced by setPermissionData().
bool cond::selectConnection | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
const std::string & | connectionLabel, | ||
CredentialData & | destination | ||
) |
Definition at line 240 of file CredentialStore.cc.
References CONNECTION_ID_COL(), CONNECTION_KEY_COL(), CONNECTION_LABEL_COL(), cond::CredentialData::connectionKey, CREDENTIAL_TABLE(), newFWLiteAna::found, cond::CredentialData::id, cond::CredentialData::password, PASSWORD_COL(), contentValuesFiles::query, AlCaHLTBitMon_QueryRunRegistry::string, tname(), cond::CredentialData::userName, USERNAME_COL(), VERIFICATION_KEY_COL(), and cond::CredentialData::verificationKey.
Referenced by cond::CredentialStore::removeConnection(), cond::CredentialStore::setPermission(), updateConnectionData(), and cond::CredentialStore::updatePrincipal().
bool cond::selectPrincipal | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
const std::string & | principal, | ||
PrincipalData & | destination | ||
) |
Definition at line 198 of file CredentialStore.cc.
References ADMIN_KEY_COL(), cond::PrincipalData::adminKey, AUTHENTICATION_TABLE(), newFWLiteAna::found, cond::PrincipalData::id, PRINCIPAL_ID_COL(), PRINCIPAL_KEY_COL(), PRINCIPAL_NAME_COL(), cond::PrincipalData::principalKey, contentValuesFiles::query, AlCaHLTBitMon_QueryRunRegistry::string, tname(), VERIFICATION_COL(), and cond::PrincipalData::verifKey.
Referenced by cond::CredentialStore::importForPrincipal(), cond::CredentialStore::removePrincipal(), cond::CredentialStore::resetAdmin(), cond::CredentialStore::setPermission(), cond::CredentialStore::startSession(), cond::CredentialStore::unsetPermission(), and updatePrincipalData().
Definition at line 66 of file Serialization.h.
References alignCSCRings::e, cppFunctionSkipper::exception, cond::StreamerInfo::jsonString(), jetCorrFactors_cfi::payload, runTheMatrix::ret, AlCaHLTBitMon_QueryRunRegistry::string, and throwException().
Referenced by cond::persistency::Session::storePayload< std::string >(), cond::persistency::Session::storePayload(), and RawEventFileWriterForBU::writeJsds().
bool cond::setPermissionData | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
int | principalId, | ||
const std::string & | principalKey, | ||
const std::string & | role, | ||
const std::string & | connectionString, | ||
int | connectionId, | ||
const std::string & | connectionKey, | ||
std::stringstream & | log | ||
) |
Definition at line 457 of file CredentialStore.cc.
References AUTH_ID_COL(), AUTH_KEY_COL(), AUTHORIZATION_TABLE(), cond::auth::Cipher::b64encrypt(), C_ID_COL(), dataset::end, spr::find(), newFWLiteAna::found, getNextSequenceValue(), cond::AuthorizationData::id, GetRecoTauVFromDQM_MC_cff::next, P_ID_COL(), ROLE_COL(), cond::auth::ROLES, SCHEMA_COL(), selectAuthorization(), AlCaHLTBitMon_QueryRunRegistry::string, cond::persistency::throwException(), tname(), and to_lower().
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::importForPrincipal(), cond::CredentialStore::resetAdmin(), cond::CredentialStore::setPermission(), and cond::CredentialStore::updatePrincipal().
SynchronizationType cond::synchronizationTypeFromName | ( | const std::string & | name | ) |
Definition at line 47 of file Types.cc.
References mps_fire::i, s_obsoleteSynchronizationTypeArray, s_synchronizationTypeArray, and throwException().
Referenced by cond::persistency::GetFromRow< cond::SynchronizationType >::operator()().
std::string cond::synchronizationTypeNames | ( | SynchronizationType | type | ) |
Definition at line 45 of file Types.cc.
References s_synchronizationTypeArray.
Referenced by cond::persistency::f_add_attribute(), and cond::persistency::IOVEditor::flush().
void cond::throwException | ( | const std::string & | message, |
const std::string & | methodName | ||
) |
Definition at line 18 of file Exception.cc.
Referenced by cond::service::PoolDBOutputService::appendOneIOV(), cond::service::PoolDBOutputService::appendSinceTime(), cond::auth::Cipher::b64decrypt(), cond::service::PoolDBOutputService::closeIOV(), cond::auth::DecodingKey::createFromInputFile(), cond::service::PoolDBOutputService::createNewIOV(), cond::service::PoolDBOutputService::createOneIOV(), createPayload(), createPayload< HcalCalibrationQIEData >(), createPayload< std::string >(), cond::CredentialStore::createSchema(), cond::RelationalAuthenticationService::RelationalAuthenticationService::credentials(), cond::Binary::data(), default_deserialize(), deserialize< BaseKeyed >(), deserialize< condex::Efficiency >(), deserialize< CSCReadoutMapping >(), deserialize< CSCReadoutMappingForSliceTest >(), deserialize< PerformancePayload >(), cond::service::PoolDBOutputService::eraseSinceTime(), cond::auth::DecodingKey::flush(), cond::service::PoolDBOutputService::forceInit(), cond::persistency::getConnectionParams(), getLoginName(), cond::payloadInspector::PlotBase::getTag(), cond::service::PoolDBOutputService::getTagInfo(), cond::CredentialStore::importForPrincipal(), cond::persistency::importPayload(), cond::auth::DecodingKey::init(), cond::persistency::IOVEditor::load(), cond::persistency::KeyList::loadFromDB(), cond::service::PoolDBOutputService::lookUpRecord(), cond::CredentialStore::removeConnection(), cond::CredentialStore::removePrincipal(), cond::CredentialStore::resetAdmin(), serialize(), cond::persistency::KeyList::setKeys(), cond::CredentialStore::setPermission(), cond::CredentialStore::setUpForService(), cond::Binary::size(), synchronizationTypeFromName(), cond::CredentialStore::unsetPermission(), cond::CredentialStore::updatePrincipal(), cond::service::OnlineDBOutputService::writeForNextLumisection(), cond::service::PoolDBOutputService::writeMany(), cond::service::PoolDBOutputService::writeOne(), and cond::service::PoolDBOutputService::writeOneIOV().
const Time_t cond::TIMELIMIT | ( | std::numeric_limits< Time_t >:: | max() | ) |
Referenced by CondDBESSource::setIntervalFor().
std::string const & cond::timeTypeNames | ( | int | i | ) |
Definition at line 11 of file Time.cc.
References mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by CondDBESSource::setIntervalFor(), and cond::TimeTypeTraits< type >::specs().
std::pair<int, std::string> cond::updateConnectionData | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
const std::string & | adminKey, | ||
const std::string & | connectionLabel, | ||
const std::string & | userName, | ||
const std::string & | password, | ||
bool | forceUpdate, | ||
std::stringstream & | log | ||
) |
Definition at line 513 of file CredentialStore.cc.
References cond::auth::Cipher::b64decrypt(), cond::auth::Cipher::b64encrypt(), cond::auth::COND_DB_KEY_SIZE, CONNECTION_ID_COL(), CONNECTION_KEY_COL(), CONNECTION_LABEL_COL(), cond::CredentialData::connectionKey, CREDENTIAL_TABLE(), newFWLiteAna::found, relval_steps::gen(), getNextSequenceValue(), cond::CredentialData::id, cond::auth::KeyGenerator::make(), PASSWORD_COL(), selectConnection(), AlCaHLTBitMon_QueryRunRegistry::string, cond::persistency::throwException(), tname(), USERNAME_COL(), VERIFICATION_KEY_COL(), and cond::CredentialData::verificationKey.
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::importForPrincipal(), cond::CredentialStore::resetAdmin(), and cond::CredentialStore::updateConnection().
std::pair<int, std::string> cond::updatePrincipalData | ( | const std::string & | schemaVersion, |
coral::ISchema & | schema, | ||
const std::string & | authenticationKey, | ||
const std::string & | principalName, | ||
const std::string & | adminKey, | ||
bool | init, | ||
std::stringstream & | log | ||
) |
init | = false * |
Definition at line 394 of file CredentialStore.cc.
References ADMIN_KEY_COL(), cond::PrincipalData::adminKey, AUTHENTICATION_TABLE(), cond::auth::Cipher::b64decrypt(), cond::auth::Cipher::b64encrypt(), cond::auth::COND_DB_KEY_SIZE, newFWLiteAna::found, relval_steps::gen(), getNextSequenceValue(), cond::PrincipalData::id, cond::auth::KeyGenerator::make(), PRINCIPAL_ID_COL(), PRINCIPAL_KEY_COL(), PRINCIPAL_NAME_COL(), selectPrincipal(), AlCaHLTBitMon_QueryRunRegistry::string, cond::persistency::throwException(), tname(), and VERIFICATION_COL().
Referenced by cond::CredentialStore::createSchema(), cond::CredentialStore::resetAdmin(), and cond::CredentialStore::updatePrincipal().
|
static |
Definition at line 40 of file Types.cc.
Referenced by synchronizationTypeFromName().
|
static |
Definition at line 29 of file Types.cc.
Referenced by synchronizationTypeFromName(), and synchronizationTypeNames().
const unsigned int cond::TIMETYPE_LIST_MAX = 5 |
Definition at line 20 of file Time.h.
Referenced by findSpecs().
const TimeTypeSpecs cond::timeTypeSpecs |
Definition at line 16 of file Time.cc.
Referenced by AlignmentProducerBase::AlignmentProducerBase(), MCMisalignmentScaler::analyze(), MillePedeAlignmentAlgorithm::areIOVsSpecified(), cond::service::PoolDBOutputService::beginOfTime(), SiStripLorentzAngleCalibration::beginRun(), SiPixelLorentzAngleCalibration::beginRun(), MillePedeAlignmentAlgorithm::beginRun(), RunRangeDependentPedeLabeler::buildRunRangeDependencyMap(), cond::service::PoolDBOutputService::endOfTime(), findSpecs(), MillePedeAlignmentAlgorithm::initialize(), align::makeNonOverlappingRunRanges(), align::makeUniqueRunRanges(), CondDBESSource::setIntervalFor(), cond::service::PoolDBOutputService::Record::timetypestr(), and CreateIdealTkAlRecords::writeToDB().