This Gist was created from KIE Sandbox.
This file is temporary and you should not be seeing it. If you are, it means that creating this Gist failed and it can safely be deleted.
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" id="_C6CBECEB-2BBC-4E14-80B0-17F576B2CF92" name="loan_pre_qualification" expressionLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB"> | |
<dmn:extensionElements/> | |
<dmn:itemDefinition id="_D40B0106-62E8-4AC0-A39A-C6C9506194A9" name="Requested_Product" isCollection="false"> | |
<dmn:itemComponent id="_68b4a96c-198a-4575-b29a-a2c8b0539a2c" name="Type" isCollection="false"> | |
<dmn:typeRef>Product_Type</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_ab1647c |
This Gist was created from KIE Sandbox.
This file is temporary and you should not be seeing it. If you are, it means that creating this Gist failed and it can safely be deleted.
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" id="_C6CBECEB-2BBC-4E14-80B0-17F576B2CF92" name="loan_pre_qualification" expressionLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_857FE424-BEDA-4772-AB8E-2F4CDDB864AB"> | |
<dmn:extensionElements/> | |
<dmn:itemDefinition id="_D40B0106-62E8-4AC0-A39A-C6C9506194A9" name="Requested_Product" isCollection="false"> | |
<dmn:itemComponent id="_68b4a96c-198a-4575-b29a-a2c8b0539a2c" name="Type" isCollection="false"> | |
<dmn:typeRef>Product_Type</dmn:typeRef> | |
</dmn:itemComponent> | |
<dmn:itemComponent id="_ab1647c |
fgsdfgsdfg |
///usr/bin/env jbang "$0" "$@" ; exit $? | |
//DEPS org.drools:drools-engine:7.56.0.Final | |
//DEPS org.drools:drools-mvel:7.56.0.Final | |
//DEPS org.drools:drools-mvel:7.56.0.Final | |
//DEPS org.slf4j:slf4j-nop:1.7.31 | |
//DEPS com.fasterxml.jackson.core:jackson-databind:2.12.3 | |
// example | |
// jbang <url> '{ "name":"Mario", "age":40 }' '{ "name":"Mark", "age":37 }' |
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_BC818E21-4453-480B-92B8-791890374DAB" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="_F1B93BC3-773F-4FB0-BC87-5E955F051C03" name="new-file" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_BC818E21-4453-480B-92B8-791890374DAB"> | |
<dmn:extensionElements/> | |
<dmn:inputData id="_2E7A5816-4A44-4E67-98EC-4114E36CC6CC" name="Age"> | |
<dmn:extensionElements/> | |
<dmn:variable id="_B0FB0B80-AEA7-4B5E-A91F-539EB3743172" name="Age" typeRef="number"/> | |
</dmn:inputData> | |
<dmn:decision id="_5D11CA17-E68C-443F-A572-7881EBDA439B" name="Classify"> | |
<dmn:extensionElements/> | |
<dmn:variable id="_847E4E37-FA92-4BDF-99DC-DCBB54FF6F10" name="Classify" typ |
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_8595B086-C311-4ADB-B050-2EE993DE6A72" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="_578A0A26-2F8B-4E06-BDAC-F564DCBF4AD0" name="new-file" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_8595B086-C311-4ADB-B050-2EE993DE6A72"> | |
<dmn:extensionElements/> | |
<dmndi:DMNDI> | |
<dmndi:DMNDiagram id="_4D28C79F-A19A-43C9-A40A-FBF456E73F16" name="DRG"> | |
<di:extension> | |
<kie:ComponentsWidthsExtension/> | |
</di:extension> | |
</dmndi:DMNDiagram> | |
</dmndi:DMNDI> | |
</dmn:definitions> |
useSSH=true |
public class GitHook { | |
public static void main(String[] args) throws IOException, GitAPIException { | |
// collect the repository location <1> | |
final Path currentPath = new File("").toPath().toAbsolutePath(); | |
final String parentFolderName = currentPath.getParent().getName(currentPath.getParent().getNameCount() - 1).toString(); | |
// ignoring system space <2> | |
if (parentFolderName.equalsIgnoreCase("system")) { | |
return; | |
} |
package org.acme.kogito.model; | |
public class Person { | |
private String name; | |
private int age; | |
private boolean adult; | |
public String getName() { | |
return name; |