Skip to content

Commit f218fcd

Browse files
authored
Merge pull request #180 from britive/v2.1.0-rc.1
V2.1.0 rc.1
2 parents 4e2b3ef + be935d5 commit f218fcd

File tree

7 files changed

+35
-13
lines changed

7 files changed

+35
-13
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,28 @@
33
> As of v1.4.0, release candidates will be published in an effort to get new features out faster while still allowing
44
> time for full QA testing before moving the release candidate to a full release.
55
6+
## v2.1.0-rc.1 [2025-02-24]
7+
8+
__What's New:__
9+
10+
* None
11+
12+
__Enhancements:__
13+
14+
* None
15+
16+
__Bug Fixes:__
17+
18+
* None
19+
20+
__Dependencies:__
21+
22+
* `colored>=2.2.5`
23+
24+
__Other:__
25+
26+
* Tests and Documentation updates for SDK alignment.
27+
628
## v2.1.0-rc.0 [2025-01-27]
729

830
__What's New:__

docs/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Below is the list of application types in which a 2 part format is acceptable.
180180
The list can be generated (assuming the caller has the required permissions) on demand with the following command.
181181

182182
```sh
183-
pybritive api applications.catalog \
183+
pybritive api application_management.applications.catalog \
184184
--query '[*].{"application type": name,"2 part format allowed":requiresHierarchicalModel}' \
185185
--format table
186186
```
@@ -403,16 +403,16 @@ Usage examples of: (`pybritive api method --parameter1 value1 --parameter2 value
403403

404404
```sh
405405
# list all users in the britive tenant
406-
pybritive api users.list
406+
pybritive api identity_management.users.list
407407

408408
# create a tag
409-
pybritive api tags.create --name testtag --description "test tag"
409+
pybritive api identity_management.tags.create --name testtag --description "test tag"
410410

411411
# list all users and output just the email address of each user via jmespath query
412-
pybritive api users.list --query '[].email'
412+
pybritive api identity_management.users.list --query '[].email'
413413

414414
# create a profile
415-
pybritive api profiles.create --application-id <id> --name testprofile
415+
pybritive api application_management.profiles.create --application-id <id> --name testprofile
416416

417417
# create a secret
418418
pybritive api secrets_manager.secrets.create --name test --vault-id <id> --value '{"Note": {"secret1": "abc"}}'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ requires-python = ">= 3.9"
2828
dependencies = [
2929
"britive~=4.0",
3030
"click>=8.1.7",
31-
"colored",
31+
"colored>=2.2.5",
3232
"cryptography",
3333
"jmespath",
3434
"merge-args",

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ britive~=4.0
44
certifi
55
charset-normalizer
66
click>=8.1.7
7-
colored
7+
colored>=2.2.5
88
cryptography
99
google-cloud-compute
1010
jmespath

src/pybritive/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.1.0-rc.0'
1+
__version__ = '2.1.0-rc.1'

src/pybritive/commands/api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ def api(ctx, query, output_format, tenant, token, silent, passphrase, federation
3333
3434
* generic: pybritive api method --parameter1 value1 --parameter2 value2 [--parameterX valueX]
3535
36-
* pybritive api users.list
36+
* pybritive api identity_management.users.list
3737
38-
* pybritive api tags.create --name testtag --description "test tag"
38+
* pybritive api identity_management.tags.create --name testtag --description "test tag"
3939
40-
* pybritive api users.list --query '[].email'
40+
* pybritive api identity_management.users.list --query '[].email'
4141
42-
* pybritive api profiles.create --application-id <id> --name testprofile
42+
* pybritive api application_management.profiles.create --application-id <id> --name testprofile
4343
4444
"""
4545
parameters = {ctx.args[i][2:]: ctx.args[i + 1] for i in range(0, len(ctx.args), 2)}

tests/test_0500_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ def common_asserts(result, substring=None, exit_code=0):
77

88

99
def test_api(runner, cli):
10-
result = runner.invoke(cli, 'api users.list'.split(' '))
10+
result = runner.invoke(cli, 'api identity_management.users.list'.split(' '))
1111
common_asserts(result, ['userId', 'status', 'email', 'identityProvider'])

0 commit comments

Comments
 (0)