SQL2
All nodes with a specific name
SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"All pages below content path
SQL2
All nodes with a specific name
SELECT * FROM [nt:unstructured] AS node
WHERE ISDESCENDANTNODE(node, "/search/in/path")
AND NAME() = "nodeName"All pages below content path
| @Data | |
| @AllArgsConstructor | |
| @FieldDefaults(level = AccessLevel.PRIVATE) | |
| @Configuration | |
| public class MutateQuestionnaireDataFetchers { | |
| @Autowired | |
| DataCollectionService dataCollectionService; | |
| @Autowired |
| @Component | |
| public class Account implements gr8pi.graphql.core.api.Account { | |
| @Override | |
| public String getId() { | |
| return "demo"; | |
| } | |
| @Override | |
| public List<Respondent> getRespondents() { |
| package ro.trusted.web; | |
| import com.google.common.base.Throwables; | |
| import io.vertx.core.Handler; | |
| import io.vertx.core.buffer.Buffer; | |
| import io.vertx.core.http.HttpServerRequest; | |
| import io.vertx.ext.web.RoutingContext; | |
| import lombok.Data; | |
| import org.apache.commons.io.IOUtils; | |
| import org.apache.commons.lang3.StringUtils; |
| /etc/default/alfio | |
| ---- | |
| JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64/jre | |
| MODE=service | |
| #PORT=9001 | |
| JAVA_OPTS="-Ddatasource.driver=org.postgresql.Driver -Ddatasource.url=jdbc:postgresql://localhost:5433/alfio -Ddatasource.username=alfio -Ddatasource.password=secret -Ddatasource.dialect=PGSQL -Ddatasource.validationQuery='SELECT 1'" |
| plugins { | |
| id 'org.ajoberstar.github-pages' version '1.4.2' | |
| } | |
| githubPages { | |
| repoUri = '[email protected]:ieugen/ieugen.ro.git' | |
| pages { | |
| from 'output' | |
| } | |
| } |
| plugins { | |
| id "org.flywaydb.flyway" version "3.2.1" | |
| id 'java' | |
| id 'idea' | |
| } | |
| description = 'GR8PI :: Database Model' | |
| sourceCompatibility = 1.8 |
| import io.vertx.core.AsyncResult; | |
| import io.vertx.core.Future; | |
| import io.vertx.core.Handler; | |
| import io.vertx.core.Vertx; | |
| import io.vertx.core.VertxException; | |
| import io.vertx.core.buffer.Buffer; | |
| import io.vertx.core.file.FileSystem; | |
| import io.vertx.ext.web.RoutingContext; | |
| import io.vertx.ext.web.impl.Utils; | |
| import io.vertx.ext.web.templ.ThymeleafTemplateEngine; |
| import io.vertx.core.AsyncResult; | |
| import io.vertx.core.Future; | |
| import io.vertx.core.Handler; | |
| import io.vertx.core.Vertx; | |
| import io.vertx.core.VertxException; | |
| import io.vertx.core.buffer.Buffer; | |
| import io.vertx.core.file.FileSystem; | |
| import io.vertx.ext.web.RoutingContext; | |
| import io.vertx.ext.web.impl.Utils; | |
| import io.vertx.ext.web.templ.ThymeleafTemplateEngine; |
| var bpmn = require("bpmn"); | |
| console.log("Start process") | |
| bpmn.createUnmanagedProcess(__dirname + "/bpmn/simpleRegistration.bpmn", function(err, myProcess) { | |
| console.log(err) | |
| // we start the process | |
| myProcess.triggerEvent("Start_registration"); |