You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should now get from latest.candidate from jcentral instead of snapshot from jfrog.
Provide more complex and comprehensive example of creating injector.
2.1. For example,
Karyon.createInjector(
ArchaiusKaryonConfiguration.builder()
.withConfigName(CONFIG_NAME)
.addProfiles("legacyPlatform")
.addModules(
new EurekaModule(),
new ArchaiusModule(),
new ProvisionDebugModule(),
new AdminServerModule(),
new AdminUIServerModule(),
new EurekaHealthCheckModule(),
new MyServiceHealthIndicatorModule(),
new ServletModule() { @OverRide
protected void configureServlets() {
// and serve any found resources from the base path of "/REST/"
serve("/Myservice/Status").with(BaseStatusPage.class);
serve("/Myservice/healthcheck").with(HealthCheckServlet.class);
}
}
).build()
2.2. It also helps to provide some modules examples, e.g., ArchaiusModule, EurekaModule, etc.
2.3. Provide separate section for addProfiles(). All conditional loading can be done through profiles. Using addProfiles will be simpler than grasping conditional loading.
2.4. Provide descriptions for Admin UI/REST endpoints and what the purposes of different endpoints are for.
The text was updated successfully, but these errors were encountered:
Wiki needs another round of update. For example,
2.1. For example,
Karyon.createInjector(
ArchaiusKaryonConfiguration.builder()
.withConfigName(CONFIG_NAME)
.addProfiles("legacyPlatform")
.addModules(
new EurekaModule(),
new ArchaiusModule(),
new ProvisionDebugModule(),
new AdminServerModule(),
new AdminUIServerModule(),
new EurekaHealthCheckModule(),
new MyServiceHealthIndicatorModule(),
new ServletModule() {
@OverRide
protected void configureServlets() {
// and serve any found resources from the base path of "/REST/"
serve("/Myservice/Status").with(BaseStatusPage.class);
serve("/Myservice/healthcheck").with(HealthCheckServlet.class);
}
}
).build()
2.2. It also helps to provide some modules examples, e.g., ArchaiusModule, EurekaModule, etc.
2.3. Provide separate section for addProfiles(). All conditional loading can be done through profiles. Using addProfiles will be simpler than grasping conditional loading.
2.4. Provide descriptions for Admin UI/REST endpoints and what the purposes of different endpoints are for.
The text was updated successfully, but these errors were encountered: