Nouvelles Regex : ERASE_RESULT_OK validée
This commit is contained in:
parent
4128efdefc
commit
dedfeeff7d
@ -5,9 +5,11 @@ import lightcontainer.interfaces.ProtocolRepository;
|
||||
import lightcontainer.protocol.ProtocolReader;
|
||||
import lightcontainer.protocol.rules.writer.RemoveFileOkRule;
|
||||
|
||||
import static lightcontainer.protocol.StandardizedDefinitions.SBE_ERASE_RESULT_OK;
|
||||
|
||||
public class EraseOkRule extends ProtocolReader {
|
||||
|
||||
private static final String PATTERN = "^ERASE_OK\r\n$";
|
||||
private static final String PATTERN = SBE_ERASE_RESULT_OK;
|
||||
|
||||
private static final String NAME = "ERASE_OK";
|
||||
|
||||
|
@ -10,17 +10,7 @@
|
||||
"name": "aaaaa",
|
||||
"password": "$2a$10$Tuh5xmGEy0g26hQO1SHNY.TNy8rY9VCkpzRLP3rlpnVHtwYew4.km",
|
||||
"aes_key": "a68CqbWmmf0cuvgvMhm9OC+Y24ut3DY/0WBqtd3nGfU=",
|
||||
"files": [
|
||||
{
|
||||
"name": "test.txt",
|
||||
"fileNameSalt": "a+Nyu4hArJSdKdG6EvdxjQ==",
|
||||
"size": 301,
|
||||
"iv": "dzQdyPXANcb8sToyY84YzA==",
|
||||
"storage": [
|
||||
"lightcontainerSB01"
|
||||
]
|
||||
}
|
||||
]
|
||||
"files": []
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user