yhampe b326000c80 RED-9472: seperation of system rules
added endpoints for seperating and readding system rules

working on service

RED-9472: seperation of system rules

refactored endpoints.

now removing system rules on download

merging user rules with systemrules on upload

RED-9472: seperation of system rules

RED-9472: seperation of system rules

RED-9472: seperation of system rules

refactored two have a rulefileblueprint and a rulefileblueprint for validationresult

changed the flow of merging and seperating system and user rules

added functions and declarations to rule file parsing

RED-9472: seperation of system rules

RED-9472: seperation of system rules

introduced tests

working on fixing bug with merging rules

RED-9472: seperation of system rules

introduced tests

RED-9472: seperation of system rules

fixed circular depdency

RED-9472: seperation of system rules

updated persistence service version

RED-9472: seperation of system rules

refactored rules

refactored pcackages

RED-9472: seperation of system rules

fixed failing tests

RED-9472: seperation of system rules

fixed failing tests

RED-9472: seperation of system rules

fixed some sonarqube errors

RED-9472: seperation of system rules

fixed pmd error

RED-9472: seperation of system rules

added deploy stage to gitlab pipeline

RED-9472: seperation of system rules

RED-9472: seperation of system rules
fixed a mistake

RED-9472: seperation of system rules

updated controller to return RulesUploadResponse including the droolsvalidationresponse

RED-9472: seperation of system rules

updated controller to return RulesUploadResponse including the droolsvalidationresponse
2024-11-19 09:51:15 +01:00

56 lines
1.7 KiB
Plaintext

plugins {
application
id("com.iqser.red.service.java-conventions")
id("io.freefair.lombok") version "8.4"
}
group = "com.knecon.fforesight.utility"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven {
url = uri("https://nexus.knecon.com/repository/red-platform-releases/")
credentials {
username = providers.gradleProperty("mavenUser").getOrNull();
password = providers.gradleProperty("mavenPassword").getOrNull();
}
}
}
sourceSets {
test {
resources {
srcDirs("src/main/resources", "src/test/ressources") // add both so test can access the all_rules_file
}
}
}
dependencies {
implementation(project(mapOf("path" to ":redaction-service-server-v1")))
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
implementation(project(":redaction-service-server-v1"))
implementation("com.github.javaparser:javaparser-core:3.25.3")
implementation("org.drools:drools-drl-parser:8.41.0.Final")
implementation("org.apache.commons:commons-csv:1.10.0")
implementation("commons-cli:commons-cli:1.5.0")
compileOnly("org.projectlombok:lombok:1.18.28")
annotationProcessor("org.projectlombok:lombok:1.18.28")
testCompileOnly("org.projectlombok:lombok:1.18.28")
testAnnotationProcessor("org.projectlombok:lombok:1.18.28")
implementation("org.kie:kie-api:9.44.0.Final")
implementation("org.drools:drools-compiler:9.44.0.Final")
testImplementation("org.kie:kie-ci:9.44.0.Final")
api("ch.qos.logback:logback-classic:1.4.11")
}
tasks.test {
useJUnitPlatform()
}