Commit eb301a26 authored by Adrien's avatar Adrien Committed by GitHub

feat(java 11) rest api dependency - pom warning (#1559)

* Refactor the PagePropertyBuilder into a RestApiBuilder to in clude pom
file validation
* Fix the regex for the path unicity template: if we are looking for
'.pathTemplate=resourceName' in the property file, then
'.pathTemplate=resourceName2' should not be returned.
* Add markers for java11 compliance dependency update inside the pom
file
* Add markers on the Bonita project when there is errors on rest APIs

closes [BST-27](https://bonitasoft.atlassian.net/browse/BST-27)
parent f6a64b77
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -592,7 +592,7 @@ public class Repository implements IRepository, IJavaContainer, IRenamable { ...@@ -592,7 +592,7 @@ public class Repository implements IRepository, IJavaContainer, IRenamable {
} }
for (final IRepositoryStore<? extends IRepositoryFileStore> store : getAllStores()) { for (final IRepositoryStore<? extends IRepositoryFileStore> store : getAllStores()) {
IFolder container = store.getResource(); IFolder container = store.getResource();
if (Objects.equals(resource.getParent(), container)) { if (Objects.equals(resource.getParent(), container) || Objects.equals(store.getName(), "restAPIExtensions")) {
IRepositoryFileStore fStore = store.getChild(resource.getName()); IRepositoryFileStore fStore = store.getChild(resource.getName());
if (fStore != null) { if (fStore != null) {
return fStore; return fStore;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment