summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gauld <agauld@att.com>2019-08-13 20:21:30 +0000
committerAndrew Gauld <agauld@att.com>2019-08-13 20:23:03 +0000
commit69cb115c8bde2fe33e7611681dd9b306eac790c7 (patch)
treee03cb4ea084342b460db93afea43e55f870aa2e6
parent718519ecc972236928beb0f5a51b0d7ba13e7c8f (diff)
Fix Format class to say description is optional
Issue-ID: DCAEGEN2-1723 Change-Id: I0d279b3b9e7c63a3299da0366b89e8f7ab004edf Signed-off-by: Andrew Gauld <agauld@att.com>
-rw-r--r--dcae-cli/ChangeLog.md4
-rw-r--r--dcae-cli/dcae_cli/_version.py2
-rw-r--r--dcae-cli/dcae_cli/catalog/mock/tables.py2
-rw-r--r--dcae-cli/pom.xml2
4 files changed, 7 insertions, 3 deletions
diff --git a/dcae-cli/ChangeLog.md b/dcae-cli/ChangeLog.md
index ffeaf80..707e9a8 100644
--- a/dcae-cli/ChangeLog.md
+++ b/dcae-cli/ChangeLog.md
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
+## [2.11.3]
+
+* Fix Format class definition of "description" to match JSON schema
+
## [2.11.2]
* Upgrade to use docker 4.x.x from docker-py 1.x.x
diff --git a/dcae-cli/dcae_cli/_version.py b/dcae-cli/dcae_cli/_version.py
index 34e254c..5f3d51b 100644
--- a/dcae-cli/dcae_cli/_version.py
+++ b/dcae-cli/dcae_cli/_version.py
@@ -19,4 +19,4 @@
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
# -*- coding: utf-8 -*-
-__version__ = "2.11.2"
+__version__ = "2.11.3"
diff --git a/dcae-cli/dcae_cli/catalog/mock/tables.py b/dcae-cli/dcae_cli/catalog/mock/tables.py
index 8278190..0e10b79 100644
--- a/dcae-cli/dcae_cli/catalog/mock/tables.py
+++ b/dcae-cli/dcae_cli/catalog/mock/tables.py
@@ -118,7 +118,7 @@ class Format(Base):
name = Column(String(), nullable=False)
version = Column(String(), nullable=False)
- description = Column(Text(), nullable=False)
+ description = Column(Text(), nullable=True)
spec = Column(Text(), nullable=False)
when_added = Column(DateTime, default=datetime_now, nullable=True)
diff --git a/dcae-cli/pom.xml b/dcae-cli/pom.xml
index 3845c47..bfc1b6f 100644
--- a/dcae-cli/pom.xml
+++ b/dcae-cli/pom.xml
@@ -27,7 +27,7 @@ limitations under the License.
<groupId>org.onap.dcaegen2.platform.cli</groupId>
<artifactId>dcae-cli</artifactId>
<name>dcaegen2-platform-cli-dcae-cli</name>
- <version>2.11.2</version>
+ <version>2.11.3</version>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>