summaryrefslogtreecommitdiffstats
path: root/policy-utils/src/main/java/org
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-02-04 19:24:26 -0600
committerjhh <jorge.hernandez-herrero@att.com>2020-02-04 19:24:26 -0600
commita24aa1615648b0698bb662f64915e8ba2d520e03 (patch)
treefd2c141aad4446404b89facc23d3445518c637f8 /policy-utils/src/main/java/org
parent06a1c3040a4a1a88654a91761fda8967806c9fd3 (diff)
tackle few comments from DomainMaker review
Issue-ID: POLICY-2345 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I325d0c4892d46dad72303e3dcbc38238a029a725
Diffstat (limited to 'policy-utils/src/main/java/org')
-rw-r--r--policy-utils/src/main/java/org/onap/policy/drools/policies/DomainMaker.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/policy-utils/src/main/java/org/onap/policy/drools/policies/DomainMaker.java b/policy-utils/src/main/java/org/onap/policy/drools/policies/DomainMaker.java
index 6e1e0881..0097dff6 100644
--- a/policy-utils/src/main/java/org/onap/policy/drools/policies/DomainMaker.java
+++ b/policy-utils/src/main/java/org/onap/policy/drools/policies/DomainMaker.java
@@ -159,8 +159,8 @@ public class DomainMaker {
*/
public boolean registerValidator(@NonNull ToscaPolicyTypeIdentifier policyType) {
//
- // A known schema is an schema embedded in a .jar in the classpath under the schemas/
- // resource directory matching the following syntax: schemas/<policy-type>.schema.json.
+ // A known schema is one that embedded in a .jar in the classpath as a resource
+ // matching the following syntax: <policy-type-name>-<policy-type-version>.schema.json.
//
String schema =
ResourceUtils