/* * @project The CERN Tape Archive (CTA) * @copyright Copyright © 2021-2022 CERN * @license This program is free software, distributed under the terms of the GNU General Public * Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". You can * redistribute it and/or modify it under the terms of the GPL Version 3, or (at your * option) any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * PARTICULAR PURPOSE. See the GNU General Public License for more details. * * In applying this licence, CERN does not waive the privileges and immunities * granted to it by virtue of its status as an Intergovernmental Organization or * submit itself to any jurisdiction. */ #include #include "catalogue/dummy/DummyAdminUserCatalogue.hpp" #include "catalogue/dummy/DummyArchiveFileCatalogue.hpp" #include "catalogue/dummy/DummyArchiveRouteCatalogue.hpp" #include "catalogue/dummy/DummyCatalogue.hpp" #include "catalogue/dummy/DummyDiskInstanceCatalogue.hpp" #include "catalogue/dummy/DummyDiskInstanceSpaceCatalogue.hpp" #include "catalogue/dummy/DummyDiskSystemCatalogue.hpp" #include "catalogue/dummy/DummyDriveConfigCatalogue.hpp" #include "catalogue/dummy/DummyDriveStateCatalogue.hpp" #include "catalogue/dummy/DummyFileRecycleLogCatalogue.hpp" #include "catalogue/dummy/DummyMountPolicyCatalogue.hpp" #include "catalogue/dummy/DummyRequesterActivityMountRuleCatalogue.hpp" #include "catalogue/dummy/DummyRequesterGroupMountRuleCatalogue.hpp" #include "catalogue/dummy/DummyRequesterMountRuleCatalogue.hpp" #include "catalogue/dummy/DummySchemaCatalogue.hpp" #include "catalogue/dummy/DummyStorageClassCatalogue.hpp" #include "catalogue/dummy/DummyTapeCatalogue.hpp" #include "catalogue/dummy/DummyTapeFileCatalogue.hpp" #include "catalogue/dummy/DummyTapePoolCatalogue.hpp" #include "catalogue/dummy/DummyVirtualOrganizationCatalogue.hpp" namespace cta::catalogue { DummyCatalogue::DummyCatalogue() : m_schema(std::make_unique()), m_adminUser(std::make_unique()), m_diskSystem(std::make_unique()), m_diskInstance(std::make_unique()), m_diskInstanceSpace(std::make_unique()), m_vo(std::make_unique()), m_archiveRoute(std::make_unique()), m_storageClass(std::make_unique()), m_tapePool(std::make_unique()), m_tape(std::make_unique()), m_mountPolicy(std::make_unique()), m_requesterActivityMountRule(std::make_unique()), m_requesterMountRule(std::make_unique()), m_requesterGroupMountRule(std::make_unique()), m_tapeFile(std::make_unique()), m_fileRecycleLog(std::make_unique()), m_driveConfig(std::make_unique()), m_archiveFile(std::make_unique()), m_driveState(std::make_unique()) { } const std::unique_ptr& DummyCatalogue::Schema() { return m_schema; } const std::unique_ptr& DummyCatalogue::AdminUser() { return m_adminUser; } const std::unique_ptr& DummyCatalogue::DiskSystem() { return m_diskSystem; } const std::unique_ptr& DummyCatalogue::DiskInstance() { return m_diskInstance; } const std::unique_ptr& DummyCatalogue::DiskInstanceSpace() { return m_diskInstanceSpace; } const std::unique_ptr& DummyCatalogue::VO() { return m_vo; } const std::unique_ptr& DummyCatalogue::ArchiveRoute() { return m_archiveRoute; } const std::unique_ptr& DummyCatalogue::MediaType() { return m_mediaType; } const std::unique_ptr& DummyCatalogue::StorageClass() { return m_storageClass; } const std::unique_ptr& DummyCatalogue::TapePool() { return m_tapePool; } const std::unique_ptr& DummyCatalogue::Tape() { return m_tape; } const std::unique_ptr& DummyCatalogue::MountPolicy() { return m_mountPolicy; } const std::unique_ptr& DummyCatalogue::RequesterActivityMountRule() { return m_requesterActivityMountRule; } const std::unique_ptr& DummyCatalogue::RequesterMountRule() { return m_requesterMountRule; } const std::unique_ptr& DummyCatalogue::RequesterGroupMountRule() { return m_requesterGroupMountRule; } const std::unique_ptr& DummyCatalogue::LogicalLibrary() { return m_logicalLibrary; } const std::unique_ptr& DummyCatalogue::PhysicalLibrary() { return m_physicalLibrary; } const std::unique_ptr& DummyCatalogue::TapeFile() { return m_tapeFile; } const std::unique_ptr& DummyCatalogue::FileRecycleLog() { return m_fileRecycleLog; } const std::unique_ptr& DummyCatalogue::DriveConfig() { return m_driveConfig; } const std::unique_ptr& DummyCatalogue::ArchiveFile() { return m_archiveFile; } const std::unique_ptr& DummyCatalogue::DriveState() { return m_driveState; } } // namespace cta::catalogue