Skip to content

Commit

Permalink
chore: initial project setup
Browse files Browse the repository at this point in the history
  • Loading branch information
padamstx committed Mar 30, 2020
1 parent 42d7008 commit b7099ac
Show file tree
Hide file tree
Showing 74 changed files with 54 additions and 54,497 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.4.0
current_version = 0.0.0
commit = True
message = Update version {current_version} -> {new_version} [skip ci]

Expand Down
Binary file removed .env.enc
Binary file not shown.
Binary file removed .ghostenv.enc
Binary file not shown.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.DS_Store
.env
*.env

# ignore vendor/
vendor/
Expand Down
Binary file removed .iam_access_groups_env.enc
Binary file not shown.
35 changes: 17 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,27 @@ before_install:
- nvm install 12
- npm install -g [email protected]

install:
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.21.0

before_script:
before_install:
- openssl aes-256-cbc -K "$ghost_key" -iv "$ghost_iv" -in .ghostenv.enc -out .ghostenv -d || true
- openssl aes-256-cbc -K $encrypted_3b05ea0a069c_key -iv $encrypted_3b05ea0a069c_iv -in .iam_access_groups_env.enc -out .iam_access_groups_env -d || true

install:
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.21.0

script:
- go test `go list ./... | grep -v Samples`
- go test `go list ./... | grep -v Samples` -tags=integration
- golangci-lint run

before_deploy:
- pip install --user bump2version
- npm install @semantic-release/changelog
- npm install @semantic-release/exec
- npm install @semantic-release/git
- npm install @semantic-release/github

deploy:
- provider: script
script: npx semantic-release
skip_cleanup: true
on:
branch: master
# before_deploy:
# - pip install --user bump2version
# - npm install @semantic-release/changelog
# - npm install @semantic-release/exec
# - npm install @semantic-release/git
# - npm install @semantic-release/github
#
# deploy:
# - provider: script
# script: npx semantic-release
# skip_cleanup: true
# on:
# branch: master
41 changes: 0 additions & 41 deletions CHANGELOG.md

This file was deleted.

