-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'item_6165_manifest_digest_validation' into 'develop'
Item 6165 : Add optional manifest digest validation See merge request vitam/vitam!7454 (cherry picked from commit f5a372e) 0232ce5a Item 6165 : Add optional manifest digest validation d3a1bd7b Item 6165 : Minor fixes
- Loading branch information
Gabriel ARENA
committed
Feb 28, 2020
1 parent
87d9307
commit d91f944
Showing
20 changed files
with
725 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
...al-client/src/main/java/fr/gouv/vitam/ingest/external/client/IngestRequestParameters.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/* | ||
* Copyright French Prime minister Office/SGMAP/DINSIC/Vitam Program (2015-2020) | ||
* | ||
* contact.vitam@culture.gouv.fr | ||
* | ||
* This software is a computer program whose purpose is to implement a digital archiving back-office system managing | ||
* high volumetry securely and efficiently. | ||
* | ||
* This software is governed by the CeCILL-C license under French law and abiding by the rules of distribution of free | ||
* software. You can use, modify and/ or redistribute the software under the terms of the CeCILL-C license as | ||
* circulated by CEA, CNRS and INRIA at the following URL "https://cecill.info". | ||
* | ||
* As a counterpart to the access to the source code and rights to copy, modify and redistribute granted by the license, | ||
* users are provided only with a limited warranty and the software's author, the holder of the economic rights, and the | ||
* successive licensors have only limited liability. | ||
* | ||
* In this respect, the user's attention is drawn to the risks associated with loading, using, modifying and/or | ||
* developing or reproducing the software by the user in light of its specific status of free software, that may mean | ||
* that it is complicated to manipulate, and that also therefore means that it is reserved for developers and | ||
* experienced professionals having in-depth computer knowledge. Users are therefore encouraged to load and test the | ||
* software's suitability as regards their requirements in conditions enabling the security of their systems and/or data | ||
* to be ensured and, more generally, to use and operate it in the same conditions as regards security. | ||
* | ||
* The fact that you are presently reading this means that you have had knowledge of the CeCILL-C license and that you | ||
* accept its terms. | ||
*/ | ||
package fr.gouv.vitam.ingest.external.client; | ||
|
||
public class IngestRequestParameters { | ||
|
||
private final String contextId; | ||
private final String action; | ||
private String manifestDigestValue; | ||
private String manifestDigestAlgo; | ||
|
||
public IngestRequestParameters(String contextId, String action) { | ||
this.contextId = contextId; | ||
this.action = action; | ||
} | ||
|
||
public String getContextId() { | ||
return contextId; | ||
} | ||
|
||
public String getAction() { | ||
return action; | ||
} | ||
|
||
public String getManifestDigestValue() { | ||
return manifestDigestValue; | ||
} | ||
|
||
public IngestRequestParameters setManifestDigestValue(String manifestDigestValue) { | ||
this.manifestDigestValue = manifestDigestValue; | ||
return this; | ||
} | ||
|
||
public String getManifestDigestAlgo() { | ||
return manifestDigestAlgo; | ||
} | ||
|
||
public IngestRequestParameters setManifestDigestAlgo(String manifestDigestAlgo) { | ||
this.manifestDigestAlgo = manifestDigestAlgo; | ||
return this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.