diff --git a/libs/client/ClientAPI.hpp b/libs/client/ClientAPI.hpp index a1060de7923c4c3ea4aba45a4b56f2207d9bf06f..a9da38cf8ecdff414b7ec96281e745e143c2a24e 100644 --- a/libs/client/ClientAPI.hpp +++ b/libs/client/ClientAPI.hpp @@ -291,17 +291,17 @@ public: const std::string &dst) = 0; /** - * Gets the current list of archive jobs associated with the specified tape - * pool. + * Gets the current list of archive jobs associated with the specified device + * group. * * @param requester The identity of the user requesting the list. - * @param tapePoolName The name of the tape pool. + * @param deviceGroupName The name of the device groupdevice group. * @return The list of jobs sorted by creation time in ascending order * (oldest first). */ virtual std::list<ArchiveJob> getArchiveJobs( const SecurityIdentity &requester, - const std::string &tapePoolName) = 0; + const std::string &deviceGroupName) = 0; }; // class ClientAPI diff --git a/libs/client/MockClientAPI.cpp b/libs/client/MockClientAPI.cpp index 621b443a6b30aa212f2c1e3100fdad74d691767a..a2efe08c1f315b83062b0715f97e45ea202b8bfc 100644 --- a/libs/client/MockClientAPI.cpp +++ b/libs/client/MockClientAPI.cpp @@ -687,7 +687,7 @@ void cta::MockClientAPI::checkUserIsAuthorisedToArchive( //------------------------------------------------------------------------------ std::list<cta::ArchiveJob> cta::MockClientAPI::getArchiveJobs( const SecurityIdentity &requester, - const std::string &tapePoolName) { + const std::string &deviceGroupName) { std::list<cta::ArchiveJob> jobs; return jobs; } diff --git a/libs/client/MockClientAPI.hpp b/libs/client/MockClientAPI.hpp index 10981526011bc64993378d4585921b625713b17a..5734f3d2c6164b568c5f962d61e7a3a2fc08b6b6 100644 --- a/libs/client/MockClientAPI.hpp +++ b/libs/client/MockClientAPI.hpp @@ -292,17 +292,17 @@ public: const std::string &dst); /** - * Gets the current list of archive jobs associated with the specified tape - * pool. + * Gets the current list of archive jobs associated with the specified device + * group. * * @param requester The identity of the user requesting the list. - * @param tapePoolName The name of the tape pool. + * @param deviceGroupName The name of the device groupdevice group. * @return The list of jobs sorted by creation time in ascending order * (oldest first). */ std::list<ArchiveJob> getArchiveJobs( const SecurityIdentity &requester, - const std::string &tapePoolName); + const std::string &deviceGroupName); protected: