-
Notifications
You must be signed in to change notification settings - Fork 190
[SYNCOPE-1804] Introducing syncope-core-persistence-neo4j #628
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
Conversation
|
||
List<PlainAttrValue> anyAttrValues = new ArrayList<>(); | ||
anyAttrValues.add(anyUtils.newPlainAttrValue()); | ||
switch (anyAttrValue) { |
Check warning
Code scanning / CodeQL
Dereferenced variable may be null
} | ||
|
||
protected void getQueryForCustomConds( | ||
final AnyTypeKind kind, |
Check notice
Code scanning / CodeQL
Useless parameter
|
||
protected void getQueryForCustomConds( | ||
final AnyTypeKind kind, | ||
final SearchCond cond, |
Check notice
Code scanning / CodeQL
Useless parameter
protected void getQueryForCustomConds( | ||
final AnyTypeKind kind, | ||
final SearchCond cond, | ||
final Map<String, Object> parameters, |
Check notice
Code scanning / CodeQL
Useless parameter
final AnyTypeKind kind, | ||
final SearchCond cond, | ||
final Map<String, Object> parameters, | ||
final boolean not, |
Check notice
Code scanning / CodeQL
Useless parameter
TextStringBuilder query = new TextStringBuilder("MATCH (n) WHERE "); | ||
|
||
plainSchemaDAO.findById(cond.getSchema()).ifPresentOrElse( | ||
schema -> fillAttrQuery( |
Check notice
Code scanning / CodeQL
Useless parameter
PolicyUtils getInstance(Policy policy); | ||
public PolicyUtils getInstance(final Policy policy) { | ||
PolicyType type; | ||
if (policy instanceof AccountPolicy) { |
Check notice
Code scanning / CodeQL
Chain of 'instanceof' tests
|
||
protected abstract void relationshipFieldMatches(PropertyDescriptor pd, AnyCond cond, PlainSchema schema); | ||
|
||
protected boolean matches(final Any<?> any, final AnyCond cond, final boolean not) { |
Check notice
Code scanning / CodeQL
Confusing overloading of methods
} | ||
} | ||
|
||
protected Pair<String, String> getQuery( |
Check notice
Code scanning / CodeQL
Confusing overloading of methods
private final Map<String, Driver> domains = new ConcurrentHashMap<>(); | ||
|
||
@Override | ||
public Map<String, Driver> getDomains() { |
Check notice
Code scanning / CodeQL
Exposing internal representation
d2834a8
to
4376a9e
Compare
This PR is just the first step to have Syncope Core fully running on Neo4j.
Missing items include at least:
Keymaster: domain, self-keymaster, defaultContent.xml