@devkong/cli-nx 0.0.38 → 0.0.40
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/gradle.properties +3 -13
- package/src/generators/preset/files/kotlin/kong.json +2 -2
- package/src/generators/preset/files/kotlin/src/main/resources/application.properties.template +0 -2
- package/src/generators/preset/files/python/.vscode/launch.json +3 -2
- package/src/generators/preset/files/python/kong.json +2 -2
- package/src/generators/preset/files/python/src/main_test.py +2 -1
- package/src/generators/preset/files/kotlin/extension.http +0 -76
package/package.json
CHANGED
|
@@ -4,26 +4,16 @@ kotlin.code.style=official
|
|
|
4
4
|
javaVersion=21
|
|
5
5
|
|
|
6
6
|
# https://mvnrepository.com/artifact/org.jlleitschuh.gradle/ktlint-gradle
|
|
7
|
-
jlleitschuhGradlePluginVersion=12.
|
|
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
|
|
7
|
+
jlleitschuhGradlePluginVersion=12.3.0
|
|
18
8
|
|
|
19
9
|
#https://mvnrepository.com/artifact/com.networknt/json-schema-validator
|
|
20
|
-
jsonSchemaValidatorVersion=1.5.
|
|
10
|
+
jsonSchemaValidatorVersion=1.5.8
|
|
21
11
|
|
|
22
12
|
# https://mvnrepository.com/artifact/io.github.khalilou88.jnxplus/jnxplus-gradle-plugin
|
|
23
13
|
jnxplusGradlePluginVersion=0.4.0
|
|
24
14
|
|
|
25
15
|
#https://mvnrepository.com/artifact/com.networknt/json-schema-validator
|
|
26
|
-
jsonSchemaValidatorVersion=1.5.
|
|
16
|
+
jsonSchemaValidatorVersion=1.5.8
|
|
27
17
|
|
|
28
18
|
# https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib
|
|
29
19
|
kotlinVersion=2.1.10
|
|
@@ -6,11 +6,12 @@
|
|
|
6
6
|
"type": "debugpy",
|
|
7
7
|
"request": "launch",
|
|
8
8
|
"module": "pytest",
|
|
9
|
+
"cwd": "${workspaceFolder}/src",
|
|
9
10
|
"windows": {
|
|
10
|
-
"python": "
|
|
11
|
+
"python": "${workspaceFolder}\\.venv\\Scripts\\python.exe"
|
|
11
12
|
},
|
|
12
13
|
"linux": {
|
|
13
|
-
"python": "
|
|
14
|
+
"python": "${workspaceFolder}/.venv/bin/python"
|
|
14
15
|
},
|
|
15
16
|
"justMyCode": true
|
|
16
17
|
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
### Healthcheck
|
|
2
|
-
GET http://localhost:8241/q/health
|
|
3
|
-
|
|
4
|
-
### Schema
|
|
5
|
-
GET http://localhost:8241/v1/schema
|
|
6
|
-
|
|
7
|
-
### HTTP call template (please keep it up to date)
|
|
8
|
-
POST http://localhost:8241/v1/handle
|
|
9
|
-
Content-Type: application/cloudevents+json
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
"id": "6056346e-af43-49aa-b794-977aa716ddc7",
|
|
13
|
-
"time": "2024-04-25T11:30:50.517Z",
|
|
14
|
-
"type": "KongTaskCallEvent",
|
|
15
|
-
"source": "/idea/http",
|
|
16
|
-
"specversion": "1.0",
|
|
17
|
-
"datacontenttype": "application/json",
|
|
18
|
-
"sessionagent": "JOB",
|
|
19
|
-
"sessionid": "1",
|
|
20
|
-
"sessionrootid": null,
|
|
21
|
-
"sessionparentid": null,
|
|
22
|
-
"sessiontenant": "sanb",
|
|
23
|
-
"sessionrootcreated": "2024-01-01T12:00:00Z",
|
|
24
|
-
"sessioncreated": "2024-01-01T12:00:00Z",
|
|
25
|
-
"sessionbusinesskey": "ABC123",
|
|
26
|
-
"sessionsource": "/idea/http",
|
|
27
|
-
"sessiontopic": "/sandbox/test-events",
|
|
28
|
-
"sessionpriority": "MAIN",
|
|
29
|
-
"sessionexecutionmode": "SYNC",
|
|
30
|
-
"sessiondeadline": "2024-12-31T23:59:59Z",
|
|
31
|
-
"data": {
|
|
32
|
-
"input": {
|
|
33
|
-
"name": "Person",
|
|
34
|
-
"age": 10,
|
|
35
|
-
"gender": "MALE",
|
|
36
|
-
"hobbies": ["football"],
|
|
37
|
-
"address": {
|
|
38
|
-
"street": "testStreet",
|
|
39
|
-
"city": "testCity",
|
|
40
|
-
"postalCode": "testCode"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"output": {
|
|
44
|
-
"type": "kong-process-events",
|
|
45
|
-
"filter": ".output",
|
|
46
|
-
"returns": []
|
|
47
|
-
},
|
|
48
|
-
"invoke": {
|
|
49
|
-
"prefix": "34370f477a4a48a8",
|
|
50
|
-
"retry": {
|
|
51
|
-
"maxAttempts": 1,
|
|
52
|
-
"attemptDelay": "PT5S",
|
|
53
|
-
"attemptTimeout": "PT30S"
|
|
54
|
-
},
|
|
55
|
-
"circuitBreaker": {
|
|
56
|
-
"enabled": true,
|
|
57
|
-
"delay": "PT5S",
|
|
58
|
-
"requestVolumeThreshold": 20,
|
|
59
|
-
"failureRatio": 0.5,
|
|
60
|
-
"successThreshold": 1
|
|
61
|
-
},
|
|
62
|
-
"cache": {
|
|
63
|
-
"enabled": false,
|
|
64
|
-
"key": ".",
|
|
65
|
-
"ttl": "P7D",
|
|
66
|
-
"onFailure": "SKIP"
|
|
67
|
-
},
|
|
68
|
-
"rateLimiter": {
|
|
69
|
-
"enabled": true,
|
|
70
|
-
"value": 100,
|
|
71
|
-
"window": "PT1S",
|
|
72
|
-
"minSpacing": "PT0S"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|