Skip to content

Sdk update 20240701 144319 #20

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

Closed
wants to merge 205 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
205 commits
Select commit Hold shift + click to select a range
ef57658
Add .whitesource configuration file
Apr 6, 2022
f4305dc
Align internal sdk version
michael-magrian Jul 29, 2022
1eec7cb
Merge pull request #6 from coligo/align-with-public-sdk
reggeenr Jul 29, 2022
d3964c6
adjusted configuration items
reggeenr Jul 29, 2022
104a7c4
Merge pull request #5 from coligo/whitesource/configure
reggeenr Jul 29, 2022
fd1d174
adjusted travis settings
reggeenr Jul 29, 2022
b9711b2
Merge pull request #7 from coligo/fixed-e2e-tests
reggeenr Jul 29, 2022
792fcd3
Initialize v2 sdk version
michael-magrian Jul 29, 2022
f16de77
Merge pull request #8 from coligo/feature/init_v2_sdk_version
reggeenr Jul 29, 2022
ccaaa2b
Push reduced version
michael-magrian Aug 3, 2022
bdbbc92
Attempt fixing proj list specification
michael-magrian Aug 3, 2022
61f617c
added v2 integration tests
reggeenr Aug 3, 2022
bf33a68
Merge pull request #9 from coligo/added-v2-tests
reggeenr Aug 3, 2022
998cf52
updated v2 sdk
reggeenr Aug 9, 2022
ebc92a4
v2 updates
reggeenr Aug 11, 2022
56d05a7
Merge pull request #10 from coligo/v2-update
michael-magrian Aug 11, 2022
5688c6f
Build new sdk version
michael-magrian Sep 20, 2022
ea42310
Upgrade sdk
michael-magrian Sep 22, 2022
03f7ea3
Merge pull request #11 from coligo/update-sdk
michael-magrian Oct 5, 2022
c4c9b70
updated for v2 secrets
Oct 12, 2022
5f02db7
Merge pull request #13 from coligo/v2.1-secrets
michael-magrian Oct 13, 2022
59bd2f5
Push new SDK version
michael-magrian Oct 13, 2022
e18e235
Push change
michael-magrian Oct 20, 2022
ac08263
Push change
michael-magrian Oct 21, 2022
e3bee6f
latest v2 updates
reggeenr Oct 24, 2022
1441ebc
swagger updates
reggeenr Oct 27, 2022
d935b43
go-sdk-update
reggeenr Nov 1, 2022
ef61d21
Merge pull request #14 from coligo/swagger-updates
Nov 1, 2022
44d2c01
v2 updates
reggeenr Nov 26, 2022
95c3edf
v2 updates
reggeenr Nov 28, 2022
bd80189
Replace project guid with project id
michael-magrian Nov 28, 2022
2a7c88d
Push update coligo/api#1255
michael-magrian Nov 30, 2022
08c4570
jobrun update
reggeenr Dec 2, 2022
4148ea2
Merge pull request #15 from coligo/jobrun-model-update
reggeenr Dec 2, 2022
de3c40c
project updates
reggeenr Dec 3, 2022
95ba618
fixed broken integration tests
reggeenr Dec 3, 2022
997aa04
adjusted v1 sdk e2e test
reggeenr Dec 3, 2022
7a3a853
Go SDK preparations
reggeenr Dec 3, 2022
d27443c
minor travis adjustments
reggeenr Dec 3, 2022
ea507eb
adjusted make file
reggeenr Dec 5, 2022
1e8ab93
removed go19 from travis test set
reggeenr Dec 5, 2022
edb5deb
fixed gosec and gocli-lint
reggeenr Dec 5, 2022
1493947
fixed go-sec scan
reggeenr Dec 5, 2022
ba8e321
fixed v1 integration test
reggeenr Dec 5, 2022
f6c42c2
fixed v1 and v2 test cases
reggeenr Dec 5, 2022
069e0bc
build(ci): enabled go-sec and integration tests in travis
reggeenr Dec 5, 2022
91c38b1
Merge pull request #16 from coligo/proj-updates
michael-magrian Dec 6, 2022
3e5c6b6
fix(core): re-enabled automatic CI checks
reggeenr Dec 6, 2022
44576b9
Merge branch 'main' into semantic-release-test
reggeenr Dec 6, 2022
8840520
Merge pull request #18 from coligo/semantic-release-test
michael-magrian Dec 6, 2022
3f97c20
fix(core): slightly adjusted the project model
reggeenr Dec 6, 2022
3652652
Merge branch 'main' of github.ibm.com:coligo/go-sdk into semantic-rel…
reggeenr Dec 6, 2022
c7272bf
updated to latest travis ubuntu version
reggeenr Dec 6, 2022
2e4bd9d
Merge pull request #19 from coligo/semantic-release-test
michael-magrian Dec 6, 2022
3198255
fix(core): fixed build issue
reggeenr Dec 6, 2022
4286124
Merge pull request #20 from coligo/enabled-semantic-release
michael-magrian Dec 6, 2022
6244645
fix(core): travis distribution update
reggeenr Dec 6, 2022
a0286ee
fix(core): fixed travis setup
reggeenr Dec 6, 2022
1bb7e14
changed to focal beta
reggeenr Dec 6, 2022
2e4f0cc
proofed that michael really reviews
reggeenr Dec 6, 2022
f087a9c
fix(core): adjusted travis config
reggeenr Dec 6, 2022
3d91203
Merge pull request #22 from coligo/travis-config-update
michael-magrian Dec 6, 2022
2f600f9
last final change on this
reggeenr Dec 6, 2022
564f8ec
fix(core): adjusted semantic release config
reggeenr Dec 6, 2022
5cd14dc
Merge pull request #24 from coligo/adjusted-semantic-release-config
michael-magrian Dec 6, 2022
b376539
fix(ci): fixed semantic-release configuration
reggeenr Dec 6, 2022
f5e3d45
Update version 0.1.0 -> 1.0.0 [skip ci]
reggeenr Dec 6, 2022
bf616de
fix(core): set latest version in semantic-release related files
reggeenr Dec 6, 2022
ab62a91
Merge pull request #25 from coligo/version-2.0.0
michael-magrian Dec 6, 2022
5ee886d
fix(build): added a travis.yml that should be used for public github
reggeenr Dec 9, 2022
0d04b4d
Update version 2.0.0 -> 2.0.1 [skip ci]
semantic-release-bot Dec 9, 2022
a299cae
chore(release): 2.0.1 release notes [skip ci]
semantic-release-bot Dec 9, 2022
f7d29f4
fix(build): remove package.json from git. added changelog entry for v…
reggeenr Dec 9, 2022
37f444f
Update version 2.0.1 -> 2.0.2 [skip ci]
semantic-release-bot Dec 9, 2022
3b91e19
chore(release): 2.0.2 release notes [skip ci]
semantic-release-bot Dec 9, 2022
be0d31d
fix(documentation): slightly adjusted the readme
reggeenr Dec 9, 2022
656df50
Update version 2.0.2 -> 2.0.3 [skip ci]
semantic-release-bot Dec 9, 2022
5fcc5f0
chore(release): 2.0.3 release notes [skip ci]
semantic-release-bot Dec 9, 2022
629189b
fix(build): regenerated with most recent generator
reggeenr Jan 15, 2023
e630bcd
fix(examples): added secret create example
Mar 8, 2023
25a0249
Update version 2.0.3 -> 2.0.4 [skip ci]
semantic-release-bot Mar 8, 2023
c5f1db9
chore(release): 2.0.4 release notes [skip ci]
semantic-release-bot Mar 8, 2023
38796d2
fix(model): pulled in latest v2 endpoint updates
reggeenr Mar 9, 2023
ec4b823
Update version 2.0.4 -> 2.0.5 [skip ci]
semantic-release-bot Mar 9, 2023
63a90aa
chore(release): 2.0.5 release notes [skip ci]
semantic-release-bot Mar 9, 2023
e4fca58
added oneOf and examples (#29)
Mar 23, 2023
4f0d815
feat(oneOf): oneOf added for v3 release (#30)
Mar 24, 2023
538d944
Update version 2.0.5 -> 3.0.0 [skip ci]
semantic-release-bot Mar 24, 2023
034d9cf
chore(release): 3.0.0 release notes [skip ci]
semantic-release-bot Mar 24, 2023
d4e9bbb
sdk-update-20230324-173258 (#33)
reggeenr Mar 24, 2023
e9688bc
feat(api): added support to retrieve egress ips
reggeenr Mar 24, 2023
06943d4
fix(tests): hardened integration tests (#34)
reggeenr Mar 24, 2023
92e3463
Update version 3.0.0 -> 3.1.0 [skip ci]
semantic-release-bot Mar 24, 2023
c38d9bd
chore(release): 3.1.0 release notes [skip ci]
semantic-release-bot Mar 24, 2023
1ac8578
feat(ci) travis migration (#35)
reggeenr May 24, 2023
a231e21
feat(api): SDK update 20230605-120554 (#38)
Jun 5, 2023
0668155
Update version 3.1.0 -> 3.2.0 [skip ci]
semantic-release-bot Jun 5, 2023
8c4587e
chore(release): 3.2.0 release notes [skip ci]
semantic-release-bot Jun 5, 2023
c689cb7
Revert "sdk-update-20230605-120554" (#39)
Jun 6, 2023
438d269
feat(api): Added support for service bindings and service access secr…
Jun 6, 2023
c473be2
Update version 3.1.0 -> 4.0.0 [skip ci]
semantic-release-bot Jun 6, 2023
e218249
chore(release): 4.0.0 release notes [skip ci]
semantic-release-bot Jun 6, 2023
053101d
feat(api): SDK update 20230606-124943 (#43)
Jun 6, 2023
462b48f
Update version 4.0.0 -> 4.1.0 [skip ci]
semantic-release-bot Jun 6, 2023
d72069f
chore(release): 4.1.0 release notes [skip ci]
semantic-release-bot Jun 6, 2023
905306e
fix(tests): fixed tests after regen (#44)
Jun 22, 2023
dd8379c
Update version 4.1.0 -> 4.1.1 [skip ci]
semantic-release-bot Jun 22, 2023
c0782f7
chore(release): 4.1.1 release notes [skip ci]
semantic-release-bot Jun 22, 2023
c9246e1
fix(test): adjusted test for tls secrets (#47)
Jul 14, 2023
a8089d3
Update version 4.1.1 -> 4.1.2 [skip ci]
semantic-release-bot Jul 14, 2023
3ce70cb
chore(release): 4.1.2 release notes [skip ci]
semantic-release-bot Jul 14, 2023
46b8905
fix(test): updated k8s.io/client-go library in example v1 tests (#78)
Sep 21, 2023
3299b8a
feat(api): Adding Domain Mapping support to SDK (#91)
Nov 6, 2023
614ab77
feat(api): Adding Domain Mapping support to SDK (#92)
Nov 6, 2023
d867227
Update version 4.1.2 -> 4.2.0 [skip ci]
semantic-release-bot Nov 6, 2023
d09b8ea
chore(release): 4.2.0 release notes [skip ci]
semantic-release-bot Nov 6, 2023
1863f82
Update .whitesource (#99)
reggeenr Nov 21, 2023
e3a2bc6
updates to integration test for domain mapping (#100)
Nov 29, 2023
f9c3406
update .gitignore to add cloned repo (#101)
Dec 1, 2023
ed4c76d
ci(mend): :wrench: Enable mend renovate (#103)
michael-magrian Jan 17, 2024
e78b087
update tls files location (#112)
Jan 18, 2024
c6509ce
fix(deps): :lock: upgrade crypto package (#107)
michael-magrian Jan 18, 2024
b64a371
fix(deps): update kubernetes packages to v0.29.1 (#110)
Jan 18, 2024
d643728
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Jan 18, 2024
3b2b91b
fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.15.0 (#105)
Jan 18, 2024
fd79e28
fix(deps): update module github.com/onsi/ginkgo to v2 (#114)
Jan 18, 2024
6cdcafa
fix(deps): update module github.com/onsi/ginkgo to v2 (#115)
Jan 18, 2024
8ea0055
fix(deps): update module github.com/onsi/gomega to v1.31.0 (#109)
Jan 18, 2024
2862675
fix(deps): update module github.com/onsi/ginkgo to v2 (#116)
Jan 18, 2024
18a495b
fix(deps): update module github.com/go-openapi/strfmt to v0.22.0 (#104)
Jan 18, 2024
174d0dc
fix(deps): update module github.com/onsi/gomega to v1.31.1 (#118)
Jan 19, 2024
da397b9
fix(readme): add readme for example_v2 (#120)
Jan 22, 2024
bf1d6eb
chore(deps): update module golang.org/x/net to v0.20.0 (#121)
Jan 22, 2024
11cec7b
fix(documentation): fix the example link (#122)
Jan 23, 2024
6ed24cd
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Jan 24, 2024
c2e6d52
feat(api): SDK update 20240124-161556 (#125)
Jan 24, 2024
0e54472
node version 20 is necessary for latest semantic-release (#126)
Jan 26, 2024
f18121a
Update version 4.2.0 -> 4.3.0 [skip ci]
semantic-release-bot Jan 26, 2024
70c760d
chore(release): 4.3.0 release notes [skip ci]
semantic-release-bot Jan 26, 2024
a628a1b
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Jan 28, 2024
1931376
fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.15.1 (#129)
Jan 30, 2024
9b923bd
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Jan 31, 2024
3866840
fix(deps): update kubernetes packages to v0.29.2 (#133)
Feb 16, 2024
44c8f6a
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Feb 16, 2024
3d8e11b
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Feb 19, 2024
7cf27e1
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Feb 26, 2024
05f5a47
fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.15.2 (#135)
Feb 26, 2024
b3410ba
fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.15.3 (#138)
Feb 28, 2024
7e8ba33
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Feb 28, 2024
31f5b6d
fix(deps): update module github.com/go-openapi/strfmt to v0.22.1 (#137)
Feb 28, 2024
94fa040
fix(deps): update module github.com/stretchr/testify to v1.9.0 (#141)
Mar 2, 2024
40424ae
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Mar 2, 2024
e79af4a
chore(deps): update module golang.org/x/net to v0.22.0 (#143)
Mar 5, 2024
f66d505
fix(deps): update module github.com/go-openapi/strfmt to v0.22.2 (#142)
Mar 5, 2024
e77d253
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.16.0 (#144)
Mar 5, 2024
2a360a0
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Mar 10, 2024
dfaf419
fix(deps): update module github.com/go-openapi/strfmt to v0.23.0 (#146)
Mar 10, 2024
d1c9bbc
fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.16.1 (#147)
Mar 15, 2024
6634924
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Mar 15, 2024
d48eade
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Mar 15, 2024
55c2b3b
fix(deps): update kubernetes packages to v0.29.3 (#150)
Mar 16, 2024
e9308af
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.17.0 (#151)
Mar 19, 2024
a1e9e70
fix(deps): update module github.com/onsi/gomega to v1.32.0 (#152)
Mar 19, 2024
7e0d0f8
fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.16.3 (#153)
Mar 22, 2024
ac27dff
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Mar 25, 2024
93dfd4a
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.17.1 (#155)
Mar 25, 2024
6700905
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Mar 25, 2024
78fec17
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Apr 3, 2024
5d69ff3
chore(deps): update module golang.org/x/net to v0.23.0 (#158)
Apr 3, 2024
ad978e6
chore(deps): update module golang.org/x/net to v0.24.0 (#159)
Apr 7, 2024
70336f4
fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.16.4 (#160)
Apr 9, 2024
27f356c
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Apr 11, 2024
87df08c
fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.16.5 (#161)
Apr 11, 2024
3baaf12
fix(deps): update kubernetes packages to v0.29.4 (#163)
Apr 17, 2024
690de7e
fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.17.0 (#165)
Apr 18, 2024
4ad70de
fix(deps): update github.com/ibm/code-engine-go-sdk digest to a6e054a…
Apr 18, 2024
b863b76
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Apr 19, 2024
68b750e
fix(deps): update module github.com/onsi/gomega to v1.33.0 (#168)
Apr 19, 2024
2e3d30b
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Apr 26, 2024
7f53162
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Apr 27, 2024
69e5d68
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.17.2 (#171)
Apr 28, 2024
c6c1748
fix(deps): update module github.com/onsi/gomega to v1.33.1 (#172)
May 1, 2024
54449ba
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
May 4, 2024
56d6fa2
chore(deps): update module golang.org/x/text to v0.15.0 (#174)
May 5, 2024
28101bf
fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.17.1 (#175)
May 7, 2024
db9c461
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.17.3 (#177)
May 7, 2024
d37a734
fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.17.2 (#178)
May 9, 2024
db5b29d
chore(deps): update module golang.org/x/net to v0.25.0 (#176)
May 10, 2024
1653d25
fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.17.3 (#180)
May 17, 2024
a7e138c
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.18.0 (#181)
May 22, 2024
a071085
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
May 22, 2024
1050523
fix(deps): update module github.com/onsi/ginkgo/v2 to v2.19.0 (#183)
May 25, 2024
c16e713
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
May 30, 2024
0be1bc7
chore(deps): update module golang.org/x/text to v0.16.0 (#186)
Jun 5, 2024
f8907bb
chore(deps): update module golang.org/x/net to v0.26.0 (#185)
Jun 5, 2024
18c34d0
fix(deps): update kubernetes packages to v0.30.2 (#187)
Jun 14, 2024
f107ad0
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Jun 21, 2024
279e1d7
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Jun 22, 2024
bed1809
fix(deps): update module github.com/ibm/go-sdk-core/v5 to v5.17.4 (#190)
Jun 26, 2024
23978e8
feat(api): Adding Function support to SDK (#192)
Jun 27, 2024
e20edab
fix(deps): update module github.com/ibm/platform-services-go-sdk to v…
Jun 28, 2024
ff0c0db
fix(deps): update module golang.org/x/net to v0.26.0 (#193)
Jul 1, 2024
59ffbec
Update version 4.3.0 -> 4.4.0 [skip ci]
semantic-release-bot Jul 1, 2024
e495b8a
chore(release): 4.4.0 release notes [skip ci]
semantic-release-bot Jul 1, 2024
c5b257e
SDK update 20240701-144319
Jul 1, 2024
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
13 changes: 0 additions & 13 deletions .bumpversion.cfg

This file was deleted.

10 changes: 9 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
.env
.vscode

# ignore vendor/
vendor/
Expand All @@ -9,6 +10,9 @@ vendor/
.openapi-generator/VERSION
/.project

# API repo (pulled from Github)
api

# credentials files
*.env

Expand All @@ -17,4 +21,8 @@ swagger.json
openapi-sdkgen

# example binary ignore
example/example
example/example
coverage.txt

package.json
package-lock.json
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
21 changes: 0 additions & 21 deletions .releaserc

This file was deleted.

42 changes: 16 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
language: go
dist: xenial
go: 1.13.x
dist: focal

go:
- 1.18.x

# Only run on main (still tests PRs)
branches:
only:
- main

cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod

notifications:
email: true

Expand All @@ -15,29 +22,12 @@ env:
- GO111MODULE=on

before_install:
# To enable semantic-release, uncomment the next 4 lines
# - sudo apt-get update
# - sudo apt-get install python
# - nvm install 12
# - npm install -g [email protected]
#- '[ "${TRAVIS_PULL_REQUEST}" == "false" ] && openssl aes-256-cbc -K $my_key -iv $my_iv -in myservice.env.enc -out myservice.env -d || true'
- sudo apt-get update
- pyenv global 3.8

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

script:
- go build ./...
- go test ./...
- ./test-integration.sh

# To enable semantic-release, uncomment these sections.
# 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
- make travis-ci
32 changes: 21 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
# Makefile to build go-sdk-template
# Makefile to build the project
GO=go
LINT=golangci-lint
GOSEC=gosec

all: build unittest lint tidy
COVERAGE = -coverprofile=coverage.txt -covermode=atomic

travis-ci: build alltest lint tidy
all: tidy test lint scan-gosec
travis-ci: test-cov lint scan-gosec tidy

build:
go build ./...
test:
${GO} test `${GO} list ./...`

unittest:
go test `go list ./... | grep -v samples`
test-cov:
${GO} test `${GO} list ./...` ${COVERAGE}

alltest:
go test `go list ./... | grep -v samples` -v -tags=integration
test-int:
${GO} test `${GO} list ./...` -tags=integration

test-int-cov:
${GO} test `${GO} list ./...` -tags=integration ${COVERAGE}

lint:
golangci-lint run
${LINT} run

scan-gosec:
${GOSEC} -conf gosec.json -exclude-dir=example/v1 -exclude-dir=example/v2 -exclude-dir=codeenginev2 ./...

tidy:
go mod tidy
${GO} mod tidy
48 changes: 23 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
<!--
[![Build Status](https://travis-ci.com/IBM/code-engine-go-sdk.svg?token=eW5FVD71iyte6tTby8gr&branch=master)](https://travis.ibm.com/IBM/code-engine-go-sdk.svg?token=eW5FVD71iyte6tTby8gr&branch=master)
[![Build Status](https://travis-ci.com/IBM/code-engine-go-sdk.svg?branch=main)](https://travis-ci.com/IBM/code-engine-go-sdk)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
-->

# IBM Cloud Code Engine Go SDK 0.0.1
# IBM Cloud Code Engine Go SDK 4.4.0
Go client library to interact with the [Code Engine API](https://cloud.ibm.com/apidocs/codeengine).

Disclaimer: this SDK is being released initially as a **pre-release** version.
Changes might occur which impact applications that use this SDK.

## Table of Contents
<!--
The TOC below is generated using the `markdown-toc` node package.
Expand All @@ -22,18 +17,20 @@ Changes might occur which impact applications that use this SDK.

<!-- toc -->

- [Overview](#overview)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
+ [`go get` command](#go-get-command)
+ [Go modules](#go-modules)
+ [`dep` dependency manager](#dep-dependency-manager)
- [Using the SDK](#using-the-sdk)
- [Questions](#questions)
- [Issues](#issues)
- [Open source @ IBM](#open-source--ibm)
- [Contributing](#contributing)
- [License](#license)
- [IBM Cloud Code Engine Go SDK 4.4.0](#ibm-cloud-code-engine-go-sdk-310)
- [Table of Contents](#table-of-contents)
- [Overview](#overview)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [`go get` command](#go-get-command)
- [Go modules](#go-modules)
- [`dep` dependency manager](#dep-dependency-manager)
- [Using the SDK](#using-the-sdk)
- [Questions](#questions)
- [Issues](#issues)
- [Open source @ IBM](#open-source--ibm)
- [Contributing](#contributing)
- [License](#license)

<!-- tocstop -->

Expand All @@ -43,18 +40,19 @@ The IBM Cloud Code Engine Go SDK allows developers to programmatically interact

Service Name | Package name
--- | ---
[Code Engine](https://cloud.ibm.com/apidocs/codeengine) | ibmcloudcodeenginev1
[Code Engine](https://cloud.ibm.com/apidocs/codeengine/codeengine-v2.0.0) | codeenginev2
[Code Engine](https://cloud.ibm.com/apidocs/codeengine/codeengine-v1.0.0) | ibmcloudcodeenginev1

## Prerequisites

[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).
* Go version 1.12 or above.
* Go version 1.18 or above.

## Installation
The current version of this SDK: 0.0.1
The current version of this SDK: 4.4.0

There are a few different ways to download and install the Code Engine Go SDK project for use by your
Go application:
Expand All @@ -73,7 +71,7 @@ Go application, like this:

```go
import (
"github.com/IBM/code-engine-go-sdk/ibmcloudcodeenginev1"
"github.com/IBM/code-engine-go-sdk/codeenginev2"
)
```

Expand All @@ -87,14 +85,14 @@ to your `Gopkg.toml` file. Here is an example:
```
[[constraint]]
name = "github.com/IBM/code-engine-go-sdk"
version = "0.0.1"
version = "4.4.0"

```

then run `dep ensure`.

## Using the SDK
Examples and a demo are available in the [example](/example) folder.
Examples are available [here](./example/v2/README.md).

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

Expand Down
Loading