From 5eefae0a2021bb3b3fcc10223d26a9b31784edee Mon Sep 17 00:00:00 2001 From: "gregory.hayes" Date: Wed, 13 Jan 2021 20:35:46 +0000 Subject: Rename keywords used as column names in API and PAP JPA Using keywords as column names in JPA models is causing syntax errors during auto generation of DDL The errors are visible in the policy api and pap docker logs on startup This review renames the relevant columns Issue-ID: POLICY-2670 Signed-off-by: gregory.hayes Change-Id: I52a3156461940465c3945841c69a04fcb2f90117 --- .../onap/policy/models/tosca/simple/concepts/JpaToscaProperty.java | 4 ++-- .../onap/policy/models/tosca/simple/concepts/JpaToscaTrigger.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'models-tosca/src/main/java/org') diff --git a/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaProperty.java b/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaProperty.java index 442063933..cd2961637 100644 --- a/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaProperty.java +++ b/models-tosca/src/main/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaProperty.java @@ -3,7 +3,7 @@ * ONAP Policy Model * ================================================================================ * Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved. - * Modifications Copyright (C) 2019-2020 Nordix Foundation. + * Modifications Copyright (C) 2019-2021 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,7 +83,7 @@ public class JpaToscaProperty extends PfConcept implements PfAuthorative