Skip to content

Commit 44f85bc

Browse files
committed
chore: initial project setup
1 parent c00c8eb commit 44f85bc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+67
-43146
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[bumpversion]
2-
current_version = 0.3.0
2+
current_version = 0.0.0
33
commit = True
44
message = Update version {current_version} -> {new_version}
55

6-
[bumpversion:file:platform_services/version.py]
6+
[bumpversion:file:ibm_platform_services/version.py]
77
search = __version__ = '{current_version}'
88
replace = __version__ = '{new_version}'
99

.ghostenv.enc

-496 Bytes
Binary file not shown.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ __pycache__/
88
*.py[cod]
99
*$py.class
1010

11+
package-lock.json
12+
1113
# Distribution / packaging
1214
.Python
1315
env/

.travis.yml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,30 @@ before_install:
1616
- sudo apt-get update
1717
- sudo apt-get install pandoc
1818
- pip install pypandoc
19+
# - 'openssl aes-256-cbc -K $ghost_key -iv $ghost_iv -in .ghostenv.enc -out .ghostenv -d || true'
1920

2021
install:
2122
- pip install tox-travis
2223

23-
before_script:
24-
- 'openssl aes-256-cbc -K $ghost_key -iv $ghost_iv -in .ghostenv.enc -out .ghostenv -d || true'
25-
2624
script:
2725
- tox
2826

29-
before_deploy:
30-
- pip install bump2version
31-
- nvm install 12
32-
- npm install @semantic-release/changelog
33-
- npm install @semantic-release/exec
34-
- npm install @semantic-release/git
35-
- npm install @semantic-release/github
36-
37-
deploy:
38-
- provider: script
39-
script: npx semantic-release
40-
skip_cleanup: true
41-
on:
42-
python: '3.5'
43-
branch: master
44-
27+
# before_deploy:
28+
# - pip install bump2version
29+
# - nvm install 12
30+
# - npm install @semantic-release/changelog
31+
# - npm install @semantic-release/exec
32+
# - npm install @semantic-release/git
33+
# - npm install @semantic-release/github
34+
#
35+
# deploy:
36+
# - provider: script
37+
# script: npx semantic-release
38+
# skip_cleanup: true
39+
# on:
40+
# python: '3.5'
41+
# branch: master
42+
#
4543
# - provider: pypi
4644
# user: $PYPI_USER
4745
# password: $PYPI_PASSWORD

CHANGELOG.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

CONTRIBUTING.md

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

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

1111
# General Information

README.md

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
# IBM Cloud Platform Services Python SDK Version 0.3.0
2-
[![Build Status](https://travis.ibm.com/ibmcloud/platform-services-python-sdk.svg?token=eW5FVD71iyte6tTby8gr&branch=master)](https://travis.ibm.com/ibmcloud/platform-services-python-sdk)
1+
[![Build Status](https://travis-ci.com/IBM/platform-services-python-sdk.svg?token=eW5FVD71iyte6tTby8gr&branch=master)](https://travis.ibm.com/IBM/platform-services-python-sdk)
2+
[![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)
3+
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
4+
5+
# IBM Cloud Platform Services Python SDK Version 0.0.0
36

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

@@ -36,25 +39,12 @@ IBM Cloud services:
3639

3740
Service Name | Imported Class Name
3841
--- | ---
39-
[Case Management](https://cloud.ibm.com/apidocs/case-management) | CaseManagementV1
40-
[Enterprise Management](https://cloud.ibm.com/apidocs/enterprise-apis/enterprise) | EnterpriseManagementV1
41-
[Enterprise Usage Reports](https://cloud.ibm.com/apidocs/enterprise-apis/resource-usage-reports) | EnterpriseUsagereportsV1
42-
[Global Resource Catalog](https://cloud.ibm.com/apidocs/globalcatalog) | GlobalCatalogV1
4342
[Global Search](https://cloud.ibm.com/apidocs/search) | GlobalSearchV2
4443
[Global Tagging](https://cloud.ibm.com/apidocs/tagging) | GlobalTaggingV1
45-
[IAM Access Groups](https://cloud.ibm.com/apidocs/iam-access-groups) | IamAccessGroupsV2
46-
[IAM Identity Services](https://cloud.ibm.com/apidocs/iam-identity-token-api) | IamIdentityServicesV1
47-
[IAM Policy Management](https://cloud.ibm.com/apidocs/iam-policy-management) | IamPolicyManagementV1
48-
[Open Services Broker](https://cloud.ibm.com/apidocs/resource-controller/ibm-cloud-osb-api) | OpenServiceBrokerB1
49-
[Resource Controller](https://cloud.ibm.com/apidocs/resource-controller) | ResourceControllerV2
50-
[Resource Manager](https://cloud.ibm.com/apidocs/resource-controller/resource-manager) | ResourceManagerV2
51-
[Usage Metering](https://cloud.ibm.com/apidocs/usage-metering) | UsageMeteringV4
52-
[Usage Reports](https://cloud.ibm.com/apidocs/usage-metering) | UsageReportsV1
53-
[User Management](https://cloud.ibm.com/apidocs/user-management) | UserManagementV1
5444

5545
## Prerequisites
5646

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

5949
* An [IBM Cloud][ibm-cloud-onboarding] account.
6050
* An IAM API key to allow the SDK to access your account. Create one [here](https://cloud.ibm.com/iam/apikeys).
@@ -65,26 +55,26 @@ Service Name | Imported Class Name
6555
To install, use `pip` or `easy_install`:
6656

6757
```bash
68-
pip install --upgrade "platform_services>=0.3.0"
58+
pip install --upgrade "ibm_platform_services>=0.0.0"
6959
```
7060

7161
or
7262

7363
```bash
74-
easy_install --upgrade "platform_services>=0.3.0"
64+
easy_install --upgrade "ibm_platform_services>=0.0.0"
7565
```
7666

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

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

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

9080
## Open source @ IBM
@@ -96,4 +86,4 @@ See [CONTRIBUTING](CONTRIBUTING.md).
9686
## License
9787

9888
The IBM Cloud Platform Services Python SDK is released under the Apache 2.0 license.
99-
The license's full text can be found in [LICENSE](https://github.ibm.com/ibmcloud/platform-services-python-sdk/blob/master/LICENSE).
89+
The license's full text can be found in [LICENSE](LICENSE).

ibm_platform_services/__init__.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# coding: utf-8
2+
# Copyright 2019 IBM All Rights Reserved.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
from ibm_cloud_sdk_core import IAMTokenManager, DetailedResponse, BaseService, ApiException
17+
18+
from .common import get_sdk_headers
19+
from .version import __version__
20+
21+
# from .global_search_v2 import GlobalSearchV2
22+
# from .global_tagging_v1 import GlobalTaggingV1
23+
# from .iam_access_groups_v2 import IamAccessGroupsV2

platform_services/common.py renamed to ibm_platform_services/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coding: utf-8
22

3-
# Copyright 2019 IBM All Rights Reserved.
3+
# Copyright 2020 IBM All Rights Reserved.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""
22
Version of platform_services
33
"""
4-
__version__ = '0.3.0'
4+
__version__ = '0.0.0'

0 commit comments

Comments
 (0)