-
Notifications
You must be signed in to change notification settings - Fork 27
fix wrong validation message for deep module properties #318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix wrong validation message for deep module properties #318
Conversation
|
|
f6d8f9c to
d45744c
Compare
multiapps-mta/src/main/java/org/cloudfoundry/multiapps/mta/resolvers/PropertiesResolver.java
Outdated
Show resolved
Hide resolved
multiapps-mta/src/main/java/org/cloudfoundry/multiapps/mta/resolvers/PropertiesResolver.java
Outdated
Show resolved
Hide resolved
multiapps-mta/src/main/java/org/cloudfoundry/multiapps/mta/util/NameUtil.java
Outdated
Show resolved
Hide resolved
| Arguments.of("mtad-with-placeholders-with-depth.yaml", | ||
| new Expectation(Expectation.Type.EXCEPTION, "Unable to resolve \"web-server#web-server-props#routes/0/route\"")), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we expect now an exception if have changed only the message?
31af6c2 to
3758326
Compare
theghost5800
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix commit author to be your github personal account instead internal one
| } | ||
|
|
||
| private String buildFullQualifiedPath(Reference reference) { | ||
| String raw = reference.getDependencyName() != null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why raw, can we reuse referenceKey name as before?
| // (1) Resolve references in resources - cyclic dependencies & corner cases: | ||
| Arguments.of("merged-02.yaml", new Expectation(Expectation.Type.JSON, "resolved-02.yaml.json")), | ||
| // (2) Test error reporting on failure to resolve value: | ||
| Arguments.of("merged-03.yaml", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add more failing test cases? Add tests where reference fails for arrays like described in backlog item.
5ce06f0 to
7ab7ca5
Compare
|
Squash commits before merge and after merge prepare a release of the project |
LMCROSSITXSADEPLOY-268
7ab7ca5 to
8522045
Compare
LMCROSSITXSADEPLOY-268