Class IngestStep
- java.lang.Object
-
- fr.gouv.vitam.functionaltest.cucumber.step.IngestStep
-
public class IngestStep extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IngestStep(World world)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
a_sip_named(java.lang.String fileName)
define a sipvoid
afterScenario()
void
build_the_attachenment_by_key_value(java.lang.String metadataName, java.lang.String metadataValue)
void
build_the_attachenment_by_systemid()
void
build_the_attachenment_to_existing_object_group()
void
upload_this_plan()
call vitam to upload the planvoid
upload_this_sip()
call vitam to upload the SIPvoid
upload_this_tree()
call vitam to upload the treevoid
use_test_set_from_sip(java.lang.String fileName)
Execute an ingest OK and saves the operationId in test set map.
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
_ID
public static final java.lang.String _ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IngestStep
public IngestStep(World world)
-
-
Method Detail
-
a_sip_named
@Given("^un fichier SIP nomm\u00e9 (.*)$") public void a_sip_named(java.lang.String fileName)
define a sip- Parameters:
fileName
- name of a sip
-
upload_this_sip
@When("^je t\u00e9l\u00e9charge le SIP") public void upload_this_sip() throws VitamException, java.io.IOException
call vitam to upload the SIP- Throws:
java.io.IOException
IngestExternalException
VitamException
-
upload_this_plan
@When("^je t\u00e9l\u00e9charge le plan") public void upload_this_plan() throws java.io.IOException, VitamException
call vitam to upload the plan- Throws:
java.io.IOException
IngestExternalException
VitamException
-
upload_this_tree
@When("^je t\u00e9l\u00e9charge l\'arbre") public void upload_this_tree() throws java.io.IOException, VitamException
call vitam to upload the tree- Throws:
java.io.IOException
IngestExternalException
VitamException
-
build_the_attachenment_by_systemid
@When("je construit le sip de rattachement avec le template") public void build_the_attachenment_by_systemid() throws java.io.IOException
- Throws:
java.io.IOException
-
build_the_attachenment_by_key_value
@When("j\'utilise le template et construit un sip de rattachement avec comme nom et valeur de m\u00e9tadonn\u00e9e (.*) et (.*)$") public void build_the_attachenment_by_key_value(java.lang.String metadataName, java.lang.String metadataValue) throws java.io.IOException
- Throws:
java.io.IOException
-
build_the_attachenment_to_existing_object_group
@When("je construit le SIP de rattachement au groupe d\'objet existant avec le template") public void build_the_attachenment_to_existing_object_group() throws java.io.IOException
- Throws:
java.io.IOException
-
use_test_set_from_sip
@Given("^les donn\u00e9es du jeu de test du SIP nomm\u00e9 (.*)") public void use_test_set_from_sip(java.lang.String fileName)
Execute an ingest OK and saves the operationId in test set map.- Parameters:
fileName
- name of a sip
-
afterScenario
public void afterScenario() throws java.io.IOException
- Throws:
java.io.IOException
-
-