Versions Compared

Key

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

The configuration file for the component configuration settings an individual component’s configurations are stored in the components comps directory:

Code Block
<instance<working guid>directory>/configurationsconfig/componentscomps/<component guid>.json/

The Each directory contains a unique <component guid> components.json file for each component to store the following configurations:

...

Commit ID - the commit id the component is set to run on. If empty, component is set to run in DEVELOPMENT mode.

...

Description - the component description.

...

, storing the component card fields, and two directories storing the component’s project files - dev and run:

Expand
titlecomponents.json stores the information entered on the component card - this is NOT checked into Git

component.json stores the information entered on the component card :

  • description - the component description.

  • fields - the custom fields and values on the component card (vales are always encrypted).

  • guid - the component’s assigned unique identifier.

...

  • name - the component name.

...

Repo - the URL of the connected upstream repository storing the component source code.

  • sources - stores the component guid of all the connected source components.

...

  • tags - list of assigned tags.

  • template - true or false indicating if the component is an iNTERFACEWARE template

...

  • component

...

  • .

An example component file may look like this:

Code Block
languagejson
{
    "
commit_id
description": "
91ce29f
HL7 map example",
    "
description
fields": {
"#demo
 
#hl7
 
#custom
 
#filter
 
This
 
feeds
 
from
 
a
 
source queue into a destination queue.",
"facilityFilter": "517D846FAA694B3A09730CFC36186EDA",
        "
guid
msgType": "
HL7Map_im0dplROqZ3REx"
517D846FAA694B3A09730CFC36186EDA"
    },
    "
name
guid": "
HL7 Mapping
HL7Mapper_AmgBIzKDrHSJUL",
    "
repo
name": "
git@bitbucket.org:demo/hl7map.git
HL7 Mapper",
    "sources": [
        "
LLPListene
HL7Server_
cVedYEj07rP21C
JBmyF2YKFSY3K7"
    ],
    "
template
tags": [
   
false,
     "
writable": true }
#demo"
    ],
    "template": false
}
Expand
titledev and run - contains a Component's Translator project files used to run the component

There are two directories with the same structure, used by Iguana to run the components according to the configuration:

  • The dev directory contains a component’s Translator project files and configurations when the component is set to run in development mode.

  • The run directory contains a component’s Translator project files and configurations when the component is set to run from a specific selected commit.

See Choosing the code to run for your component.

The folders will contain:

  • main.lua along with any other files or dependencies included in the project (ex. VMD, VDB, Lua files, etc.)

  • config.json - config.json stores the custom fields and default values set in the Translator.

  • .git folder - directory that stores all the data, history, and configurations required for Git to manage version control of the component’s repository.