This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Title: This is Title | |
Checkbox: | |
Prompt: Check Box Title | |
Type: Checkbox | |
Order: 1 | |
Checkbox def false: | |
Type: Checkbox | |
DefaultValue: false | |
Order: 2 | |
Checkbox def true: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.gson.JsonArray; | |
import com.google.gson.JsonElement; | |
import com.google.gson.JsonObject; | |
import org.javers.core.diff.changetype.map.*; | |
import org.javers.core.diff.custom.CustomPropertyComparator; | |
import org.javers.core.json.JsonConverter; | |
import org.javers.core.metamodel.object.GlobalId; | |
import org.javers.core.metamodel.property.Property; | |
import java.util.ArrayList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sink.cassandra=maven://org.springframework.cloud.stream.app:cassandra-sink-kafka:2.1.0.RELEASE | |
sink.cassandra.metadata=maven://org.springframework.cloud.stream.app:cassandra-sink-kafka:jar:metadata:2.1.0.RELEASE | |
sink.counter=maven://org.springframework.cloud.stream.app:counter-sink-kafka:2.1.0.RELEASE | |
sink.counter.metadata=maven://org.springframework.cloud.stream.app:counter-sink-kafka:jar:metadata:2.1.0.RELEASE | |
sink.file=maven://org.springframework.cloud.stream.app:file-sink-kafka:2.1.0.RELEASE | |
sink.file.metadata=maven://org.springframework.cloud.stream.app:file-sink-kafka:jar:metadata:2.1.0.RELEASE | |
sink.ftp=maven://org.springframework.cloud.stream.app:ftp-sink-kafka:2.1.0.RELEASE | |
sink.ftp.metadata=maven://org.springframework.cloud.stream.app:ftp-sink-kafka:jar:metadata:2.1.0.RELEASE | |
sink.gemfire=maven://org.springframework.cloud.stream.app:gemfire-sink-kafka:2.1.0.RELEASE | |
sink.gemfire.metadata=maven://org.springframework.cloud.stream.app:gemfire-sink-kafka:jar:metadata:2.1.0.RELEASE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// addition | |
Number.prototype.add = function(arg) { | |
var r1,r2,m; | |
try{r1=this.toString().split(".")[1].length}catch(e){r1=0} | |
try{r2=arg.toString().split(".")[1].length}catch(e){r2=0} | |
m=Math.pow(10,Math.max(r1,r2)) | |
return (this.mul(m) + arg.mul(m)) / m; | |
} | |
// subtraction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def getAppProperties() { | |
// from yaml | |
return new org.yaml.snakeyaml.Yaml().load( | |
file("${project.buildDir}/resources/main/application.yml").newDataInputStream()) | |
// from properties | |
// Properties appProp = new Properties() | |
// appProp.load(file("$buildDir/resources/main/application.properties").newDataInputStream()) | |
// return appProp; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: demo-rest-webservice/build.gradle | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
diff --git a/demo-rest-webservice/build.gradle b/demo-rest-webservice/build.gradle | |
--- a/demo-rest-webservice/build.gradle (revision 83203192094a08d33f1c69856764be3819634ab0) | |
+++ b/demo-rest-webservice/build.gradle (revision 0ce0458e65d07edf7c88de3de1713a217e9163b7) | |
@@ -1,6 +1,5 @@ | |
dependencies { |