-
Notifications
You must be signed in to change notification settings - Fork 758
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add runtime APIs for runtime management module #42414
Add runtime APIs for runtime management module #42414
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## runtime-mgt #42414 +/- ##
==============================================
Coverage ? 76.56%
Complexity ? 53543
==============================================
Files ? 2908
Lines ? 202351
Branches ? 26342
==============================================
Hits ? 154936
Misses ? 38924
Partials ? 8491 ☔ View full report in Codecov by Sentry. |
bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/api/Repository.java
Outdated
Show resolved
Hide resolved
bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/internal/RuntimeRepository.java
Outdated
Show resolved
Hide resolved
bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/api/Artifact.java
Outdated
Show resolved
Hide resolved
bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/api/Artifact.java
Outdated
Show resolved
Hide resolved
@@ -145,6 +154,22 @@ public void createAndSplitCallMethod(ClassWriter cw, List<BIRNode.BIRFunction> f | |||
} else { | |||
jvmCastGen.addBoxInsn(mv, retType); | |||
} | |||
if (func.name.value.equals("attach") && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we check remoteManagement build option?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can add that as well after we merge #42336. The option will be available in the CompilerContext
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per the latest design changes, the build option will be added through a compiler plugin from the wso2.controlplane
module. Those changes will be added in a separate PR.
...ang/src/main/java/org/wso2/ballerinalang/compiler/bir/codegen/split/values/JvmObjectGen.java
Outdated
Show resolved
Hide resolved
bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/api/Repository.java
Outdated
Show resolved
Hide resolved
bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/api/Repository.java
Outdated
Show resolved
Hide resolved
bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/api/Repository.java
Outdated
Show resolved
Hide resolved
bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/api/Repository.java
Show resolved
Hide resolved
bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/internal/RepositoryImpl.java
Outdated
Show resolved
Hide resolved
bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/internal/RepositoryImpl.java
Show resolved
Hide resolved
bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/internal/RepositoryImpl.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/api/Artifact.java
Show resolved
Hide resolved
6cd56da
into
ballerina-platform:runtime-mgt
Purpose
$subject
Fixes #42406
Approach
TODO:
Samples
Remarks
Check List