8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Questions
If you are having problems using the APIs or have a question about IBM Cloud services, please ask a question on
[dW Answers](https://developer.ibm.com/answers/questions/ask/?topics=ibm-cloud)
or [Stack Overflow](http://stackoverflow.com/questions/ask?tags=ibm-cloud).
If you are having problems using the APIs or have a question about IBM Cloud services,
please ask a question at
[Stack Overflow](http://stackoverflow.com/questions/ask?tags=ibm-cloud).

# Issues
If you encounter an issue with the project, you are welcome to submit a
[bug report](https://github.ibm.com/ibmcloud/platform-services-go-sdk/issues).
[bug report](https://github.com/IBM/platform-services-go-sdk/issues).
Before that, please search for similar issues. It's possible that someone has already reported the problem.

# General Information
Expand Down
47 changes: 20 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# IBM Cloud Platform Services Go SDK Version 0.4.0
[![Build Status](https://travis.ibm.com/ibmcloud/platform-services-go-sdk.svg?token=eW5FVD71iyte6tTby8gr&branch=master)](https://travis.ibm.com/ibmcloud/platform-services-go-sdk)
<!--
[![Build Status](https://travis-ci.com/IBM/platform-services-go-sdk.svg?token=eW5FVD71iyte6tTby8gr&branch=master)](https://travis-ci.com/IBM/platform-services-go-sdk)
-->

# IBM Cloud Platform Services Go SDK Version 0.0.0

Go client library to interact with various [IBM Cloud Platform Service APIs](https://cloud.ibm.com/apidocs?category=platform_services).
Go client library to interact with various
[IBM Cloud Platform Service APIs](https://cloud.ibm.com/apidocs?category=platform_services).

## Table of Contents
<!--
Expand Down Expand Up @@ -37,33 +41,21 @@ The IBM Cloud Platform Services Go SDK allows developers to programmatically int

Service Name | Package name
--- | ---
[Case Management](https://cloud.ibm.com/apidocs/case-management) | casemanagementv1
[Enterprise Billing Units](https://cloud.ibm.com/apidocs/enterprise-apis/billing-unit) | enterprisebillingunitsv1
[Enterprise Management](https://cloud.ibm.com/apidocs/enterprise-apis/enterprise) | enterprisemanagementv1
[Enterprise Usage Reports](https://cloud.ibm.com/apidocs/enterprise-apis/resource-usage-reports) | enterpriseusagereportsv1
[Global Resource Catalog](https://cloud.ibm.com/apidocs/globalcatalog) | globalcatalogv1
[Global Search](https://cloud.ibm.com/apidocs/search) | globalsearchv2
[Global Tagging](https://cloud.ibm.com/apidocs/tagging) | globaltaggingv1
[IAM Access Groups](https://cloud.ibm.com/apidocs/iam-access-groups) | iamaccessgroupsv2
[IAM Identity Services](https://cloud.ibm.com/apidocs/iam-identity-token-api) | iamidentityservicesv1
[IAM Policy Management](https://cloud.ibm.com/apidocs/iam-policy-management) | iampolicymanagementv1
[Open Services Broker](https://cloud.ibm.com/apidocs/resource-controller/ibm-cloud-osb-api) | openservicebrokerv1
[Resource Controller](https://cloud.ibm.com/apidocs/resource-controller) | resourcecontrollerv2
[Resource Manager](https://cloud.ibm.com/apidocs/resource-controller/resource-manager) | resourcemanagerv2
[Usage Metering](https://cloud.ibm.com/apidocs/usage-metering) | usagemeteringv4
[Usage Reports](https://cloud.ibm.com/apidocs/usage-metering) | usagereportsv1
[User Management](https://cloud.ibm.com/apidocs/user-management) | usermanagementv1

## Prerequisites

[ibm-cloud-onboarding]: https://cloud.ibm.com/registration?target=%2Fdeveloper%2Fwatson&
[ibm-cloud-onboarding]: https://cloud.ibm.com/registration

* An [IBM Cloud][ibm-cloud-onboarding] account.
* An IAM API key to allow the SDK to access your account. Create one [here](https://cloud.ibm.com/iam/apikeys).
* An IAM API key to allow the SDK to access your account. Create one
[here](https://cloud.ibm.com/iam/apikeys).
* Go version 1.12 or above.

## Installation
The current version of this SDK: 0.4.0
The current version of this SDK: 0.0.0

There are a few different ways to download and install the Platform Services Go SDK project for use by your
Go application:
Expand All @@ -73,7 +65,7 @@ Use this command to download and install the Platform Services Go SDK project to
use it:

```
go get -u github.ibm.com/ibmcloud/platform-services-go-sdk
go get -u github.com/IBM/platform-services-go-sdk
```

#### Go modules
Expand All @@ -82,7 +74,7 @@ Go application, like this:

```go
import (
"github.ibm.com/ibmcloud/platform-services-go-sdk/resourcecontrollerv2"
"github.com/IBM/platform-services-go-sdk/globalsearchv2"
)
```

Expand All @@ -95,25 +87,26 @@ to your `Gopkg.toml` file. Here is an example:

```
[[constraint]]
name = "github.ibm.com/ibmcloud/platform-services-go-sdk/resourcecontrollerv2"
version = "0.4.0"
name = "github.com/IBM/platform-services-go-sdk/globalsearchv2"
version = "0.0.0"
```

then run `dep ensure`.

## Using the SDK
For general SDK usage information, please see [this link](https://github.com/IBM/ibm-cloud-sdk-common/blob/master/README.md)
For general SDK usage information, please see
[this link](https://github.com/IBM/ibm-cloud-sdk-common/blob/master/README.md)

## Questions

If you are having difficulties using this SDK or have a question about the IBM Cloud services,
please ask a question at [dW Answers](https://developer.ibm.com/answers/questions/ask/?topics=ibm-cloud) or
please ask a question at
[Stack Overflow](http://stackoverflow.com/questions/ask?tags=ibm-cloud).

## Issues
If you encounter an issue with the project, you are welcome to submit a
[bug report](https://github.ibm.com/ibmcloud/platform-services-go-sdk/issues).
[bug report](https://github.com/IBM/platform-services-go-sdk/issues).
Before that, please search for similar issues. It's possible that someone has already reported the problem.

## Open source @ IBM
Expand All @@ -125,4 +118,4 @@ See [CONTRIBUTING](CONTRIBUTING.md).
## License

The IBM Cloud Platform Services Go SDK is released under the Apache 2.0 license.
The license's full text can be found in [LICENSE](https://github.ibm.com/ibmcloud/platform-services-go-sdk/blob/master/LICENSE).
The license's full text can be found in [LICENSE](LICENSE).
3 changes: 0 additions & 3 deletions Samples/README.md

This file was deleted.

142 changes: 0 additions & 142 deletions Samples/global_tagging_sample.go

This file was deleted.

Loading

0 comments on commit b7099ac

Please sign in to comment.