Skip to content

Commit afea8a2

Browse files
committed
Revert "remove unused resources"
This reverts commit 6267830.
1 parent 03266ad commit afea8a2

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed

lightblue-ldap-integration-test/src/test/resources/lightblue-metadata.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,11 @@
77
"name": "ldap",
88
"clazz": "com.redhat.lightblue.metadata.ldap.parser.LdapDataStoreParser"
99
}
10+
],
11+
"propertyParsers": [
12+
{
13+
"name": "ldap",
14+
"clazz": "com.redhat.lightblue.metadata.ldap.parser.LdapPropertyParser"
15+
}
1016
]
1117
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
Copyright 2014 Red Hat, Inc. and/or its affiliates.
3+
4+
This file is part of lightblue.
5+
6+
This program is free software: you can redistribute it and/or modify
7+
it under the terms of the GNU General Public License as published by
8+
the Free Software Foundation, either version 3 of the License, or
9+
(at your option) any later version.
10+
11+
This program is distributed in the hope that it will be useful,
12+
but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
GNU General Public License for more details.
15+
16+
You should have received a copy of the GNU General Public License
17+
along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
*/
19+
package com.redhat.lightblue.metadata.ldap.parser;
20+
21+
import com.redhat.lightblue.metadata.parser.MetadataParser;
22+
import com.redhat.lightblue.metadata.parser.PropertyParser;
23+
24+
/**
25+
* {@link PropertyParser} implementation for LDAP.
26+
*
27+
* @author dcrissman
28+
*/
29+
public class LdapPropertyParser <T> extends PropertyParser<T> {
30+
31+
public Object parse(String name, MetadataParser<T> p, T node) {
32+
// TODO Auto-generated method stub
33+
return null;
34+
}
35+
36+
public void convert(MetadataParser<T> p, T emptyNode, Object object) {
37+
// TODO Auto-generated method stub
38+
39+
}
40+
41+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"copyright": [
3+
"Copyright 2014 Red Hat, Inc. and/or its affiliates.",
4+
"This file is part of lightblue.",
5+
"This program is free software: you can redistribute it and/or modify",
6+
"it under the terms of the GNU General Public License as published by",
7+
"the Free Software Foundation, either version 3 of the License, or",
8+
"(at your option) any later version.",
9+
"This program is distributed in the hope that it will be useful,",
10+
"but WITHOUT ANY WARRANTY; without even the implied warranty of",
11+
"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the",
12+
"GNU General Public License for more details.",
13+
"You should have received a copy of the GNU General Public License",
14+
"along with this program. If not, see <http://www.gnu.org/licenses/>."
15+
],
16+
"id": "#searchscope",
17+
"$schema": "http://json-schema.org/draft-04/schema#",
18+
"type": "string",
19+
"enum": [
20+
"base_only",
21+
"one_level_deep_only",
22+
"all",
23+
"subtrees_only"
24+
]
25+
}

0 commit comments

Comments
 (0)