mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-16 10:52:03 -06:00
organize core endpoints
This commit is contained in:
parent
c3cdcd6479
commit
4c91fcbc89
@ -1,6 +1,6 @@
|
|||||||
package io.nosqlbench.docsys.api;
|
package io.nosqlbench.docsys.api;
|
||||||
|
|
||||||
import io.nosqlbench.docsys.core.DocsysMarkdownEndpoint;
|
import io.nosqlbench.docsys.endpoints.DocsysMarkdownEndpoint;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* At runtime, any instances of this service will be used to find
|
* At runtime, any instances of this service will be used to find
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package io.nosqlbench.docsys.core;
|
package io.nosqlbench.docsys.endpoints;
|
||||||
|
|
||||||
|
import io.nosqlbench.docsys.core.NBWebServer;
|
||||||
import io.nosqlbench.nb.annotations.Service;
|
import io.nosqlbench.nb.annotations.Service;
|
||||||
import io.nosqlbench.docsys.api.WebServiceObject;
|
import io.nosqlbench.docsys.api.WebServiceObject;
|
||||||
import org.apache.logging.log4j.Logger;
|
import org.apache.logging.log4j.Logger;
|
||||||
@ -30,7 +31,7 @@ public class DocServerStatusEndpoint implements WebServiceObject {
|
|||||||
@Path("status")
|
@Path("status")
|
||||||
@Produces(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
public String getStats() {
|
public String getStats() {
|
||||||
DocServer s = (DocServer) config.getProperty("server");
|
NBWebServer s = (NBWebServer) config.getProperty("server");
|
||||||
return s.toString();
|
return s.toString();
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,7 @@
|
|||||||
package io.nosqlbench.docsys.core;
|
package io.nosqlbench.docsys.endpoints;
|
||||||
|
|
||||||
|
import io.nosqlbench.docsys.core.DocsysPathLoader;
|
||||||
|
import io.nosqlbench.docsys.core.PathWalker;
|
||||||
import io.nosqlbench.nb.annotations.Service;
|
import io.nosqlbench.nb.annotations.Service;
|
||||||
import io.nosqlbench.docsys.api.DocsNameSpace;
|
import io.nosqlbench.docsys.api.DocsNameSpace;
|
||||||
import io.nosqlbench.docsys.api.Docs;
|
import io.nosqlbench.docsys.api.Docs;
|
Loading…
Reference in New Issue
Block a user