Skip to content

[FEATURE] Create a Rest Handler to add POST _validate/detector method #221

@dbwiddis

Description

@dbwiddis

Is your feature request related to a problem?

Similar to the Rest Handler created for Create Detector or Hello World Extension or GET method in #213, create an action implementing ExtensionRestHandler with routes for the validate detector API calls handled by appropriate methods with placeholder code:

POST /detectors/_validate
POST /detectors/_validate/{type}

Java code:

private ExtensionRestResponse handleValidateDetectorRequest(ExtensionRestRequest request) {
    // do things with request
    return new ExtensionRestResponse(request, OK, "placeholder");
}

Create a POST _validate Rest handler for validate detector similar to this. The business logic will be later done in #222.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions