Commit Graph

6 Commits (cb80df4f4ab0e8de16d53c7fddff7c44dedd3f94)

Author SHA1 Message Date
Thomas Herve 84067dba88 Remove db.api wrapper
The db.api module provides a useless indirection to the only
implementation we ever had, sqlalchemy. Let's use that directly instead
of the wrapper.

Change-Id: I80353cfed801b95571523515fd3228eae45c96ae
2016-12-13 09:40:29 +01:00
Grzegorz Grasza dfdbc99d8f Add OBJ_PROJECT_NAMESPACE for Heat project
This code will be used when objects are registered and serialized.

Change-Id: I9d9095bc40e61a104ebea5042f4eb75d16d27d69
Partial-Bug: 1491258
2016-01-22 21:53:51 +00:00
Peter Razumovsky 9176a36f10 Fix [H405] pep rule in heat/objects
Implements bp docstring-improvements

Change-Id: I4038f6695e4d4e9aae2cc6ac9b8830fccd9bfa53
2015-10-08 15:13:52 +03:00
huangtianhua af6b0db444 Make sure snapshot belongs to stack for actions
Check the snapshot belongs to stack when deleting and showing
stack's snapshot, and restoring from snapshot.

Change-Id: I8ce170b40b05ae17669524d75f80e06e39986673
Closes-Bug: #1437602
2015-04-10 18:37:08 +08:00
Kanagaraj Manickam 39368e2f6a Cleans default declaration nullable=False from heat objects
In Heat objects, the default value of nullable attribute is
set in many of the object's fields, which is not required
as oslo object Field defines nullable as False by default

Change-Id: I0164b64c043816f624aeba19561a4a5f8d36689d
Closes-bug: #1439957
2015-04-06 10:33:48 +05:30
He Jie Xu 4f69bfa4d9 Versioned objects - Snapshot
Prototype implementation of oslo.versionedobjects.
This patch adds Snapshot object.

Co-Authored-By: ShaoHe Feng <>
Co-Authored-By: He Jie Xu <>
Co-Authored-By: Grzegorz Grasza <>

Implements: blueprint versioned-objects

Change-Id: Ic502363a12df6a863375eccd26581451ad3daf04
2015-03-16 10:26:22 +01:00