annotate Common/StoragePlugin.h @ 207:ee2c53ebdf3e

todo
author Alain Mazy <am@orthanc.team>
date Wed, 26 Jun 2024 17:55:56 +0200
parents 3c7e0374f28e
children 9c335e088f17
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
84
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
1 /**
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
2 * Transfers accelerator plugin for Orthanc
145
3c7e0374f28e updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 84
diff changeset
3 * Copyright (C) 2018-2023 Osimis S.A., Belgium
3c7e0374f28e updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 84
diff changeset
4 * Copyright (C) 2024-2024 Orthanc Team SRL, Belgium
3c7e0374f28e updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 84
diff changeset
5 * Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
84
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
6 *
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
7 * This program is free software: you can redistribute it and/or
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
8 * modify it under the terms of the GNU Affero General Public License
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
9 * as published by the Free Software Foundation, either version 3 of
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
10 * the License, or (at your option) any later version.
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
11 *
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
12 * This program is distributed in the hope that it will be useful, but
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
15 * Affero General Public License for more details.
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
16 *
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
17 * You should have received a copy of the GNU Affero General Public License
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
19 **/
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
20
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
21
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
22 #pragma once
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
23
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
24
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
25 static const char* const JOB_TYPE_MOVE_STORAGE = "MoveStorage";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
26
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
27 static const char* const KEY_RESOURCES = "Resources";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
28 static const char* const KEY_TARGET_STORAGE = "TargetStorage";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
29 static const char* const KEY_INSTANCES = "Instances";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
30 static const char* const KEY_CONTENT = "Content";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
31
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
32 static const char* const STORAGE_TYPE_FILE_SYSTEM = "file-system";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
33 static const char* const STORAGE_TYPE_OBJECT_STORAGE = "object-storage";
8a9207933297 MoveStorageJob serialization
Alain Mazy <am@osimis.io>
parents:
diff changeset
34