Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Zuul: Application Configuration Management

DZone's Guide to

Zuul: Application Configuration Management

Learn how to quickly get up and running with this open source application that integrates into your MuleSoft applicatiotn.

· Integration Zone ·
Free Resource

Hi Muleys, I am here to explain a little bit about Zuul-MuleSoft.

What Is the Problem?

It is a headache when you have to lead with a lot of property files and even worse when you have many environments.

What Is Zuul?

Zuul is an open source web application which centralizes and manages property files configuration.

What Can I Do With Zuul?

  • Create environments.
  • Upload property files.
  • Create new entries.
  • Clone property files between environments.
  • Group property files in folders.
  • Get encryption support.

Steps to Install Zuul

Zuul can integrate with Google, Yahoo, LDAP, and Active Directory.

Here are the steps to set up Zuul against LDAP.

1. Install OpenLDAP.

2. Load this file into the LDAP.

3. Install MySQL:

yum install-y mysql-server mysql-devel
chkconfig mysqld on
service mysqld start

4. Create a Zuul database.

5. Download Zuul.

6. Set these parameters at:

Unix: %TOMCAT_HOME%/bin/catalina.sh

export JAVA_OPTS=-Dspring.profiles.active="security-ldap"

Windows: %TOMCAT_HOME%/bin/catalina.bat

set JAVA_OPTS=-Dspring.profiles.active="security-ldap"

7. Add a database driver into %TOMCAT_HOME%/lib.

8. Copy ldap.properties and zuul-data-config.properties from zuul/WEB-INF/classes/examplesto %TOMCAT_HOME%/lib.

9. Modify ldap.properties

ldap.properties

ldap.url=ldap://localhost:389
ldap.username=cn=Manager,dc=example,dc=com
ldap.password=p@ssw0rd
ldap.dn.ROLE_SYSTEM_ADMIN=CN=Zuul System Admins,OU=Groups,DC=acme,DC=com
ldap.dn.ROLE_ADMIN=CN=Zuul Admins,OU=Groups,DC=acme,DC=com
ldap.dn.ROLE_USER=CN=Zuul Users,OU=Groups,DC=acme,DC=com
ldap.group.search.base=OU=Groups,DC=acme,DC=com
ldap.group.role.attribute=entryDN
ldap.group.filter=member={0}
ldap.user.search.base=OU=Users,DC=acme,DC=com
ldap.user.search.filter=uid={0}

10. Start Tomcat and your Zuul application will create the database tables using liquibase.

Now, you have a Zuul application ready to use.

Create a property in the dev environment named myproperty. Now run an MVN test and you will be up and running with Zuul!

Build and deploy API integrations 7x faster. Try the Cloud Elements 100% RESTful platform for 30 days free. Access your trial here.

Topics:
zuul ,mulesoft ,integration

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}