Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dad
vitam-api-proxy
Commits
829e1a86
Commit
829e1a86
authored
Nov 25, 2021
by
granier
Browse files
Ajout de getManifest
parent
93f12eba
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/cines/vitam/proxy/IngestRequest.java
View file @
829e1a86
...
...
@@ -61,6 +61,20 @@ public class IngestRequest extends AbstractVitamApiProxyRequest {
*/
public
HttpResponse
<
String
>
getATR
(
RequesterInfo
requesterInfo
,
String
requestId
)
throws
URISyntaxException
,
IOException
,
InterruptedException
{
return
get
(
requesterInfo
,
"ingests/"
+
requestId
+
"/archivetransferreply"
,
null
,
"Content-Type"
,
"application/octet-stream"
);
return
get
(
requesterInfo
,
"ingests/"
+
requestId
+
"/archivetransferreply"
,
null
,
"Content-Type"
,
"application/octet-stream"
,
"Accept"
,
"*/*"
);
}
/**
* Request to retreive original manifest
* @param requesterInfo
* @param requestId
* @return
* @throws URISyntaxException
* @throws IOException
* @throws InterruptedException
*/
public
HttpResponse
<
String
>
getManifest
(
RequesterInfo
requesterInfo
,
String
requestId
)
throws
URISyntaxException
,
IOException
,
InterruptedException
{
return
get
(
requesterInfo
,
"ingests/"
+
requestId
+
"/manifests"
,
null
,
"Content-Type"
,
"application/octet-stream"
,
"Accept"
,
"*/*"
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment