Fix stable/train gates
This patch is a partial backport of
https://review.opendev.org/#/c/685492/
This patch includes the date fixes for the functional tests and
a documentation fix.
Change-Id: Id91f44e8053cf4f40224959021d43736d5525107
(cherry picked from commit b8266ef402
)
This commit is contained in:
parent
07be1986b4
commit
2c87760688
|
@ -43,7 +43,7 @@ data models.
|
||||||
|
|
||||||
.. autoclass:: GenerateDTO
|
.. autoclass:: GenerateDTO
|
||||||
|
|
||||||
.. autoclass:: GenerateDTO
|
.. autoclass:: ResponseDTO
|
||||||
|
|
||||||
Plugin Base Class
|
Plugin Base Class
|
||||||
=================
|
=================
|
||||||
|
|
|
@ -334,7 +334,7 @@ class AclTestCase(base.TestCase):
|
||||||
|
|
||||||
secret_no_payload = {
|
secret_no_payload = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
|
|
@ -26,7 +26,7 @@ from functionaltests.api.v1.models import secret_models
|
||||||
|
|
||||||
create_secret_data = {
|
create_secret_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
|
|
@ -109,7 +109,7 @@ class BaseContainerTestCase(base.TestCase):
|
||||||
def _create_a_secret(self):
|
def _create_a_secret(self):
|
||||||
secret_defaults_data = {
|
secret_defaults_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
@ -389,7 +389,7 @@ class ContainersPagingTestCase(base.PagingTestCase):
|
||||||
def _create_a_secret(self):
|
def _create_a_secret(self):
|
||||||
secret_defaults_data = {
|
secret_defaults_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
|
|
@ -84,7 +84,7 @@ def get_passphrase_req():
|
||||||
def get_default_data():
|
def get_default_data():
|
||||||
return {
|
return {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
@ -135,7 +135,7 @@ class SecretsTestCase(base.TestCase):
|
||||||
|
|
||||||
self.default_secret_create_two_phase_data = {
|
self.default_secret_create_two_phase_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
|
|
@ -26,7 +26,7 @@ from functionaltests.api.v1.models import secret_models
|
||||||
|
|
||||||
create_secret_data = {
|
create_secret_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
|
|
@ -23,7 +23,7 @@ from functionaltests.api.v1.models import secret_models
|
||||||
|
|
||||||
create_secret_defaults_data = {
|
create_secret_defaults_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
|
|
@ -24,7 +24,7 @@ from functionaltests.api.v1.models import secret_models
|
||||||
|
|
||||||
default_secret_create_data = {
|
default_secret_create_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
@ -61,7 +61,7 @@ default_secret_create_emptystrings_data = {
|
||||||
|
|
||||||
default_secret_create_two_phase_data = {
|
default_secret_create_two_phase_data = {
|
||||||
"name": "AES key",
|
"name": "AES key",
|
||||||
"expiration": "2020-02-28T19:14:44.180394",
|
"expiration": "2030-02-28T19:14:44.180394",
|
||||||
"algorithm": "aes",
|
"algorithm": "aes",
|
||||||
"bit_length": 256,
|
"bit_length": 256,
|
||||||
"mode": "cbc",
|
"mode": "cbc",
|
||||||
|
|
Loading…
Reference in New Issue