Skip to content

Commit ff6e9ce

Browse files
authored
feat(spec): updated the sdk as per the api spec released on 2025-03-10 (#85)
* feat(spec): updated the sdk as per the api spec released on 2025-03-10 Signed-off-by: Ujjwal Kumar <[email protected]> * feat(spec): updated the sdk as per the api spec released on 2025-03-10 Signed-off-by: Ujjwal Kumar <[email protected]> --------- Signed-off-by: Ujjwal Kumar <[email protected]>
1 parent 4cc2b19 commit ff6e9ce

File tree

9 files changed

+3360
-1465
lines changed

9 files changed

+3360
-1465
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ jobs:
4848
@semantic-release/git \
4949
@semantic-release/github
5050
51+
- name: Configure Git User
52+
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.8'
53+
run: |
54+
git config --global user.name "uibm"
55+
git config --global user.email "[email protected]"
56+
5157
- name: Semantic Release and Publish
5258
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.8'
5359
env:

.releaserc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@
1313
[
1414
"@semantic-release/git",
1515
{
16-
"message": "chore(release): ${nextRelease.version} release notes\n\n${nextRelease.notes}"
16+
"message": "chore(release): ${nextRelease.version} release notes\n\n${nextRelease.notes}",
17+
"gitUserName": "uibm",
18+
"gitUserEmail": "[email protected]"
1719
}
1820
],
1921
"@semantic-release/github"
2022
]
21-
}
23+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.com/IBM/vpc-python-sdk.svg?branch=master)](https://travis-ci.com/IBM/vpc-python-sdk)
1+
[![Build Status](https://github.com/IBM/vpc-python-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/IBM/vpc-python-sdk/actions/workflows/ci.yml)
22
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
33
[![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)
44

examples/test_vpc_v1_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# (C) Copyright IBM Corp. 2021.
2+
# (C) Copyright IBM Corp. 2023, 2024, 2025.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

ibm_vpc/vpc_v1.py

Lines changed: 2162 additions & 703 deletions
Large diffs are not rendered by default.

pyproject.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ classifiers = [
2727
]
2828
keywords=["ibm", "cloud", "ibm cloud services", "vpc" ]
2929
dependencies = [
30-
"ibm_cloud_sdk_core>=3.22.0",
30+
"ibm_cloud_sdk_core>=3.22.0,<3.22.1;python_version<'3.9'",
31+
"ibm_cloud_sdk_core>=3.23.0;python_version>='3.9'",
3132
"python_dateutil>=2.5.3,<3.0.0",
3233
]
3334

@@ -68,19 +69,19 @@ skip-string-normalization = true
6869
[tool.tox]
6970
legacy_tox_ini = """
7071
[tox]
71-
envlist = py37-lint, py37, py38, py39
72+
envlist = lint, py38, py39, py310, py311
7273
73-
[testenv:py37-lint]
74-
basepython = python3.7
74+
[testenv:lint]
75+
basepython = python3.8
7576
deps = pylint
76-
commands = pylint --rcfile=.pylintrc ibm-vpc test/unit
77+
commands = pylint --rcfile=.pylintrc ibm-vpc test
7778
7879
[testenv]
7980
passenv = TOXENV CI TRAVIS*
8081
commands =
81-
pytest -v test/unit
82+
pytest -v test/unit
8283
83-
deps =
84+
deps =
8485
pylint
8586
pytest
8687
pytest-cov

test/integration/conftest.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-
# (C) Copyright IBM Corp. 2020.
3+
# (C) Copyright IBM Corp. 2023, 2024, 2025.
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.

test/integration/test_gen2.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-
# (C) Copyright IBM Corp. 2020, 2021, 2022.
3+
# (C) Copyright IBM Corp. 2023, 2024, 2025.
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.

test/unit/test_vpc_v1.py

Lines changed: 1176 additions & 749 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)