@devkong/cli-nx 0.0.25 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/generators/preset/files/kotlin/build.gradle.kts.template +2 -2
- package/src/generators/preset/files/kotlin/extension.http +14 -15
- package/src/generators/preset/files/kotlin/gradle.properties +16 -3
- package/src/generators/preset/files/kotlin/kong.json +0 -1
- package/src/generators/preset/files/kotlin/src/main/resources/application.properties.template +2 -2
- package/src/generators/preset/files/python/kong.json +0 -1
package/package.json
CHANGED
|
@@ -20,8 +20,8 @@ repositories {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
dependencies {
|
|
23
|
-
implementation("io.kong:kong-common:0.0.
|
|
24
|
-
implementation("io.kong:kong-sdk-kotlin:0.0.
|
|
23
|
+
implementation("io.kong:kong-common:0.0.2-SNAPSHOT")
|
|
24
|
+
implementation("io.kong:kong-sdk-kotlin:0.0.20-SNAPSHOT")
|
|
25
25
|
|
|
26
26
|
implementation(enforcedPlatform("io.quarkus.platform:quarkus-bom:$quarkusVersion"))
|
|
27
27
|
implementation("io.quarkus:quarkus-arc")
|
|
@@ -11,24 +11,23 @@ Content-Type: application/cloudevents+json
|
|
|
11
11
|
{
|
|
12
12
|
"id": "6056346e-af43-49aa-b794-977aa716ddc7",
|
|
13
13
|
"time": "2024-04-25T11:30:50.517Z",
|
|
14
|
-
"type": "
|
|
15
|
-
"source": "/
|
|
14
|
+
"type": "KongFunctionCallEvent",
|
|
15
|
+
"source": "/idea/http",
|
|
16
16
|
"specversion": "1.0",
|
|
17
17
|
"datacontenttype": "application/json",
|
|
18
|
+
"sessionagent": "JOB",
|
|
19
|
+
"sessionid": "1",
|
|
20
|
+
"sessionparentid": null,
|
|
21
|
+
"sessiontenant": "dev",
|
|
22
|
+
"sessioncreated": "2024-01-01T12:00:00Z",
|
|
23
|
+
"sessionbusinesskey": "ABC123",
|
|
24
|
+
"sessionsource": "/idea/http",
|
|
25
|
+
"sessiontopic": "/dev/test",
|
|
26
|
+
"sessionpartition": 0,
|
|
27
|
+
"sessionpriority": "MAIN",
|
|
28
|
+
"sessionexecutionmode": "SYNC",
|
|
29
|
+
"sessiondeadline": "2024-12-31T23:59:59Z",
|
|
18
30
|
"data": {
|
|
19
|
-
"session": {
|
|
20
|
-
"agent": "JOB",
|
|
21
|
-
"id": 1,
|
|
22
|
-
"businessKey": "ABC123",
|
|
23
|
-
"deadline": "2024-12-31T23:59:59Z",
|
|
24
|
-
"created": "2024-01-01T12:00:00Z",
|
|
25
|
-
"source": "http://example.com/source",
|
|
26
|
-
"namespace": "example-namespace",
|
|
27
|
-
"topic": "example-topic",
|
|
28
|
-
"priority": "HIGH",
|
|
29
|
-
"partition": 5,
|
|
30
|
-
"executionMode": "ASYNC"
|
|
31
|
-
},
|
|
32
31
|
"input": {
|
|
33
32
|
"name": "Person",
|
|
34
33
|
"age": 10,
|
|
@@ -5,15 +5,28 @@ javaVersion=21
|
|
|
5
5
|
|
|
6
6
|
# https://mvnrepository.com/artifact/org.jlleitschuh.gradle/ktlint-gradle
|
|
7
7
|
jlleitschuhGradlePluginVersion=12.1.1
|
|
8
|
+
# Gradle properties
|
|
9
|
+
org.gradle.jvmargs=-Xms4g -Xmx4g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
|
|
10
|
+
kotlin.code.style=official
|
|
11
|
+
javaVersion=21
|
|
12
|
+
|
|
13
|
+
# https://mvnrepository.com/artifact/org.jlleitschuh.gradle/ktlint-gradle
|
|
14
|
+
jlleitschuhGradlePluginVersion=12.1.1
|
|
15
|
+
|
|
16
|
+
# https://mvnrepository.com/artifact/io.github.khalilou88.jnxplus/jnxplus-gradle-plugin
|
|
17
|
+
jnxplusGradlePluginVersion=0.4.0
|
|
18
|
+
|
|
19
|
+
#https://mvnrepository.com/artifact/com.networknt/json-schema-validator
|
|
20
|
+
jsonSchemaValidatorVersion=1.5.6
|
|
8
21
|
|
|
9
22
|
# https://mvnrepository.com/artifact/io.github.khalilou88.jnxplus/jnxplus-gradle-plugin
|
|
10
23
|
jnxplusGradlePluginVersion=0.4.0
|
|
11
24
|
|
|
12
25
|
#https://mvnrepository.com/artifact/com.networknt/json-schema-validator
|
|
13
|
-
jsonSchemaValidatorVersion=1.5.
|
|
26
|
+
jsonSchemaValidatorVersion=1.5.6
|
|
14
27
|
|
|
15
28
|
# https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib
|
|
16
|
-
kotlinVersion=2.
|
|
29
|
+
kotlinVersion=2.1.10
|
|
17
30
|
|
|
18
31
|
# https://mvnrepository.com/artifact/io.quarkus/quarkus-core
|
|
19
|
-
quarkusVersion=3.
|
|
32
|
+
quarkusVersion=3.18.4
|
package/src/generators/preset/files/kotlin/src/main/resources/application.properties.template
CHANGED
|
@@ -5,9 +5,9 @@ quarkus.otel.enabled=true
|
|
|
5
5
|
quarkus.otel.exporter.otlp.enabled=false
|
|
6
6
|
|
|
7
7
|
kong.sdk.binding.http.enabled=true
|
|
8
|
-
kong.sdk.binding.
|
|
8
|
+
kong.sdk.binding.queue.enabled=true
|
|
9
9
|
|
|
10
10
|
# non-prod profiles
|
|
11
11
|
|
|
12
12
|
%local.quarkus.http.host=0.0.0.0
|
|
13
|
-
%local.quarkus.http.port=8080
|
|
13
|
+
%local.quarkus.http.port=8080
|