Version:

MarketplaceSupport

Application Model Templates

The application model include a series of templates that determine the structure of the generated data collection lines.


HR Model Templates

HR model

The Human Resource application model template allows the generation of collect lines and silos to load organizations hierarchy, identities and organizations managers.

Please follow the steps below to configure your human resources data model.

Silo Settings

When creating the application model base on the HR template it is first necessary to configure the required elements in the Silo tab:

  • The silo type
  • The dependencies if needed
  • The location of the importfiles and the iteration if Files iteration if you want to load several files
  • The constants

Mandators silo settings

In order to correctly configure the following elements are mandatory:

  • Repository code
  • Repository name

Discovery Mappings

When configuring a Human resource type template for an application mode the following attributes are necessary:

  • Organization type reference: loads the organization type (ex: Direction, Service...)
  • Organization link type reference: loads the organization link type (ex: Hierarchical...)
  • Organization: loads the organization (ex: DCOM, DSI, DRH...)
  • Title reference: loads the civility (ex: Mr, Mrs...)
  • Job title reference: loads the job title code (ex: RD-Ing, DirCom...)
  • Identity: loads the identities (ex: employees, contractors...)
  • Manager (Organization): loads the organization managers

Organization Type Reference

To create an organization type mapping go to the Mapping tab and add a mapping of type Organization type reference.

Organization type mapping

The mandatory attributes to map are:

  • Organization type code
  • Organization type displayname

To create an organization link type mapping go to the Mapping tab and add a mapping of type Organization link type.

Organization link type mapping

The mandatory attributes to map are:

  • Organization link type code
  • Organization link type displayname

Organization

To create an organization mapping go to the Mapping tab and add a mapping of type Organization.

Organization mapping

The mandatory attributes to map are:

  • Organization code
  • Organization displayname
  • Organization type

Title Reference (Civility)

To create a title reference mapping go to the Mapping tab and add a mapping of type Title reference.

Title reference mapping

The mandatory attribute mapping to link are:

  • Title code
  • Title displayname

Job Title Reference

To create a job title reference mapping go to the Mapping tab and add a mapping of type Job title reference.

Job title mapping

The mandatory attributes to map are:

  • Job title code
  • Job title displayname

Identity

To create a job title reference mapping go to the Mapping tab and add a mapping of type Identity.

Identity mapping

The mandatory attributes to map are:

  • The repository code
  • The identity HR code
  • The identity surname
  • The identity given name
  • The identity internal flag

Manager (Organization)

To create an organization manager mapping go to the Mapping tab and add a mapping of type Manager (Organization).

Manager mapping: dynamic

The mandatory attributes to map are:

In the dynamic mapping tab:

  • Organization code
  • Manager HR code
  • Manager's expertise domain attribute

In the static mapping tab:

  • Action to do if expertise domain does not exist: Add expertise domain in database

Manager mapping: static

Associations

After creating the needed mappings in the discoveries files the next step is to associate theses mappings with the application model entities.

For each application model entity you have to choose the discovery file that contains the mappings and choose the mapping corresponding to the entity type

Application model associations

Generate Files

The RH template model will generate the following files

Application model associations

  • collectors/bw_collecttemplates/new_appmodel/hr.javascript
  • collectors/bw_collecttemplates/new_appmodel/hr_identities.collector
  • collectors/bw_collecttemplates/new_appmodel/hr_organization.collector
  • collectors/bw_collecttemplates/new_appmodel/hr_organization_managers.collector
  • collectors/bw_collecttemplates/new_appmodel/references/hr_job_titles.collector
  • collectors/bw_collecttemplates/new_appmodel/references/hr_organization_link_type.collector
  • collectors/bw_collecttemplates/new_appmodel/references/hr_organization_types.collector
  • collectors/bw_collecttemplates/new_appmodel/references/hr_references.collector
  • collectors/bw_collecttemplates/new_appmodel/references/hr_titles.collector
  • collectors/bw_collecttemplates/new_appmodel/silo_hr.collector
  • silos/bw_collecttemplates/new_appmodel/new_appmodel_master.silo

Repository Template

Repository model

