MyApplication Configuration Package

The Archetype

We can view the test archetype for MyApplication in the genesis-{version}

genesisarchetypesMyApplication directory. The archetype appears as follows:

# Static properties
CommonProperty=@Common.Name@
EnterpriseProperty=@Enterprise.Name@

# Logical Properties
ServiceProperty=@Service.Name@
EnvironmentProperty=@Environment.Name@
ApplicationProperty=@Application.Name@

# Physical Properties
DatacentreProperty=@Datacentre.Name@
RackProperty=@Rack.Name@
ServerProperty=@Server.Name@

The Build

Open the command prompt and navigate to the Genesis-{version}genesis directory. Run the build tool, this time specifying the archetype property values:

genesis.cmd MyEnterprise MyDatacentre MyRack MyServer MyService MyEnvironment MyApplication

The Application Configuration Package

A successful build creates a new directory in the Genesis root called build with the following directory structure:

buildMyEnterpriseMyServiceMyEnvironmentMyDatacentreMyRackMyServerMyApplication

The new MyApplication.cfg file which holds the Static, Logical, and Physical properties specified for the application configuration package is copied to the MyApplication folder, and appears as follows:

# Static properties
CommonProperty=CommonProperty
EnterpriseProperty=MyEnterprise

# Logical Properties
ServiceProperty=MyService
EnvironmentProperty=MyEnvironment
ApplicationProperty=MyApplication

# Physical Properties
DatacentreProperty=MyDatacentre
RackProperty=MyRack
ServerProperty=MyNode