mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-28 17:51:06 -06:00
organize core endpoints
This commit is contained in:
parent
c3cdcd6479
commit
4c91fcbc89
@ -1,6 +1,6 @@
|
||||
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
|
||||
|
@ -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.docsys.api.WebServiceObject;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
@ -30,7 +31,7 @@ public class DocServerStatusEndpoint implements WebServiceObject {
|
||||
@Path("status")
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
public String getStats() {
|
||||
DocServer s = (DocServer) config.getProperty("server");
|
||||
NBWebServer s = (NBWebServer) config.getProperty("server");
|
||||
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.docsys.api.DocsNameSpace;
|
||||
import io.nosqlbench.docsys.api.Docs;
|
Loading…
Reference in New Issue
Block a user