Skip to content

GuilhermeCamposo/demo_camel-ldap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Camel LDAP Demo

Demonstration on how to use Camel K and Camel Extensions for Quarkus to run the ldap component.

Environment

  • Tested on OCP 4.12

Installation

Parameters

Parameter Example Value Definition

token

sha256~vFanQbthlPKfsaldJT3bdLXIyEkd7ypO_XPygY1DNtQ

access token for a user with cluster-admin privileges

server

https://api.mycluster.domain.com:6443

OpenShift cluster API URL

How to run the playbook

ansible-playbook -e token=${token} -e server=${server} playbook.yml

How to run the demo

This demo has 3 different implementations. Each one of them will require different steps. For more info:

How to test

All the examples will expose the same REST interface that is described in the open-api schema created using Apicurito. So use curl to list objects saved on the LDAP container.

Example calls:

  • Query specific user:

LDAP_ROUTE=$(oc get route ldap-route -n camel-k-ldap -o jsonpath='{.spec.host}')

curl --location "http://$LDAP_ROUTE/ldap?query=cn%3Duser01"

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages