Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Wiki to provide more comprehensive examples #296

Open
howardyuan opened this issue Oct 2, 2015 · 0 comments
Open

Update Wiki to provide more comprehensive examples #296

howardyuan opened this issue Oct 2, 2015 · 0 comments
Milestone

Comments

@howardyuan
Copy link

Wiki needs another round of update. For example,

  1. We should now get from latest.candidate from jcentral instead of snapshot from jfrog.
  2. 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.
@elandau elandau modified the milestone: v3.0.1 Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants