Nouvelles Regex : FFE_REMOVE_ERROR validée

This commit is contained in:
Maximilien LEDOUX 2022-03-19 13:34:25 +01:00
parent 67d85200a7
commit febff3a8e0
2 changed files with 29 additions and 2 deletions

View File

@ -2,10 +2,12 @@ package lightcontainer.protocol.rules.writer;
import lightcontainer.protocol.ProtocolWriter;
import static lightcontainer.protocol.StandardizedDefinitions.FFE_REMOVE_ERROR;
public class RemoveFileErrorRule extends ProtocolWriter {
//"^REMOVEFILE_ERROR\r\n$"
private static final String PATTERN = "^REMOVEFILE_ERROR\r\n$";
private static final String PATTERN = FFE_REMOVE_ERROR;
public static String NAME = "REMOVEFILE_ERROR";

View File

@ -1 +1,26 @@
{"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"]}]}]}
{
"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"
]
}
]
}
]
}