Skip to content

Commit 98d6dd0

Browse files
authored
fixes #2304 Add constants for light-hybrid-4j (#2305)
1 parent 8014e5b commit 98d6dd0

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

cache-explorer/src/main/resources/config/cache.yml

-10
This file was deleted.

handler/src/main/java/com/networknt/handler/Handler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ private static void registerMiddlewareHandler(Object handler) {
410410
* constructor fields. To note: It could either implement HttpHandler, or
411411
* HandlerProvider.
412412
*
413-
* @param handler
413+
* @param handler handler string
414414
*/
415415
private static void initStringDefinedHandler(String handler) {
416416

utility/src/main/java/com/networknt/utility/Constants.java

+4
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ public class Constants {
5151
public static final String SWAGGER_OPERATION_STRING = "swagger_operation";
5252
// OpenAPI 3.0 operation header name
5353
public static final String OPENAPI_OPERATION_STRING = "openapi_operation";
54+
// Hybrid service schema
55+
public static final String HYBRID_SERVICE_ID = "hybrid_service_id";
56+
public static final String HYBRID_SERVICE_MAP = "hybrid_service_map";
57+
public static final String HYBRID_SERVICE_DATA = "hybrid_service_data";
5458

5559
public static final String SCOPE_TOKEN_STRING = "X-Scope-Token";
5660
public static final String CONSUL_TOKEN_STRING = "X-Consul-Token";

0 commit comments

Comments
 (0)