|
10 | 10 | #include<chimbuko/core/util/string.hpp> |
11 | 11 | #include<chimbuko/core/util/json.hpp> |
12 | 12 | #include<chimbuko/core/ad/ADProvenanceDBclient.hpp> |
13 | | -#include<chimbuko/core/pserver/PSProvenanceDBclient.hpp> |
| 13 | +#include<chimbuko/core/pserver/PSglobalProvenanceDBclient.hpp> |
14 | 14 | #include<chimbuko/modules/factory.hpp> |
15 | 15 | #include <sonata/Admin.hpp> |
16 | 16 | #include <sonata/Provider.hpp> |
@@ -145,7 +145,7 @@ void execute(std::vector<std::unique_ptr<ADProvenanceDBclient> > &clients, |
145 | 145 | std::cout << result.dump(4) << std::endl; |
146 | 146 | } |
147 | 147 |
|
148 | | -void filter_global(PSProvenanceDBclient &client, const ProvDBmoduleSetupCore &setup, |
| 148 | +void filter_global(PSglobalProvenanceDBclient &client, const ProvDBmoduleSetupCore &setup, |
149 | 149 | int nargs, char** args){ |
150 | 150 | if(nargs != 2) throw std::runtime_error("Filter received unexpected number of arguments"); |
151 | 151 |
|
@@ -238,7 +238,7 @@ int main(int argc, char** argv){ |
238 | 238 | //Actions on global database |
239 | 239 | else if(mode == "filter-global"){ |
240 | 240 | std::string db_name = "provdb.global"; |
241 | | - PSProvenanceDBclient client(module_setup->getGlobalDBcollections()); |
| 241 | + PSglobalProvenanceDBclient client(module_setup->getGlobalDBcollections()); |
242 | 242 | client.setEnableHandshake(false); |
243 | 243 |
|
244 | 244 | std::string config = chimbuko::stringize("{ \"path\" : \"./%s.unqlite\" }", db_name.c_str()); |
|
0 commit comments