Skip to content

Commit

Permalink
CORE-16181 Moving schema changes to BootConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-millar committed Oct 9, 2023
1 parent a097513 commit 888b48f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@ private BootConfig() {
public static final String BOOT_STATE_MANAGER_JDBC_URL = BOOT_STATE_MANAGER + ".database.jdbc.url";

public static final String BOOT_WORKER_SERVICE = "worker";
public static final String CRYPTO_WORKER_REST_ENDPOINT = BOOT_WORKER_SERVICE + ".endpoints.crypto";
public static final String VERIFICATION_WORKER_REST_ENDPOINT = BOOT_WORKER_SERVICE + ".endpoints.verification";
public static final String UNIQUENESS_WORKER_REST_ENDPOINT = BOOT_WORKER_SERVICE + ".endpoints.uniqueness";
public static final String PERSISTENCE_WORKER_REST_ENDPOINT = BOOT_WORKER_SERVICE + ".endpoints.persistence";
}
11 changes: 0 additions & 11 deletions data/topic-schema/src/main/java/net/corda/schema/Schemas.java
Original file line number Diff line number Diff line change
Expand Up @@ -281,15 +281,4 @@ private ScheduledTask() {}
public static final String SCHEDULED_TASK_NAME_SESSION_TIMEOUT = "flow-session-timeout";

}

/**
* Corda worker REST endpoints
*/
public static final class Endpoint {
private Endpoint() {}
public static final String CRYPTO_WORKER_REST_ENDPOINT = "worker.endpoints.crypto";
public static final String VERIFICATION_WORKER_REST_ENDPOINT = "worker.endpoints.verification";
public static final String UNIQUENESS_WORKER_REST_ENDPOINT = "worker.endpoints.uniqueness";
public static final String PERSISTENCE_WORKER_REST_ENDPOINT = "worker.endpoints.persistence";
}
}

0 comments on commit 888b48f

Please sign in to comment.