mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-25 08:11:06 -06:00
move some doc apis to core API layer
This commit is contained in:
parent
6e1790057d
commit
c27630e5a6
@ -1,7 +1,7 @@
|
|||||||
package io.nosqlbench.docsys;
|
package io.nosqlbench.docsys;
|
||||||
|
|
||||||
import io.nosqlbench.docsys.api.Docs;
|
import io.nosqlbench.docapi.Docs;
|
||||||
import io.nosqlbench.docsys.api.DocsBinder;
|
import io.nosqlbench.docapi.DocsBinder;
|
||||||
import io.nosqlbench.docsys.api.DocsysStaticManifest;
|
import io.nosqlbench.docsys.api.DocsysStaticManifest;
|
||||||
|
|
||||||
//@Service(DocsysStaticManifest.class)
|
//@Service(DocsysStaticManifest.class)
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package io.nosqlbench.docsys.api;
|
package io.nosqlbench.docsys.api;
|
||||||
|
|
||||||
|
import io.nosqlbench.docapi.DocsBinder;
|
||||||
import io.nosqlbench.docsys.endpoints.DocsysMarkdownEndpoint;
|
import io.nosqlbench.docsys.endpoints.DocsysMarkdownEndpoint;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
package io.nosqlbench.docsys.api;
|
package io.nosqlbench.docsys.api;
|
||||||
|
|
||||||
|
import io.nosqlbench.docapi.DocsBinder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* At runtime, any instances of this service will be used to find
|
* At runtime, any instances of this service will be used to find
|
||||||
* paths to be hosted as static content.
|
* paths to be hosted as static content.
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
package io.nosqlbench.docsys.core;
|
package io.nosqlbench.docsys.core;
|
||||||
|
|
||||||
import io.nosqlbench.docsys.api.*;
|
import io.nosqlbench.docapi.*;
|
||||||
|
import io.nosqlbench.docsys.api.DocsysDynamicManifest;
|
||||||
|
import io.nosqlbench.docsys.api.DocsysStaticManifest;
|
||||||
|
|
||||||
import java.util.ServiceLoader;
|
import java.util.ServiceLoader;
|
||||||
|
|
||||||
@ -29,4 +31,6 @@ public class DocsysPathLoader {
|
|||||||
}
|
}
|
||||||
return docs;
|
return docs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package io.nosqlbench.docsys.core;
|
package io.nosqlbench.docsys.core;
|
||||||
|
|
||||||
import io.nosqlbench.docsys.DocsysDefaultAppPath;
|
import io.nosqlbench.docsys.DocsysDefaultAppPath;
|
||||||
import io.nosqlbench.docsys.api.Docs;
|
import io.nosqlbench.docapi.Docs;
|
||||||
import io.nosqlbench.docsys.api.WebServiceObject;
|
import io.nosqlbench.docsys.api.WebServiceObject;
|
||||||
import io.nosqlbench.docsys.handlers.FavIconHandler;
|
import io.nosqlbench.docsys.handlers.FavIconHandler;
|
||||||
import io.nosqlbench.nb.annotations.Maturity;
|
import io.nosqlbench.nb.annotations.Maturity;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package io.nosqlbench.docsys.endpoints;
|
package io.nosqlbench.docsys.endpoints;
|
||||||
|
|
||||||
import io.nosqlbench.docsys.api.Docs;
|
import io.nosqlbench.docapi.Docs;
|
||||||
import io.nosqlbench.docsys.api.DocsBinder;
|
import io.nosqlbench.docapi.DocsBinder;
|
||||||
import io.nosqlbench.docsys.api.DocsNameSpace;
|
import io.nosqlbench.docapi.DocsNameSpace;
|
||||||
import io.nosqlbench.docsys.api.WebServiceObject;
|
import io.nosqlbench.docsys.api.WebServiceObject;
|
||||||
import io.nosqlbench.docsys.core.DocsysPathLoader;
|
import io.nosqlbench.docsys.core.DocsysPathLoader;
|
||||||
import io.nosqlbench.docsys.core.PathWalker;
|
import io.nosqlbench.docsys.core.PathWalker;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package io.nosqlbench.engine.docs;
|
package io.nosqlbench.engine.docs;
|
||||||
|
|
||||||
import io.nosqlbench.docsys.api.Docs;
|
import io.nosqlbench.docapi.Docs;
|
||||||
import io.nosqlbench.docsys.api.DocsBinder;
|
import io.nosqlbench.docapi.DocsBinder;
|
||||||
import io.nosqlbench.docsys.api.DocsysDynamicManifest;
|
import io.nosqlbench.docsys.api.DocsysDynamicManifest;
|
||||||
import io.nosqlbench.nb.annotations.Service;
|
import io.nosqlbench.nb.annotations.Service;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package io.nosqlbench.docsys.api;
|
package io.nosqlbench.docapi;
|
||||||
|
|
||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
import java.util.List;
|
import java.util.List;
|
@ -1,4 +1,4 @@
|
|||||||
package io.nosqlbench.docsys.api;
|
package io.nosqlbench.docapi;
|
||||||
|
|
||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
import java.util.List;
|
import java.util.List;
|
@ -1,4 +1,4 @@
|
|||||||
package io.nosqlbench.docsys.api;
|
package io.nosqlbench.docapi;
|
||||||
|
|
||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
@ -42,7 +42,7 @@ public class DocsNameSpaceImpl implements DocsNameSpace {
|
|||||||
public String toString() {
|
public String toString() {
|
||||||
return "DocPath{" +
|
return "DocPath{" +
|
||||||
"namespace='" + namespace + '\'' +
|
"namespace='" + namespace + '\'' +
|
||||||
",paths=" + paths.toString() +
|
",paths=" + paths +
|
||||||
'}';
|
'}';
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@ -1,7 +1,7 @@
|
|||||||
package io.nosqlbench.virtdata.userlibs.docinfo;
|
package io.nosqlbench.virtdata.userlibs.docinfo;
|
||||||
|
|
||||||
import io.nosqlbench.docsys.api.Docs;
|
import io.nosqlbench.docapi.Docs;
|
||||||
import io.nosqlbench.docsys.api.DocsBinder;
|
import io.nosqlbench.docapi.DocsBinder;
|
||||||
import io.nosqlbench.docsys.api.DocsysDynamicManifest;
|
import io.nosqlbench.docsys.api.DocsysDynamicManifest;
|
||||||
import io.nosqlbench.nb.annotations.Service;
|
import io.nosqlbench.nb.annotations.Service;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user