Skip to content

Commit 863480f

Browse files
authored
Cybl 1115 add tenant (#393)
* add tenant_id for backward compatibility * update circleci config * code review fixes * __NODOCS__
1 parent 78100a5 commit 863480f

File tree

5 files changed

+20
-7
lines changed

5 files changed

+20
-7
lines changed

.circleci/config.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,9 @@ workflows:
476476
- validate_documentation
477477
- wagon
478478
- rhel_wagon
479+
- build_bundle
480+
- unittests_py27
481+
- unittests_py36
479482
# - integration_tests_505
480483
# - integration_tests_510
481484
- merge_docs:
@@ -499,7 +502,7 @@ workflows:
499502
filters:
500503
branches:
501504
only:
502-
- 2.14.22-build
505+
- 2.14.23-build
503506
jobs:
504507
- unittests_py27
505508
- unittests_py36
@@ -508,23 +511,23 @@ workflows:
508511
- wagon:
509512
filters:
510513
branches:
511-
only: /(2.14.22-build|master)/
514+
only: /(2.14.23-build|master)/
512515
- rhel_wagon:
513516
filters:
514517
branches:
515-
only: /(2.14.22-build|master)/
518+
only: /(2.14.23-build|master)/
516519
# - integration_tests_505:
517520
# requires:
518521
# - wagon
519522
# - rhel_wagon
520523
# filters:
521524
# branches:
522-
# only: /(2.14.22-build|master)/
525+
# only: /(2.14.23-build|master)/
523526
# - integration_tests_510:
524527
# requires:
525528
# - wagon
526529
# - rhel_wagon
527530
# - integration_tests_505
528531
# filters:
529532
# branches:
530-
# only: /(2.14.22-build|master)/
533+
# only: /(2.14.23-build|master)/

CHANGELOG.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2.14.23:
2+
- Add tenant_id in openstack_config for backward compatibility.
13
2.14.22:
24
- Fix windows get password encoding python 3 compatibility.
35
2.14.21:

constraints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ subprocess32==3.5.3
33
pyrsistent===0.16.1
44
cloudify-common>=5.1.0
55
cryptography==3.2.1
6+
oslo.config==7.0.0

openstack_plugin_common/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,9 @@ class OpenStackClient(object):
656656
AUTH_SETS = [
657657
COMMON | {'tenant_name'},
658658
COMMON | {'project_id', 'user_domain_name'},
659+
COMMON | {'tenant_id', 'user_domain_name'},
659660
COMMON | {'project_id', 'project_name', 'user_domain_name'},
661+
COMMON | {'tenant_id', 'project_name', 'user_domain_name'},
660662
COMMON | {'project_name', 'user_domain_name', 'project_domain_name'},
661663
]
662664

plugin.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
plugins:
66
openstack:
77
executor: central_deployment_agent
8-
source: https://github.com/cloudify-cosmo/cloudify-openstack-plugin/archive/2.14.22.zip
8+
source: https://github.com/cloudify-cosmo/cloudify-openstack-plugin/archive/2.14.23.zip
99
package_name: cloudify-openstack-plugin
10-
package_version: '2.14.22'
10+
package_version: '2.14.23'
1111

1212
data_types:
1313
cloudify.openstack.types.custom_configuration:
@@ -92,6 +92,11 @@ data_types:
9292
description: Name of tenant.
9393
type: string
9494
required: false
95+
tenant_id:
96+
description: |
97+
Id of tenant. Same as project_id, added for backwards compatibility.
98+
type: string
99+
required: false
95100
project_id:
96101
description: ID of project to operate on.
97102
type: string

0 commit comments

Comments
 (0)