-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1789 from akto-api-security/feature/crud_advanced…
…_test_configs Moving advanced test configs to mini testing
- Loading branch information
Showing
4 changed files
with
88 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
libs/dao/src/main/java/com/akto/dto/CollectionConditions/ConditionsType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package com.akto.dto.CollectionConditions; | ||
|
||
import java.util.Set; | ||
|
||
public class ConditionsType { | ||
|
||
private String key; | ||
private String value; | ||
private Set<String> urlsList; | ||
|
||
|
||
public ConditionsType () {} | ||
|
||
public ConditionsType (String key, String value, Set<String> urlsList) { | ||
this.key = key; | ||
this.value = value; | ||
this.urlsList = urlsList ; | ||
} | ||
|
||
public String getKey() { | ||
return key; | ||
} | ||
|
||
public void setKey(String key) { | ||
this.key = key; | ||
} | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
|
||
public void setValue(String value) { | ||
this.value = value; | ||
} | ||
|
||
public Set<String> getUrlsList() { | ||
return urlsList; | ||
} | ||
|
||
public void setUrlsList(Set<String> urlsList) { | ||
this.urlsList = urlsList; | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
libs/dao/src/main/java/com/akto/dto/CollectionConditions/TestConfigsAdvancedSettings.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package com.akto.dto.CollectionConditions; | ||
|
||
import java.util.List; | ||
|
||
public class TestConfigsAdvancedSettings { | ||
|
||
private String operatorType; | ||
private List<ConditionsType> operationsGroupList; | ||
|
||
public TestConfigsAdvancedSettings(){} | ||
|
||
public TestConfigsAdvancedSettings(String operatorType, List<ConditionsType> operationsGroupList){ | ||
this.operationsGroupList = operationsGroupList; | ||
this.operatorType = operatorType; | ||
} | ||
|
||
public String getOperatorType() { | ||
return operatorType; | ||
} | ||
|
||
public void setOperatorType(String operatorType) { | ||
this.operatorType = operatorType; | ||
} | ||
|
||
public List<ConditionsType> getOperationsGroupList() { | ||
return operationsGroupList; | ||
} | ||
|
||
public void setOperationsGroupList(List<ConditionsType> operationsGroupList) { | ||
this.operationsGroupList = operationsGroupList; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters