Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Objective

The Manage pillar is the second pillar in the SOAJS Dashboard. This pillar allows you to create products and tenants, and manage their permissions. 

This space will show you the 5 modules within the Manage pillar:

Productization Anchorproductizationproductization

The productization module allows you to add a new product and package. 

Let's see a step by step approach on how to do that.

Add a new product Anchorproductproduct

From the dashboard, go to Manage pillar → Productization

Once there, you should see the default Dashboard Product with two packages in it

Image Removed

Click on "Add New Product" and a modal will pop up. Here, fill in the product code and product name for your product:

Image Removed

You should now see an empty product:

Image Removed

Add a new package Anchorpackagepackage

Now that you've added a new product, go ahead and add a new package to this product by clicking "Add New Package"

Image Removed

Similarly to the above, give your package a code and a name and click "Add Package":

Image Removed

Note
titleRecap

So far, we've added a new product and added a new package to that product. Before continuing, we have to edit the ACL of the package.

The ACL is what will allow or disallow access to certain services or APIs within services.

Edit package ACL Anchorpackaclpackacl

Click on "Edit Package ACL" and you will be taken to this screen:

Image Removed

Check all the boxes of the services you want to allow this package to access. These ACL also work per environment, meaning if you have deployed another environment called DEV, you can allow this package to access a service in DEV but disallow access to the service in DASHBOARD.

It is recommended to create a new environment different that the DASHBOARD environment to deploy services there. To learn more about deploying new environments, check out the Deploy Pillar page.

Note
titleNote

When you check a service, it will expand and you will see 2 radio button: public and private.

Image Removed

Selecting public will allow access to the service/API even if the user is not logged in while selecting private enforces that servce/API access is only allowed for logged in users.

Multi-tenancy Anchormultimulti

We've created a new product, created a new package within that product, and configured the package with the appropriate access rights. This recipe is called an application. Now we need to create the tenant that will use this application.

Add a new tenant Anchortenanttenant

Go to Manage → Multi-Tenancy and click "Add Tenant"

Image Removed

Here you will be prompted to create either a Client Tenant or a Product Tenant.

For example, if you have a frontend that will communicate with your services, it is good practice to create the frontend tenant under Product Tenant, and if you have a developer/DevOp/TechOp that requires access to the services, it is good practice to create them under Client Tenants.

After you choose the tenant role, go ahead and fill in the tenant name and the tenant email and click "Add Tenant". Now click on the tab where you created your tenant and you should see the following:

Image Removed

Add new application Anchorappapp

Now that we have created our tenant, let's assign the application we created earlier to it. Remember that an application is the combination of a product, a package, and package ACL.

Click on the "+" near the tenant name, then click "Add New Application":

Image Removed

Select the product package that you created earlier and click "Add Application:

Image Removed

Generate a tenant external key Anchorkeykey

We still need to create an external key so that it can be used in the header of your requests.

Click on the "+" near the package name and press "Add New Key" and a new private key will be generated:

Image Removed

Now click on the key itself and click on the External Keys tab and click "Add New Application External Key"

Image Removed

Pick an expiry date if you want your external key to expire, or do not select a date to make you key live forever. Moreover, you can add additional security features such as device security and geolocation security.

Once you are done, click "Submit" and you will see your generated key:

Image Removed

Now copy this key and place it in the header of your requests and you should be able to successfully access your services/APIs!

Configure services config per tenant Anchorconfigureconfigure

Now that we have added a tenant, we can configure its services config, if required. Click here to learn more about services config.

Click on the "+" near the application name, then click on the Tenant Application Key, then on the Key Environment Configuration tab.

Here you will see a list of available environment where we can configure the services config.

Let's select the dev environment by clicking on the pencil near the environment name.

Now we can fill in the config object with any key:value we want to assign to all users of this tenant.

Image Removed

Tenant Organization Chart Anchortenantcharttenantchart

The tenant organization chart module allows you to manage the users of all available tenants, if your logged in tenant has permission to do so.

Image Removed

To learn more about user registration, check out the URAC page.

My Organization Chart Anchororgchartorgchart

My organization chart will allow you to manage the users only of the logged in tenant.

Image Removed

To learn more about user registration, check out the URAC page.

Settings Anchorsettingssettings

The Settings module will allow you to manage the settings of the logged in tenant.

Image Removed

Introduction


Decide who has access to what and where.

  1. Productize and Package access level recipes to multiple services/daemons in different environments.
  2. Turns on multitenancy, secure your services and make them behave differently based on the tenant invoking their APIs.
  3. Create and Manage Tenants, generate keys for them and Configure Private Inputs in different environments.
  4. Manage your Organization Charts.
  5. Configure and Update the Settings of your SOA Cloud.


Productization

Create and Package your ACL recipes

Multitenancy

Create and Manage Tenants, secure them with keys and assign Productized ACL Packages to them.

Tenant Organization Chart

Administer the users and groups of all the tenants in your application.




My Organization Chart

Administer the users and groups of your tenant.

Settings

Update and modify the configure of the tenant you are logged in with.