-
Notifications
You must be signed in to change notification settings - Fork 3
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 load tests for main CSV data module functions #7
Add load tests for main CSV data module functions #7
Conversation
This PR needs to merge after #4 |
@@ -0,0 +1,28 @@ | |||
// Copyright (c) 2021 WSO2 Inc. (http://www.wso2.org) All Rights Reserved. |
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.
Need to update the licence headers.
org = "ballerina" | ||
name = "data.csv" | ||
version = "0.1.0" | ||
repository="local" |
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.
repository="local" | |
repository="local" | |
version = "0.0.1" | ||
|
||
[build-options] | ||
observabilityIncluded = false |
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.
observabilityIncluded = false |
observabilityIncluded = false | ||
cloud = "k8s" | ||
|
||
[[dependency]] |
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 should remove this dependency from here. When running the load tests, this should always use the latest data.csv
version.
|
||
import ballerina/io; | ||
import ballerina/http; | ||
import ballerina/data.csv as csv; |
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.
import ballerina/data.csv as csv; | |
import ballerina/data.csv; |
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.
reorder the imports
|
||
final string data = check io:fileReadString("resources/input.csv"); | ||
|
||
isolated service http:Service /BalPerformance on new http:Listener(9090) { |
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.
isolated service http:Service /BalPerformance on new http:Listener(9090) { | |
isolated service /BalPerformance on new http:Listener(9090) { |
This PR will be merge after #4 |
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
Closed PR due to inactivity for more than 18 days. |
This PR will draft until #4 get merge |
This PR will be reopen after #4 |
Add load tests for main CSV data module functions
Fixes ballerina-platform/ballerina-library#6756