public class AccessStep extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
AccessStep.MyRunnable |
Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT_IDENTIFIER |
static String |
INGEST_CONTRACT_IDENTIFIER |
Constructor and Description |
---|
AccessStep(World world) |
Modifier and Type | Method and Description |
---|---|
void |
check_traceability_audit_status(String expectedStatus) |
void |
i_import_or_check_the_file_for_the_admin_collection(String action,
String filename,
String collection)
Import or Check an admin referential file
|
void |
i_use_the_following_file_query(String queryFilename)
define a query from a file to reuse it after
|
void |
i_use_the_following_parameter_query_with_values(String parameter,
String value)
replace in the loaded query the given parameter by the given value
|
void |
i_use_the_following_query_with_saved(String query)
define a query to reuse it after
|
void |
i_use_the_following_query(String query)
define a query to reuse it after
|
void |
i_use_the_following_unit_guid_for_title(String title)
replace in the loaded query the string {{guid}} by the guid of the first unit found for given title
|
void |
je_lance_l_audit_en_service_producteur(String action,
String originatingAgnecy) |
void |
je_modifie_le_contrat_d_accès(String name,
String queryFilename) |
void |
je_veux_faire_l_audit_des_objets_de_tenant(String action,
int tenant) |
void |
le_réultat_de_l_audit_est_succès() |
void |
lfc_traceability() |
void |
metadata_are_for_particular_result(int resultNumber,
cucumber.api.DataTable dataTable)
check if the metadata are valid.
|
void |
metadata_are(cucumber.api.DataTable dataTable)
check if the metadata are valid.
|
void |
number_of_result_are(int numberOfResult)
check if the number of result is OK
|
void |
object_group_traceability_audit() |
void |
search_archive_unit_object_group()
Search an archive unit and retrieve object groups according to the query define before.
|
void |
search_archive_unit_object_group(String title)
Search an archive unit and retrieve object groups according to the query define before.
|
void |
search_archive_unit()
search an archive unit according to the query define before
|
void |
search_archive_unit(String originatingSystemId) |
void |
search_in_admin_collection(String collection)
Search in admin collection according to the query define before
|
void |
search_logbook_operation()
search logbook operations according to the query define before
|
void |
search_one_archive_unit()
search an archive unit according to the query define before
|
void |
search_one_object_group()
search an archive unit according to the query define before
|
void |
the_status_of_the_request(String status)
check if the status of the select result is unauthorized
|
void |
the_status_of_the_select_result(String status)
check if the status of the select result is unauthorized
|
void |
the_status_of_the_update_result(String status)
check if the status of the update result is unauthorized
|
void |
unit_traceability_audit() |
void |
update_archive_unit_with_query(String query)
update an archive unit according to the query define before
|
void |
update_archive_unit()
update an archive unit according to the query define before
|
void |
upload_contract_ingest_with_noeud(String title)
Upload contract with noeud
|
public static final String CONTEXT_IDENTIFIER
public static final String INGEST_CONTRACT_IDENTIFIER
public AccessStep(World world)
@Then(value="^les metadonn\u00e9es sont$") public void metadata_are(cucumber.api.DataTable dataTable) throws Throwable
dataTable
- dataTableThrowable
@Then(value="^les metadonn\u00e9es pour le r\u00e9sultat (\\d+)$") public void metadata_are_for_particular_result(int resultNumber, cucumber.api.DataTable dataTable) throws Throwable
dataTable
- dataTableresultNumber
- resultNumberThrowable
@When(value="^j\'importe le contrat d\'entr\u00e9e avec le noeud de rattachement dont le titre est (.*)") public void upload_contract_ingest_with_noeud(String title) throws Throwable
title
- IOException
Throwable
@Then(value="^le nombre de r\u00e9sultat est (\\d+)$") public void number_of_result_are(int numberOfResult) throws Throwable
numberOfResult
- number of result.Throwable
@Then(value="^le statut de select r\u00e9sultat est (.*)$") public void the_status_of_the_select_result(String status) throws Throwable
status
- Throwable
@Then(value="^le statut de la requete est (.*)$") public void the_status_of_the_request(String status) throws Throwable
status
- Throwable
@Then(value="^le statut de update r\u00e9sultat est (.*)$") public void the_status_of_the_update_result(String status) throws Throwable
status
- Throwable
@When(value="^j\'utilise le fichier de requ\u00eate suivant (.*)$") public void i_use_the_following_file_query(String queryFilename) throws Throwable
queryFilename
- name of the file containing the queryThrowable
@When(value="^j\'utilise dans la requ\u00eate le param\u00e8tre (.*) avec la valeur (.*)$") public void i_use_the_following_parameter_query_with_values(String parameter, String value) throws Throwable
parameter
- parameter name in the queryvalue
- the valeur to replace the parameterThrowable
@When(value="^j\'utilise dans la requ\u00eate le GUID de l\'unit\u00e9 archivistique pour le titre (.*)$") public void i_use_the_following_unit_guid_for_title(String title) throws Throwable
title
- title of the unitThrowable
@When(value="^j\'utilise la requ\u00eate suivante$") public void i_use_the_following_query(String query) throws Throwable
query
- Throwable
@When(value="^j\'utilise la requ\u00eate suivante avec l\'identifient sauv\u00e9gard\u00e9$") public void i_use_the_following_query_with_saved(String query) throws Throwable
query
- Throwable
@When(value="^je recherche les unit\u00e9s archivistiques$") public void search_archive_unit() throws Throwable
Throwable
@When(value="^je recherche les unit\u00e9s archivistiques pour trouver l\'unite (.*)$") public void search_archive_unit(String originatingSystemId) throws Throwable
Throwable
@When(value="^je recherche une unit\u00e9 archivistique et je recup\u00e8re son id$") public void search_one_archive_unit() throws Throwable
Throwable
@When(value="^je recherche une unit\u00e9 archivistique ayant un groupe d\'objets et je recup\u00e8re son id et son objet$") public void search_one_object_group() throws Throwable
Throwable
@When(value="^je modifie les unit\u00e9s archivistiques$") public void update_archive_unit() throws Throwable
Throwable
@When(value="^je modifie l\'unit\u00e9 archivistique avec la requete$") public void update_archive_unit_with_query(String query) throws Throwable
Throwable
@When(value="^je recherche les groupes d\'objets des unit\u00e9s archivistiques$") public void search_archive_unit_object_group() throws Throwable
Throwable
@When(value="^je recherche les groupes d\'objets de l\'unit\u00e9 archivistique dont le titre est (.*)$") public void search_archive_unit_object_group(String title) throws Throwable
Throwable
@When(value="^je recherche les journaux d\'op\u00e9ration$") public void search_logbook_operation() throws Throwable
Throwable
@When(value="^(?:je |j\')(.*) le fichier nomm\u00e9 (.*) (?:pour|dans) le r\u00e9f\u00e9rentiel (.*)$") public void i_import_or_check_the_file_for_the_admin_collection(String action, String filename, String collection) throws Throwable
action
- the action we want to execute : "vérifie" for check / "importe" for importfilename
- name of the file to import or checkcollection
- name of the collectionThrowable
@When(value="^je recherche les donn\u00e9es dans le r\u00e9f\u00e9rentiel (.*)$") public void search_in_admin_collection(String collection) throws Throwable
collection
- name of the collectionThrowable
@When(value="^je modifie le contrat d\'acc\u00e8s (.*) avec le fichier de requ\u00eate suivant (.*)$") public void je_modifie_le_contrat_d_accès(String name, String queryFilename) throws Throwable
Throwable
@When(value="^je veux faire un audit sur (.*) des objets par service producteur \"([^\"]*)\"$") public void je_lance_l_audit_en_service_producteur(String action, String originatingAgnecy) throws Throwable
Throwable
@When(value="^je veux faire un audit sur (.*) des objets par tenant (\\d+)$") public void je_veux_faire_l_audit_des_objets_de_tenant(String action, int tenant) throws Throwable
Throwable
@Then(value="^le r\u00e9ultat de l\'audit est succ\u00e8s$") public void le_réultat_de_l_audit_est_succès() throws Throwable
Throwable
@When(value="^je r\u00e9alise un audit de tra\u00e7abilit\u00e9 de l\'unit\u00e9$") public void unit_traceability_audit() throws Throwable
Throwable
@When(value="^je r\u00e9alise un audit de tra\u00e7abilit\u00e9 de l\'objet group$") public void object_group_traceability_audit() throws Throwable
Throwable
@Then(value="^le journal d\'op\u00e9ration de l\'audit de tra\u00e7abilit\u00e9 a pour statut (.*)$") public void check_traceability_audit_status(String expectedStatus) throws Throwable
Throwable
@When(value="^on lance la tra\u00e7abilit\u00e9 des journaux de cycles de vie$") public void lfc_traceability()
Copyright © 2018 Vitam. All rights reserved.