Skip to content

Commit

Permalink
fixes #2304 Add constants for light-hybrid-4j (#2305)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehu authored Aug 5, 2024
1 parent 8014e5b commit 98d6dd0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
10 changes: 0 additions & 10 deletions cache-explorer/src/main/resources/config/cache.yml

This file was deleted.

2 changes: 1 addition & 1 deletion handler/src/main/java/com/networknt/handler/Handler.java
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ private static void registerMiddlewareHandler(Object handler) {
* constructor fields. To note: It could either implement HttpHandler, or
* HandlerProvider.
*
* @param handler
* @param handler handler string
*/
private static void initStringDefinedHandler(String handler) {

Expand Down
4 changes: 4 additions & 0 deletions utility/src/main/java/com/networknt/utility/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ public class Constants {
public static final String SWAGGER_OPERATION_STRING = "swagger_operation";
// OpenAPI 3.0 operation header name
public static final String OPENAPI_OPERATION_STRING = "openapi_operation";
// Hybrid service schema
public static final String HYBRID_SERVICE_ID = "hybrid_service_id";
public static final String HYBRID_SERVICE_MAP = "hybrid_service_map";
public static final String HYBRID_SERVICE_DATA = "hybrid_service_data";

public static final String SCOPE_TOKEN_STRING = "X-Scope-Token";
public static final String CONSUL_TOKEN_STRING = "X-Consul-Token";
Expand Down

0 comments on commit 98d6dd0

Please sign in to comment.