-
Notifications
You must be signed in to change notification settings - Fork 198
Add integration tests for Maven custom repository #6297
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
base: master
Are you sure you want to change the base?
Changes from 3 commits
d70a54b
03356e5
f1dfd7f
5af38c3
caab591
a2baf02
94b3659
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "image": "ballerina/ballerina-devcontainer:2201.12.10", | ||
| "customizations": { | ||
| "vscode": { | ||
| "extensions": ["WSO2.ballerina"] | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Ballerina generates this directory during the compilation of a package. | ||
| # It contains compiler-generated artifacts and the final executable if this is an application package. | ||
| target/ | ||
|
|
||
| # Ballerina maintains the compiler-generated source code here. | ||
| # Remove this if you want to commit generated sources. | ||
| generated/ | ||
|
|
||
| # Contains configuration values used during development time. | ||
| # See https://ballerina.io/learn/provide-values-to-configurable-variables/ for more details. | ||
| Config.toml |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| [package] | ||
| org = "bctestorg" | ||
| name = "myproject1" | ||
| version = "0.1.0" | ||
| distribution = "2201.12.10" | ||
| readme = "Package.md" | ||
|
|
||
| [build-options] | ||
| observabilityIncluded = true | ||
|
|
||
|
|
||
| [[dependency]] | ||
| org="bctestorg" | ||
| name="pkg1" | ||
| version="0.1.0" | ||
| repository="github1" | ||
|
|
||
| [[dependency]] | ||
| org="bctestorg" | ||
| name="pkg2" | ||
| version="1.0.0" | ||
| repository="github1" | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Package documentation for myproject1. | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| import bctestorg/pkg1; | ||
| import bctestorg/pkg2; | ||
|
|
||
| public function main() { | ||
| pkg1:main(); | ||
| pkg2:main(); | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,9 @@ | ||
| [package] | ||
| org = "bctestorg" | ||
| name = "pact" | ||
| version = "0.2.0" | ||
| version = "0.1.0" | ||
| readme = "Package.md" | ||
|
|
||
| [build-options] | ||
| observabilityIncluded = true | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| jsjj | ||
| jsjj | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| { | ||
| "image": "ballerina/ballerina-devcontainer:2201.6.0", | ||
| "extensions": ["WSO2.ballerina"], | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| target | ||
| generated | ||
| Config.toml |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -0,0 +1,10 @@ | ||||
| [package] | ||||
| org = "bctestorg" | ||||
| name = "pkg1" | ||||
| version = "0.1.0" | ||||
| readme = "Package.md" | ||||
|
|
||||
|
|
||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| [build-options] | ||||
| observabilityIncluded = true | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Package documentation for pkg1. | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| public function main() { | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,4 @@ | ||||||||||||||||||
| { | ||||||||||||||||||
| "image": "ballerina/ballerina-devcontainer:2201.6.0", | ||||||||||||||||||
| "extensions": ["WSO2.ballerina"], | ||||||||||||||||||
| } | ||||||||||||||||||
|
Comment on lines
+1
to
+4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Invalid JSON: trailing comma not allowed. The trailing comma after the 🔧 Proposed fix {
"image": "ballerina/ballerina-devcontainer:2201.6.0",
- "extensions": ["WSO2.ballerina"],
+ "extensions": ["WSO2.ballerina"]
}📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| target | ||
| generated | ||
| Config.toml |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| [package] | ||
| org = "bctestorg" | ||
| name = "pkg2" | ||
| version = "1.0.0" | ||
| readme = "Package.md" | ||
|
|
||
|
|
||
| [build-options] | ||
| observabilityIncluded = true | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Package documentation for pkg2. | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| public function main() { | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,4 @@ | ||||||||||||||||||
| { | ||||||||||||||||||
| "image": "ballerina/ballerina-devcontainer:2201.6.0", | ||||||||||||||||||
| "extensions": ["WSO2.ballerina"], | ||||||||||||||||||
| } | ||||||||||||||||||
|
Comment on lines
+1
to
+4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Invalid JSON: trailing comma not allowed. Same issue as in 🔧 Proposed fix {
"image": "ballerina/ballerina-devcontainer:2201.6.0",
- "extensions": ["WSO2.ballerina"],
+ "extensions": ["WSO2.ballerina"]
}📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| target | ||
| generated | ||
| Config.toml |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| [package] | ||
| org = "bctestorg" | ||
| name = "pkg3" | ||
| version = "1.0.0" | ||
| readme = "Package.md" | ||
|
|
||
|
|
||
| [[dependency]] | ||
| org = "bctestorg" | ||
| name = "pkg2" | ||
| version = "1.0.0" | ||
|
|
||
|
|
||
| [build-options] | ||
| observabilityIncluded = true | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Package documentation for pkg3. | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| public function main() { | ||
| } |
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.
Fix invalid JSON trailing comma.
Line 3 ends with a trailing comma, which makes this JSON invalid and can break devcontainer parsing.
🛠️ Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents