Fix Format class to say description is optional 83/93483/1
authorAndrew Gauld <agauld@att.com>
Tue, 13 Aug 2019 20:21:30 +0000 (20:21 +0000)
committerAndrew Gauld <agauld@att.com>
Tue, 13 Aug 2019 20:23:03 +0000 (20:23 +0000)
Issue-ID: DCAEGEN2-1723
Change-Id: I0d279b3b9e7c63a3299da0366b89e8f7ab004edf
Signed-off-by: Andrew Gauld <agauld@att.com>
dcae-cli/ChangeLog.md
dcae-cli/dcae_cli/_version.py
dcae-cli/dcae_cli/catalog/mock/tables.py
dcae-cli/pom.xml

index ffeaf80..707e9a8 100644 (file)
@@ -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
index 34e254c..5f3d51b 100644 (file)
@@ -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"
index 8278190..0e10b79 100644 (file)
@@ -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)
index 3845c47..bfc1b6f 100644 (file)
@@ -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>