Skip to content
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

fix: add labels to examples #97

Merged
merged 35 commits into from
Mar 25, 2021
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
edf9060
fix(activity tracker): add labels to example output
Andras-Csanyi Mar 23, 2021
9b787fd
fix(case management): add labels to example output
Andras-Csanyi Mar 23, 2021
7ad409e
fix(configuration governance): add spaces between "\n" and "%s" in pr…
Andras-Csanyi Mar 23, 2021
65d0758
fix(enterprise billing units): add labels to example output
Andras-Csanyi Mar 23, 2021
8403fe5
fix(enterprise usage report): add labels to example output
Andras-Csanyi Mar 23, 2021
9cb8565
fix(global catalog): add labels to example output
Andras-Csanyi Mar 23, 2021
3ccce47
fix(global search): add labels to example output
Andras-Csanyi Mar 23, 2021
1bbdd97
fix(global tagging): add labels to example output
Andras-Csanyi Mar 23, 2021
3bcdb7b
fix(iam access groups): add labels to example output
Andras-Csanyi Mar 23, 2021
23d0011
fix(iam identity): add labels to example output
Andras-Csanyi Mar 23, 2021
d53aea7
fix(iam policy management): add labels to example output
Andras-Csanyi Mar 23, 2021
9af10f0
fix(open service broker): add labels to example output
Andras-Csanyi Mar 23, 2021
bf9e63c
fix(resource controller): add labels to example output
Andras-Csanyi Mar 23, 2021
f3ff4f8
fix(resource manager): add labels to example output
Andras-Csanyi Mar 23, 2021
8171084
fix(usage metering): add labels to example output
Andras-Csanyi Mar 23, 2021
6fedd70
fix(usage reports): add labels to example output
Andras-Csanyi Mar 23, 2021
25d347f
fix(user management): add labels to example output
Andras-Csanyi Mar 23, 2021
14b0910
fix(attracker): fix labels in example output
Andras-Csanyi Mar 24, 2021
a4e74f6
fix(case management): fix labels in example output
Andras-Csanyi Mar 24, 2021
185a4c3
fix(configuration governance): fix labels in example output
Andras-Csanyi Mar 24, 2021
e7e4f7d
fix(enterprise billing units): fix labels in example output
Andras-Csanyi Mar 24, 2021
2d3e240
fix(enterprise usage reports): fix labels in example output
Andras-Csanyi Mar 24, 2021
c983a7c
fix(global catalog): fix labels in example output
Andras-Csanyi Mar 24, 2021
182af06
fix(global search): fix labels in example output
Andras-Csanyi Mar 24, 2021
90ceccb
fix(global tagging): fix labels in example output
Andras-Csanyi Mar 24, 2021
cd94161
fix(iam access groups): fix labels in example output
Andras-Csanyi Mar 24, 2021
0eada5a
fix(iam identity): fix labels in example output
Andras-Csanyi Mar 24, 2021
41b9106
fix(iam policy management): fix labels in example output
Andras-Csanyi Mar 24, 2021
d9520c7
fix(open service broker): fix labels in example output
Andras-Csanyi Mar 24, 2021
c78e8a6
fix(resource controller): fix labels in example output
Andras-Csanyi Mar 24, 2021
03a270c
fix(resource manager): fix labels in example output
Andras-Csanyi Mar 24, 2021
6333635
fix(usage metering): fix labels in example output
Andras-Csanyi Mar 24, 2021
f0796a3
fix(usage reports): fix labels in example output
Andras-Csanyi Mar 24, 2021
6ac7af9
fix(user management): fix labels in example output
Andras-Csanyi Mar 24, 2021
9c437fb
fix(configuration governance): fix build fail
Andras-Csanyi Mar 25, 2021
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
Prev Previous commit
Next Next commit
fix(resource manager): fix labels in example output
Andras-Csanyi committed Mar 24, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 03a270cbaa0586c373f98bd639769640c50725ec
16 changes: 9 additions & 7 deletions resourcemanagerv2/resource_manager_v2_examples_test.go
Original file line number Diff line number Diff line change
@@ -25,6 +25,8 @@ import (

"github.com/IBM/go-sdk-core/v5/core"
"github.com/IBM/platform-services-go-sdk/resourcemanagerv2"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)

//
@@ -145,7 +147,7 @@ var _ = Describe(`ResourceManagerV2 Examples Tests`, func() {
panic(err)
}
b, _ := json.MarshalIndent(resCreateResourceGroup, "", " ")
fmt.Printf("\nCreateResourceGroup() result:\n %s \n", string(b))
fmt.Printf("\nCreateResourceGroup() result:\n%s\n", string(b))

// end-create_resource_group

@@ -169,7 +171,7 @@ var _ = Describe(`ResourceManagerV2 Examples Tests`, func() {
panic(err)
}
b, _ := json.MarshalIndent(resourceGroup, "", " ")
fmt.Printf("\nGetResourceGroup() result:\n %s \n", string(b))
fmt.Printf("\nGetResourceGroup() result:\n%s\n", string(b))

// end-get_resource_group

@@ -193,7 +195,7 @@ var _ = Describe(`ResourceManagerV2 Examples Tests`, func() {
panic(err)
}
b, _ := json.MarshalIndent(resourceGroup, "", " ")
fmt.Printf("\nUpdateResourceGroup() result:\n %s \n", string(b))
fmt.Printf("\nUpdateResourceGroup() result:\n%s\n", string(b))

// end-update_resource_group

@@ -215,7 +217,7 @@ var _ = Describe(`ResourceManagerV2 Examples Tests`, func() {
panic(err)
}
b, _ := json.MarshalIndent(resourceGroupList, "", " ")
fmt.Printf("\nListResourceGroups() result:\n %s \n", string(b))
fmt.Printf("\nListResourceGroups() result:\n%s\n", string(b))

// end-list_resource_groups

@@ -236,7 +238,7 @@ var _ = Describe(`ResourceManagerV2 Examples Tests`, func() {
if err != nil {
panic(err)
}
fmt.Println("\nDeleteResourceGroup() is executed successfully.")
fmt.Printf("\nDeleteResourceGroup() response status code: %d\n", response.StatusCode)

// end-delete_resource_group

@@ -257,7 +259,7 @@ var _ = Describe(`ResourceManagerV2 Examples Tests`, func() {
panic(err)
}
b, _ := json.MarshalIndent(quotaDefinition, "", " ")
fmt.Printf("\nGetQuotaDefinition() result:\n %s \n", string(b))
fmt.Printf("\nGetQuotaDefinition() result:\n%s\n", string(b))

// end-get_quota_definition

@@ -275,7 +277,7 @@ var _ = Describe(`ResourceManagerV2 Examples Tests`, func() {
panic(err)
}
b, _ := json.MarshalIndent(quotaDefinitionList, "", " ")
fmt.Printf("\nListQuotaDefinitions() result:\n %s \n", string(b))
fmt.Printf("\nListQuotaDefinitions() result:\n%s\n", string(b))

// end-list_quota_definitions