Nouvelles Regex : SBE_SEND_RESULT_ERROR validée
This commit is contained in:
parent
5a909b65aa
commit
1a124f609f
@ -3,14 +3,18 @@ package lightcontainer.protocol.rules.reader;
|
||||
import lightcontainer.domains.client.Context;
|
||||
import lightcontainer.interfaces.ProtocolRepository;
|
||||
import lightcontainer.protocol.ProtocolReader;
|
||||
import lightcontainer.protocol.StandardizedDefinitions;
|
||||
import lightcontainer.protocol.rules.writer.SaveFileErrorRule;
|
||||
|
||||
import static lightcontainer.protocol.StandardizedDefinitions.SBE_SEND_RESULT_ERROR;
|
||||
|
||||
/**
|
||||
* Règle permettant de de confirmer la sauvegrade d'un fichier.
|
||||
*/
|
||||
public class SendErrorRule extends ProtocolReader {
|
||||
// Constants
|
||||
private static final String PATTERN = "^SEND_ERROR\r\n$";
|
||||
//"^SEND_ERROR\r\n$"
|
||||
private static final String PATTERN = SBE_SEND_RESULT_ERROR;
|
||||
|
||||
private static final String NAME = "SEND_ERROR";
|
||||
|
||||
|
@ -12,10 +12,10 @@
|
||||
"aes_key": "a68CqbWmmf0cuvgvMhm9OC+Y24ut3DY/0WBqtd3nGfU=",
|
||||
"files": [
|
||||
{
|
||||
"name": "test.txt",
|
||||
"fileNameSalt": "4DMHDs7+7lS8iw/SZYsdbA==",
|
||||
"size": 301,
|
||||
"iv": "Yuq6QN1WYFm7DZzO+svKGw==",
|
||||
"name": "tes",
|
||||
"fileNameSalt": "DlxEqOb4l9rbbRi8E8k+EA==",
|
||||
"size": 0,
|
||||
"iv": "HpJr8VZOFEIRuxj9z1Uzig==",
|
||||
"storage": [
|
||||
"lightcontainerSB01"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user