aboutsummaryrefslogtreecommitdiffstats
path: root/models-interactions/model-yaml/src/test/resources/v1.0.0/test_evil.yaml
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-06-13 18:18:39 -0400
committerJim Hahn <jrh3@att.com>2019-06-17 14:53:51 -0400
commit6347aed1148a9fab8f7f45e46be71b8bdfc52924 (patch)
tree36b02ba338e7a17160347360a2dee03596bfb21d /models-interactions/model-yaml/src/test/resources/v1.0.0/test_evil.yaml
parentf59ec395bf1e41df894f884e70ff3185280668c0 (diff)
Fix more sonar issues in models: yaml to dao
Extracted common Strings into constants. Reduced "cyclomatic complexity" in some return statements. Used assertj to eliminate "log or rethrow" messages in junit tests. models-yaml models-base models-dao Change-Id: I20548d4cf5e67d085245e0d54df8ba0116ec86ec Issue-ID: POLICY-1791 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-interactions/model-yaml/src/test/resources/v1.0.0/test_evil.yaml')
-rw-r--r--models-interactions/model-yaml/src/test/resources/v1.0.0/test_evil.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/models-interactions/model-yaml/src/test/resources/v1.0.0/test_evil.yaml b/models-interactions/model-yaml/src/test/resources/v1.0.0/test_evil.yaml
index d6127fe96..499f2ca28 100644
--- a/models-interactions/model-yaml/src/test/resources/v1.0.0/test_evil.yaml
+++ b/models-interactions/model-yaml/src/test/resources/v1.0.0/test_evil.yaml
@@ -1,4 +1,4 @@
-# Copyright 2018 AT&T Intellectual Property. All rights reserved
+# Copyright 2018-2019 AT&T Intellectual Property. All rights reserved
# Modifications Copyright (C) 2019 Nordix Foundation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,7 +21,7 @@ controlLoop:
- resourceName: Bar VNF
resourceType: VF
trigger_policy: unique-policy-id-1-restart
- timeout: 1200
+ timeout: NOT_A_NUMBER
policies:
- id: unique-policy-id-1-restart