The repository template for the application model allows the generation of the necessary data collection lines and silos to load repositories, accounts, groups and groups members.

Please follow the steps below to configure your repository data model.

Silo Settings

When creating the application model base on the HR template it is first necessary to configure the required elements in the Silo tab:

  • The silo type
  • The dependencies if needed
  • The location of the importfiles and the iteration if Files iteration if you want to load several files
  • The constants

Mandatory Silo Settings

In order to correctly configure the following elements are mandatory:

  • Repository code
  • Repository name

Discovery Mappings

Repository application model require the following entity mappings

  • Account : to load repository accounts
  • Group : to load repository groups and groups membership

Account

To create an account mapping go to the Mapping tab and add a mapping of type Account.

Account mapping

The mandatory attributes to map are:

  • The attribute containing repository code
  • The account identifier

Group

To create a group mapping go to the Mapping tab and add a mapping of type Group.

Group mapping

The mandatory attributes to map are:

  • The attribute containing repository code
  • The group code
  • The group member

Associations

After creating the needed mappings in the discoveries files the next step is to associate theses mappings with the application model entities.

For each application model entity you have to choose the discovery file that contains the mappings and choose the mapping corresponding to the entity type

Application model associations

Variables

In addition it can be necessary to configure some variables specific to repositories.

  • Repository custom type: To be configured when collecting data belong to the same type of application.

Example: collecting active directory domains, this variable should have 'AD' as value, it is mandatory to resolve multi domains groups membership

Generate Files

The repository template model will generate the following files

Application model files

  • collectors/bw_collecttemplates/new_appmodel/repository.javascript
  • collectors/bw_collecttemplates/new_appmodel/repository_account.collector
  • collectors/bw_collecttemplates/new_appmodel/repository_group.collector
  • collectors/bw_collecttemplates/new_appmodel/silo_repository.collector
  • silos/bw_collecttemplates/new_appmodel/new_appmodel_master.silo

Rights Template

Right model

Right application model template allows you to generate collect lines and silo to be able to load accounts, permissions and rights.

Please follow the steps below to configure your human resources data model.

Silo Settings

When creating the application model base on the HR template it is first necessary to configure the required elements in the Silo tab:

  • The silo type
  • The dependencies if needed
  • The location of the importfiles and the iteration if Files iteration if you want to load several files
  • The constants

Mandators silo settings

In order to correctly configure the following elements are mandatory:

  • Repository code
  • Repository name

Discovery mappings

Right application model requires the following entity mappings:

  • Accounts: to load repository accounts
  • Permissions: to load application permissions
  • Rights: to load rights

Account

To create an account mapping go to the Mapping tab and add a mapping of type Account.

Account mapping

The mandatory attributes to map are:

  • The attribute containing repository code
  • The account identifier

Permission

To create a permission mapping go to the Mapping tab and add a mapping of type Permission.

Permission mapping

The mandatory attributes to map are:

  • The application identifier
  • The permission type
  • The permission key

To create a right mapping go to the Mapping tab and add a mapping of type Right.

Right mapping

The mandatory attributes to map are:

  • The attribute containing application code
  • The attribute containing list of permission identifiers
  • The attribute containing the account or group identifier

Associations

After the creation of the needed discovery mappings in the discoveries files it is time to associate those mappings with the application model entities

For each application model entity you have to choose the discovery file that contain the mapping and after that choose the mapping corresponding to that entity type

Application model associations

Variables

In addition it can be necessary to configure some variables specific to repositories.

  • Repository custom type: To be configured when collecting data belong to the same type of application.

Example: collecting active directory domains, this variable should have 'AD' as value, it is mandatory to resolve multi domains groups membership

Generate files

The right application model will generate the following files

Application model files

  • collectors/bw_collecttemplates/new_appmodel/right.javascript
  • collectors/bw_collecttemplates/new_appmodel/right_account.collector
  • collectors/bw_collecttemplates/new_appmodel/right_permission.collector
  • collectors/bw_collecttemplates/new_appmodel/right_rights.collector
  • collectors/bw_collecttemplates/new_appmodel/silo_right.collector
  • silos/bw_collecttemplates/new_appmodel/new_appmodel_master.silo

IN THIS PAGE