-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- updated to comply with Testlab REST API changes
- try to remove unneeded dependency to TAP when the feature is not really used or needed - fix SECURITY-854 - fix SECURITY-847
- Loading branch information
Showing
18 changed files
with
1,569 additions
and
128 deletions.
There are no files selected for viewing
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
14 changes: 14 additions & 0 deletions
14
src/main/java/fi/meliora/testlab/ext/crest/exception/ConflictException.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,14 @@ | ||
package fi.meliora.testlab.ext.crest.exception; | ||
|
||
/** | ||
* Thrown if rest endpoint sends 409 CONFLICT response. | ||
* | ||
* @author Marko Kanala | ||
*/ | ||
public class ConflictException extends TestlabAPIException { | ||
|
||
public ConflictException(Object responseData) { | ||
super(responseData); | ||
} | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
src/main/java/fi/meliora/testlab/ext/crest/exception/ServiceUnavailableException.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,15 @@ | ||
package fi.meliora.testlab.ext.crest.exception; | ||
|
||
/** | ||
* Thrown if rest endpoint sends 503 SERVICE UNAVAILABLE response. | ||
* | ||
* @author Marko Kanala | ||
*/ | ||
public class ServiceUnavailableException extends TestlabAPIException { | ||
|
||
public ServiceUnavailableException(Object responseData) { | ||
super(responseData); | ||
} | ||
|
||
} | ||
|
15 changes: 15 additions & 0 deletions
15
src/main/java/fi/meliora/testlab/ext/crest/exception/UnauthorizedException.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,15 @@ | ||
package fi.meliora.testlab.ext.crest.exception; | ||
|
||
/** | ||
* Thrown if rest endpoint sends 401 UNAUTHORIZED response. | ||
* | ||
* @author Marko Kanala | ||
*/ | ||
public class UnauthorizedException extends TestlabAPIException { | ||
|
||
public UnauthorizedException(Object responseData) { | ||
super(responseData); | ||
} | ||
|
||
} | ||
|
15 changes: 15 additions & 0 deletions
15
src/main/java/fi/meliora/testlab/ext/crest/exception/ValidationException.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,15 @@ | ||
package fi.meliora.testlab.ext.crest.exception; | ||
|
||
/** | ||
* Thrown if rest endpoint sends 400 BAD_REQUEST response. | ||
* | ||
* @author Marko Kanala | ||
*/ | ||
public class ValidationException extends TestlabAPIException { | ||
|
||
public ValidationException(Object responseData) { | ||
super(responseData); | ||
} | ||
|
||
} | ||
|
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
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
Oops, something went wrong.