Skip to content
Snippets Groups Projects
Commit bc572ec7 authored by Dominik Lechner's avatar Dominik Lechner
Browse files

Remove Process runIndexer_ws due to process "rebuildIndex_serverProcess"

parent 74af20f8
No related branches found
No related tags found
No related merge requests found
import("system.indexsearch");
function restget(obj) {
obj = JSON.parse(obj);
var index = obj.query.index.split(",");
index = typeof(index) == "string" ? [index] : index;
indexsearch.runIndexer(index);
obj.response.body = "index(es) requested for rebuild:\n" + index.reduce(function (l, r){
return l + "\n > " + r;
}, "");
obj = JSON.stringify(obj);
return obj;
}
<?xml version="1.0" encoding="UTF-8"?>
<process xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.2.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/process/1.2.1">
<name>runIndexer_ws</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<process>%aditoprj%/process/runIndexer_ws/process.js</process>
<publishAsWebservice v="true" />
<style>REST</style>
<loginTypeId>internal.none</loginTypeId>
<restrictedRoles />
<alias>Data_alias</alias>
<variants>
<element>LIBRARY</element>
</variants>
</process>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment