<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/taskflow.git/taskflow/persistence/backends/sqlalchemy/tables.py, branch master</title>
<subtitle>opendev.org: openstack/taskflow.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/'/>
<entry>
<title>Use custom JSONType columns</title>
<updated>2021-07-13T09:44:06+00:00</updated>
<author>
<name>Pavlo Shchelokovskyy</name>
<email>shchelokovskyy@gmail.com</email>
</author>
<published>2021-07-13T09:06:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=3e1f150926029b6a553cbef959f370e39ce6bb5a'/>
<id>3e1f150926029b6a553cbef959f370e39ce6bb5a</id>
<content type='text'>
the JSONType from sqlalchemy_utils is quite brittle as it only does
primitive json.dumps on values. This leads to various sorts of
StorageFailure exceptions in taskflow when, for example, an unserializable
exception bubbles up to the 'failure' field of AtomDetails.

This patch sublclasses the JSONType from sqlalchemy_utils and overrides
two of its methods that do (de)serialization to work via
oslo.serialization functions. They deal with such occurencies much
better, for example, by providing 'str' as a fallback default.

Change-Id: I3b9e9498b155199a4e707006a0cf22cda0567c06
Related-Bug: #1935957
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the JSONType from sqlalchemy_utils is quite brittle as it only does
primitive json.dumps on values. This leads to various sorts of
StorageFailure exceptions in taskflow when, for example, an unserializable
exception bubbles up to the 'failure' field of AtomDetails.

This patch sublclasses the JSONType from sqlalchemy_utils and overrides
two of its methods that do (de)serialization to work via
oslo.serialization functions. They deal with such occurencies much
better, for example, by providing 'str' as a fallback default.

Change-Id: I3b9e9498b155199a4e707006a0cf22cda0567c06
Related-Bug: #1935957
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the sqlalchemy-utils json type instead of our own</title>
<updated>2015-09-10T00:54:11+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2015-06-04T04:55:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=598e09fb062daed36fd4f10943ce9b4381843c9e'/>
<id>598e09fb062daed36fd4f10943ce9b4381843c9e</id>
<content type='text'>
Change-Id: Ie01ea85e74f1daed6bfa5158c0faa476d06873ba
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ie01ea85e74f1daed6bfa5158c0faa476d06873ba
</pre>
</div>
</content>
</entry>
<entry>
<title>Retain atom 'revert' result (or failure)</title>
<updated>2015-07-11T01:12:48+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-06-17T18:28:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=a3fe3eb698e7bfa20b0b7fddd91c37a44c092f2c'/>
<id>a3fe3eb698e7bfa20b0b7fddd91c37a44c092f2c</id>
<content type='text'>
When a atom is reverted it can be useful to retain the
result of that 'revert' method being called, so that it
can be later analyzed (or used for various purposes) so
adjust the storage, and actions to enable it to be stored.

Change-Id: I38a9a5f3bf7550e924468bb4a86652cb8beb306c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a atom is reverted it can be useful to retain the
result of that 'revert' method being called, so that it
can be later analyzed (or used for various purposes) so
adjust the storage, and actions to enable it to be stored.

Change-Id: I38a9a5f3bf7550e924468bb4a86652cb8beb306c
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename logbook module -&gt; models module</title>
<updated>2015-07-09T00:04:35+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-06-10T01:19:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=1e3dc09453e7e179fba613b61317ebad1556b77b'/>
<id>1e3dc09453e7e179fba613b61317ebad1556b77b</id>
<content type='text'>
Since this module contains more than the logbook
class and really is a our generic models that are used
to hold the runtime structure it is more appropriate to
place it under a models module and deprecate the usage
of the old module by placing a warning there (so that
when it is imported that warning is triggered).

Change-Id: I79def5ee08f560d38f2c9dcefd0b33becc2a4d36
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since this module contains more than the logbook
class and really is a our generic models that are used
to hold the runtime structure it is more appropriate to
place it under a models module and deprecate the usage
of the old module by placing a warning there (so that
when it is imported that warning is triggered).

Change-Id: I79def5ee08f560d38f2c9dcefd0b33becc2a4d36
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix updated_at column of sqlalchemy tables</title>
<updated>2015-05-21T05:48:17+00:00</updated>
<author>
<name>Fredrik Bergroth</name>
<email>fbergroth@gmail.com</email>
</author>
<published>2015-05-20T18:24:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=e183fc9dbc101d10491a8b04bb73cfb789b8826c'/>
<id>e183fc9dbc101d10491a8b04bb73cfb789b8826c</id>
<content type='text'>
The column updated_at does not update its value after the refactoring
made in 687ec913790653f79badc8f5d656c86792e94271.

Closes-Bug: #1457309
Change-Id: Iff45f386b5dc8efc3fe82ca3b1e961a0c23d7ac7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The column updated_at does not update its value after the refactoring
made in 687ec913790653f79badc8f5d656c86792e94271.

Closes-Bug: #1457309
Change-Id: Iff45f386b5dc8efc3fe82ca3b1e961a0c23d7ac7
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to non-namespaced module imports</title>
<updated>2015-03-12T11:12:29+00:00</updated>
<author>
<name>Davanum Srinivas</name>
<email>davanum@gmail.com</email>
</author>
<published>2015-03-12T11:12:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=f6e20741638ff5ddc033a6338c374da35beb8c5d'/>
<id>f6e20741638ff5ddc033a6338c374da35beb8c5d</id>
<content type='text'>
Change-Id: I25686df6a05bf69a89b9b6be169db72eab89d32a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I25686df6a05bf69a89b9b6be169db72eab89d32a
</pre>
</div>
</content>
</entry>
<entry>
<title>Rework the sqlalchemy backend</title>
<updated>2015-02-10T05:36:44+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2014-10-02T19:39:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=687ec913790653f79badc8f5d656c86792e94271'/>
<id>687ec913790653f79badc8f5d656c86792e94271</id>
<content type='text'>
We can just simplify the usage of an sqlalchemy if we just use
(we already have our own ORM like objects anyway) sqlalchemy core
in the first place and have a very tiny layer that converts back and
forth from our very limited object model that we use in our
persistence layer.

This change makes that adjustment, which makes it easier to read
and understand the actions the sqlalchemy backend is doing when
saving, reading and updating data, and avoids yet another layer
that isn't useful for our purposes anyway.

Change-Id: I911c509f65e7845aee86fed1622eaa56970741f2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can just simplify the usage of an sqlalchemy if we just use
(we already have our own ORM like objects anyway) sqlalchemy core
in the first place and have a very tiny layer that converts back and
forth from our very limited object model that we use in our
persistence layer.

This change makes that adjustment, which makes it easier to read
and understand the actions the sqlalchemy backend is doing when
saving, reading and updating data, and avoids yet another layer
that isn't useful for our purposes anyway.

Change-Id: I911c509f65e7845aee86fed1622eaa56970741f2
</pre>
</div>
</content>
</entry>
</feed>
