Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dbp-relay-base-person-connector-ldap-bundle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
digital blueprint
Relay API Gateway
dbp-relay-base-person-connector-ldap-bundle
Commits
7113096d
Unverified
Commit
7113096d
authored
3 years ago
by
Patrizio Bekerle
Browse files
Options
Downloads
Patches
Plain Diff
Fix wrong class name
parent
5728f147
No related branches found
Branches containing commit
Tags
v0.3.14
No related merge requests found
Pipeline
#64270
passed
3 years ago
Stage: test
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
src/Resources/config/services.yaml
+1
-1
1 addition, 1 deletion
src/Resources/config/services.yaml
src/Service/LDAPPersonProvider.php
+1
-1
1 addition, 1 deletion
src/Service/LDAPPersonProvider.php
tests/PersonTest.php
+3
-3
3 additions, 3 deletions
tests/PersonTest.php
with
6 additions
and
6 deletions
README.md
+
1
−
1
View file @
7113096d
...
...
@@ -2,7 +2,7 @@
[
GitLab
](
https://gitlab.tugraz.at/dbp/relay/dbp-relay-base-person-connector-ldap-bundle
)
|
[
Packagist
](
https://packagist.org/packages/dbp/relay-base-person-connector-ldap-bundle
)
This Symfony bundle contains
Base
Person
ConnectorLdap
services for the DBP Relay project.
This Symfony bundle contains
LDAP
Person
Provider
services for the DBP Relay project.
## Integration into the API Server
...
...
This diff is collapsed.
Click to expand it.
src/Resources/config/services.yaml
+
1
−
1
View file @
7113096d
...
...
@@ -5,7 +5,7 @@ services:
autoconfigure
:
true
Dbp\Relay\BasePersonBundle\API\PersonProviderInterface
:
'
@Dbp\Relay\BasePersonConnectorLdapBundle\Service\
Base
Person
ConnectorLdap
'
'
@Dbp\Relay\BasePersonConnectorLdapBundle\Service\
LDAP
Person
Provider
'
Dbp\Relay\AuthBundle\API\UserRolesInterface
:
'
@Dbp\Relay\BasePersonConnectorLdapBundle\Service\CustomUserRoles'
...
...
This diff is collapsed.
Click to expand it.
src/Service/LDAPPersonProvider.php
+
1
−
1
View file @
7113096d
...
...
@@ -7,7 +7,7 @@ namespace Dbp\Relay\BasePersonConnectorLdapBundle\Service;
use
Dbp\Relay\BasePersonBundle\API\PersonProviderInterface
;
use
Dbp\Relay\BasePersonBundle\Entity\Person
;
class
Base
Person
ConnectorLdap
implements
PersonProviderInterface
class
LDAP
Person
Provider
implements
PersonProviderInterface
{
private
$ldapApi
;
...
...
This diff is collapsed.
Click to expand it.
tests/PersonTest.php
+
3
−
3
View file @
7113096d
...
...
@@ -9,8 +9,8 @@ use Adldap\Models\User as AdldapUser;
use
Adldap\Query\Builder
;
use
Adldap\Query\Grammar
;
use
ApiPlatform\Core\Bridge\Symfony\Bundle\Test\ApiTestCase
;
use
Dbp\Relay\BasePersonConnectorLdapBundle\Service\BasePersonConnectorLdap
;
use
Dbp\Relay\BasePersonConnectorLdapBundle\Service\LDAPApi
;
use
Dbp\Relay\BasePersonConnectorLdapBundle\Service\LDAPPersonProvider
;
use
Dbp\Relay\BasePersonConnectorLdapBundle\TestUtils\DummyLDAPApiProvider
;
use
Mockery
;
...
...
@@ -22,7 +22,7 @@ class PersonTest extends ApiTestCase
private
$api
;
/**
* @var
Base
Person
ConnectorLdap
* @var
LDAP
Person
Provider
*/
private
$provider
;
...
...
@@ -40,7 +40,7 @@ class PersonTest extends ApiTestCase
],
]);
$this
->
provider
=
new
Base
Person
ConnectorLdap
(
$this
->
api
);
$this
->
provider
=
new
LDAP
Person
Provider
(
$this
->
api
);
}
public
function
testBasic
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment