Nouvelles Regex : FFE_REMOVE_OK validée
This commit is contained in:
parent
febff3a8e0
commit
d10b547dc0
@ -2,9 +2,11 @@ package lightcontainer.protocol.rules.writer;
|
|||||||
|
|
||||||
import lightcontainer.protocol.ProtocolWriter;
|
import lightcontainer.protocol.ProtocolWriter;
|
||||||
|
|
||||||
|
import static lightcontainer.protocol.StandardizedDefinitions.FFE_REMOVE_OK;
|
||||||
|
|
||||||
public class RemoveFileOkRule extends ProtocolWriter {
|
public class RemoveFileOkRule extends ProtocolWriter {
|
||||||
//"^REMOVEFILE_OK\r\n$"
|
//"^REMOVEFILE_OK\r\n$"
|
||||||
private static final String PATTERN = "^REMOVEFILE_OK\r\n$";
|
private static final String PATTERN = FFE_REMOVE_OK;
|
||||||
public static String NAME = "REMOVEFILE_OK";
|
public static String NAME = "REMOVEFILE_OK";
|
||||||
|
|
||||||
public RemoveFileOkRule() {
|
public RemoveFileOkRule() {
|
||||||
|
@ -1,26 +1 @@
|
|||||||
{
|
{"unicast_port":8000,"multicast_ip":"224.66.66.1","multicast_port":15502,"network_interface":"lo","tls":true,"storagePath":"C:\\Users\\ledou\\Documents\\ffe","users":[{"name":"aaaaa","password":"$2a$10$Up/pME2iFKALVSu8/JDpG.8Vc2vidOm99SeVoayCB1th7KHMZ1gq2","aes_key":"4+D3geivckhduP14646nYBb91N71HJj+8uvHFb0su0o=","files":[{"name":"test.txt","fileNameSalt":"QTWuH0rNYf0+8ondzDlFeA==","size":301,"iv":"r+Lw9Qpo5Ca7cO45MytKwA==","storage":["lightcontainerSB01"]}]}]}
|
||||||
"unicast_port": 8000,
|
|
||||||
"multicast_ip": "224.66.66.1",
|
|
||||||
"multicast_port": 15502,
|
|
||||||
"network_interface": "lo",
|
|
||||||
"tls": true,
|
|
||||||
"storagePath": "C:\\Users\\ledou\\Documents\\ffe",
|
|
||||||
"users": [
|
|
||||||
{
|
|
||||||
"name": "aaaaa",
|
|
||||||
"password": "$2a$10$Up/pME2iFKALVSu8/JDpG.8Vc2vidOm99SeVoayCB1th7KHMZ1gq2",
|
|
||||||
"aes_key": "4+D3geivckhduP14646nYBb91N71HJj+8uvHFb0su0o=",
|
|
||||||
"files": [
|
|
||||||
{
|
|
||||||
"name": "test.txt",
|
|
||||||
"fileNameSalt": "FIjFt/hfscPkTLksP0IT4A==",
|
|
||||||
"size": 301,
|
|
||||||
"iv": "ATf85tYHY7WoGmyy3XRqyA==",
|
|
||||||
"storage": [
|
|
||||||
"lightcontainerSB01"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user