Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ build

# Ignore Docker env file
docker.env
ballerina/tests/mock_service.bal
ballerina/tests/mock_test.bal
4 changes: 0 additions & 4 deletions ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@ dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "lang.value"}
]
modules = [
{org = "ballerina", packageName = "io", moduleName = "io"}
]

[[package]]
org = "ballerina"
Expand Down Expand Up @@ -323,7 +320,6 @@ name = "hubspot.marketing.campaigns"
version = "1.0.0"
dependencies = [
{org = "ballerina", name = "http"},
{org = "ballerina", name = "io"},
{org = "ballerina", name = "oauth2"},
{org = "ballerina", name = "test"},
{org = "ballerina", name = "time"},
Expand Down
35 changes: 0 additions & 35 deletions ballerina/tests/mock_service.bal

This file was deleted.

Empty file removed ballerina/tests/mock_test.bal
Empty file.
2 changes: 1 addition & 1 deletion build-config/resources/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version = "1.0.0"
license = ["Apache-2.0"]
authors = ["Ballerina"]
keywords = ["hubspot", "crm", "marketing", "campaigns"]
# icon = "icon.png" # TODO: Add icon

repository = "https://github.com/ballerina-platform/module-ballerinax-hubspot.marketing.campaigns"

[build-options]
Expand Down
2 changes: 0 additions & 2 deletions docs/spec/sanitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ This document records the sanitation done on top of the official OpenAPI specifi
The OpenAPI specification is obtained from [Hubspot Marketing Campaings API](https://developers.hubspot.com/docs/reference/api/marketing/campaigns).


[//]: # (TODO: Add sanitation details)
1. Change the url property of the servers object:

Original: `https://api.hubapi.com`
Expand Down Expand Up @@ -85,7 +84,6 @@ The OpenAPI specification is obtained from [Hubspot Marketing Campaings API](htt
Reason: `metrics` property is not required when creating and retrieving.



## OpenAPI cli command

The following command was used to generate the Ballerina client from the OpenAPI specification. The command should be executed from the repository root directory.
Expand Down
8 changes: 8 additions & 0 deletions examples/Batch_of_Campaigns/.devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"image": "ballerina/ballerina-devcontainer:2201.10.3",
"customizations": {
"vscode": {
"extensions": ["WSO2.ballerina"]
}
}
}
11 changes: 11 additions & 0 deletions examples/Batch_of_Campaigns/.gitignore
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
14 changes: 14 additions & 0 deletions examples/Batch_of_Campaigns/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
org = "wso2"
name = "Batch_of_Campaigns"
version = "0.1.0"
distribution = "2201.10.3"

[build-options]
observabilityIncluded = true

[[dependency]]
org = "ballerinax"
name = "hubspot.marketing.campaigns"
version = "1.0.0"
repository="local"
Loading