Skip to content

Commit 45ed534

Browse files
authored
Merge pull request #1031 from wso2/ballerina-integrator-1.5.3
Merge "ballerina-integrator-1.5.3" into "release-ballerina"
2 parents 8cca89e + faecf21 commit 45ed534

File tree

189 files changed

+7355
-4248
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+7355
-4248
lines changed

.github/CODEOWNERS

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@
22
*.css @hevayo @gigara @tharindulak
33
*.scss @hevayo @gigara @tharindulak
44
.trivyignore @hevayo @gigara
5+
/.github/ @hevayo @gigara @kanushka
6+
**/package.json @hevayo @gigara @kanushka
7+
**/package-lock.json @hevayo @gigara @kanushka
8+
**/pnpm-lock.yaml @hevayo @gigara @kanushka
9+
pnpm-workspace.yaml @hevayo @gigara @kanushka
10+
rush.json @hevayo @gigara @kanushka
11+
/common/ @hevayo @gigara @kanushka
512
/workspaces/common-libs/ @hevayo @gigara @tharindulak
613
/workspaces/mi/ @hevayo @gigara @kaumini
714
/workspaces/ballerina/ballerina-core/src/interfaces/extended-lang-client.ts @hevayo @axewilledge @kanushka
815
/workspaces/ballerina/ballerina-rpc-client @hevayo @axewilledge @kanushka
916
/workspaces/choreo/ @kaje94
1017
/workspaces/wso2-platform/ @kaje94
11-
* @hevayo @gigara
18+
* @hevayo @gigara

.trivyignore

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
# Trivy ignore file for known low-risk vulnerabilities
22
# Format: CVE-ID or vulnerability ID
33

4-
# Low severity vulnerability in jsondiffpatch package
5-
# Used as transitive dependency via 'ai' package
6-
# Risk Assessment: LOW severity, limited impact on diff operations
7-
# Decision: Acceptable risk - waiting for ai package to update jsondiffpatch dependency
8-
# Related Issue: https://github.com/wso2/product-ballerina-integrator/issues/1274
9-
CVE-2025-9910
10-
114
# No fix released by the author
125
# https://github.com/wso2/vscode-extensions/issues/550
136
CVE-2020-36851

.vscode/launch.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@
245245
"--extensionTestsPath=${workspaceFolder}/workspaces/ballerina/ballerina-extension/out/test",
246246
"${workspaceFolder}/workspaces/ballerina/ballerina-extension/test/data/bi_empty_project",
247247
"${workspaceFolder}/workspaces/ballerina/ballerina-extension/test/data/bi_init",
248-
"${workspaceFolder}/workspaces/ballerina/ballerina-extension/test/data/simple_order_management_system","${workspaceFolder}/workspaces/ballerina/ballerina-extension/test/data/ai_datamapper"
248+
"${workspaceFolder}/workspaces/ballerina/ballerina-extension/test/data/simple_order_management_system",
249+
"${workspaceFolder}/workspaces/ballerina/ballerina-extension/test/data/ai_datamapper"
249250
],
250251
"env": {
251252
"LS_EXTENSIONS_PATH": "",
@@ -294,4 +295,4 @@
294295
"preLaunchTask": "npm: watch-apk"
295296
},
296297
]
297-
}
298+
}

common/config/rush/pnpm-lock.yaml

Lines changed: 1192 additions & 1154 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workspaces/api-designer/api-designer-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"clean": "rimraf ./dist",
8484
"compile": "tsc -p .",
8585
"watch": "tsc -p . -w",
86-
"package": "if [ $isPreRelease = true ]; then vsce package --no-dependencies --pre-release; else vsce package --no-dependencies; fi",
86+
"package": "node ../../common-libs/scripts/package-vsix.js",
8787
"build": "pnpm clean && pnpm run copyFonts && webpack --mode production --devtool hidden-source-map && pnpm run package && pnpm run postbuild",
8888
"compile-tests": "pnpm run compile",
8989
"watch-tests": "pnpm run watch",

workspaces/apk/apk-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"pretest": "npm run compile && npm run lint",
5252
"lint": "eslint src --ext ts",
5353
"test": "node ./out/test/runTest.js",
54-
"build": "if [ $isPreRelease = true ]; then vsce package --no-dependencies --pre-release; else vsce package --no-dependencies; fi && pnpm run postbuild",
54+
"build": "node ../../common-libs/scripts/package-vsix.js && pnpm run postbuild",
5555
"postbuild": "pnpm run copyVSIX",
5656
"copyVSIX": "copyfiles *.vsix ./vsix",
5757
"copyVSIXToRoot": "copyfiles -f ./vsix/* ../../.."

workspaces/ballerina/ballerina-core/src/interfaces/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ export const BI_COMMANDS = {
3232
BI_RUN_PROJECT: 'BI.project.run',
3333
BI_DEBUG_PROJECT: 'BI.project.debug',
3434
REFRESH_COMMAND: 'BI.project-explorer.refresh',
35-
FOCUS_PROJECT_EXPLORER: 'BI.project-explorer.focus',
3635
PROJECT_EXPLORER: 'BI.project-explorer',
3736
ADD_CONNECTIONS: 'BI.project-explorer.add-connection',
3837
ADD_CUSTOM_CONNECTOR: 'BI.project-explorer.add-custom-connector',
@@ -52,6 +51,8 @@ export const BI_COMMANDS = {
5251
BI_EDIT_TEST_FUNCTION_DEF: 'BI.test.edit.function.def',
5352
ADD_NATURAL_FUNCTION: 'BI.project-explorer.add-natural-function',
5453
TOGGLE_TRACE_LOGS: 'BI.toggle.trace.logs',
54+
CREATE_BI_PROJECT: 'BI.project.createBIProjectPure',
55+
CREATE_BI_MIGRATION_PROJECT: 'BI.project.createBIProjectMigration',
5556
ADD_INTEGRATION: 'BI.project-explorer.add-integration',
5657
NOTIFY_PROJECT_EXPLORER: 'BI.project-explorer.notify',
5758
};

workspaces/ballerina/ballerina-core/src/interfaces/data-mapper.ts

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ export enum IntermediateClauseType {
5757
LET = "let",
5858
WHERE = "where",
5959
FROM = "from",
60-
ORDER_BY = "order by",
61-
LIMIT = "limit"
60+
ORDER_BY = "order-by",
61+
LIMIT = "limit",
62+
JOIN = "join",
63+
GROUP_BY = "group-by"
6264
}
6365

6466
export enum ResultClauseType {
@@ -93,8 +95,8 @@ export interface IOType {
9395
members?: IOType[];
9496
defaultValue?: unknown;
9597
optional?: boolean;
96-
focusedMemberId?: string;
9798
isFocused?: boolean;
99+
isSeq?: boolean;
98100
isRecursive?: boolean;
99101
isDeepNested?: boolean;
100102
ref?: string;
@@ -125,6 +127,7 @@ export interface ExpandedDMModel {
125127
query?: Query;
126128
mapping_fields?: Record<string, any>;
127129
triggerRefresh?: boolean;
130+
focusInputRootMap?: Record<string, string>;
128131
}
129132

130133
export interface DMModel {
@@ -138,6 +141,9 @@ export interface DMModel {
138141
focusInputs?: Record<string, IOTypeField>;
139142
mapping_fields?: Record<string, any>;
140143
triggerRefresh?: boolean;
144+
traversingRoot?: string;
145+
focusInputRootMap?: Record<string, string>;
146+
groupById?: string;
141147
}
142148

143149
export interface ModelState {
@@ -172,6 +178,7 @@ export interface IOTypeField {
172178
optional?: boolean;
173179
ref?: string;
174180
focusExpression?: string;
181+
isSeq?: boolean;
175182
typeInfo?: TypeInfo;
176183
}
177184

@@ -189,7 +196,7 @@ export interface Query {
189196
output: string,
190197
inputs: string[];
191198
diagnostics?: DMDiagnostic[];
192-
fromClause: FromClause;
199+
fromClause: IntermediateClause;
193200
intermediateClauses?: IntermediateClause[];
194201
resultClause: ResultClause;
195202
}
@@ -205,6 +212,9 @@ export interface IntermediateClauseProps {
205212
type?: string;
206213
expression: string;
207214
order?: "ascending" | "descending";
215+
lhsExpression?: string;
216+
rhsExpression?: string;
217+
isOuter?: boolean;
208218
}
209219

210220
export interface IntermediateClause {

workspaces/ballerina/ballerina-core/src/interfaces/extended-lang-client.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,15 +474,28 @@ export interface GetDataMapperCodedataResponse {
474474
export interface PropertyRequest {
475475
filePath: string;
476476
codedata: CodeData;
477-
propertyKey: string,
478477
targetField: string;
478+
}
479+
480+
export interface FieldPropertyRequest extends PropertyRequest {
479481
fieldId: string;
480482
}
481483

482484
export interface PropertyResponse {
483485
property: Property;
484486
}
485487

488+
export interface ClausePositionRequest {
489+
filePath: string;
490+
codedata: CodeData;
491+
targetField: string;
492+
index: number;
493+
}
494+
495+
export interface ClausePositionResponse {
496+
position: LinePosition;
497+
}
498+
486499
export interface GraphqlDesignServiceParams {
487500
filePath: string;
488501
startLine: LinePosition;

workspaces/ballerina/ballerina-core/src/rpc-types/ai-panel/interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export interface ProjectImports {
121121
// Data-mapper related interfaces
122122
export interface MetadataWithAttachments {
123123
metadata: ExtendedDataMapperMetadata;
124-
attachments?: Attachment[];
124+
attachments: Attachment[];
125125
}
126126

127127
export interface InlineMappingsSourceResult {

0 commit comments

Comments
 (0)