A Guide to Beginning Custom Development With the Micro Focus CX Framework

Micro Focus has long been a proponent of embracing a microservices architecture to deliver easily consumable IAM services. We are seeing this take shape in their identity solutions with the CX Architecture. (You can familiarize yourself with the github site here: Micro Focus CX Architecture.)

Why the CX project? According to Micro Focus, “the CX project bridges the gap between Micro Focus APIs and the blank page. The CX project provides a framework with a place to write your code using a solid UI architecture that provides build services, security integration, a common look and feel, and a container to run your application.”

We thought we’d give it a try ourselves and document the experience for you. With the below steps, we used an Ubuntu 64 bit workstation. For a different OS, modify the command as needed for installing the packages for your system.

·  #sudo apt-get update
·  #sudo apt-get install docker
·  #sudo apt-get install nodejs
·  #sudo apt-get install docker
·  #sudo apt-get install nodejs8
·  #sudo apt-get install git
·  #sudo apt-get install docker-compose
·  #sudo apt-get install python3
·  #sudo apt-get install npm
·  Install visual studio code for Ubunto 64bit, choose to open and restart when prompted
·  Create a directory for the CX Architecture to be imported into and run the command: (example: “mkdir ~/dev”
·  #git clone click here.
·  #sudo npm install gulp-cli -g
·  #sudo npm install gulp -D

Now go into the directory ~/dev/CX/docker container, or wherever your CX import from github was put and run the command:
·  #docker-compose -f docker-compose-self-v2.yml up –force-recreate –build   (give it a few minutes to run)

This will start up a local development service on your workstation that you can open with a browser http://localhost

You should be able to see the webpage for the self-registration 2. To modify the LDAP connection parameters modify the file: “~/dev/CX/mille_tier/plugins/users/edir.py”. I would highly recommend the limiting of rights to the user that is connecting into eDirectory from the python script to just the given container and then using driver policy to move users as needed and provision only after proper vetting.

If you want to start up a different example, use the docker-composer command but for the yml you want to run.

You are now up and running a dev environment you can start customizing. To better familiarize yourself with the framework I suggest learning the following:

·  TypeScript
·  ECMAScript
·  Python
·  nodejs

You do not have to use this technology of course. REST API endpoints are continuing to be developed that you could use with your framework of choice. But in our experience, the CX architecture delivered on its promise. You can tie into the OSP and eDirectory fairly quickly without a lot of work to customize and build an application that is specific to your needs.

We encourage reading all of the documentation from the CX site to better understand how it can help you speed time to value with custom development projects.