Versions Compared

Key

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

...

Code Block
languagexml
themeEclipse
titleAccessing User-defined Configuration Elements
linenumberstrue
<Query>#
<SetResponseData>Query:
	SetResponseData:
		Key: <Key>MessageMessage.Value.Configs</Key> 
  <Value>Configs
		Value: [:Project.Repository.Location:]</Value>
</SetResponseData>
</Query>


Code Block
languagexml
themeEclipse
titleUser-defined Configuration Result
linenumberstrue
<Configs>rel-104/resources</Configs>

...

ConfigurationDescription

sff.server.port

Ports on which the A-Stack must be started. Port number are comma separated list of numbers. The configuration parameter value can be

read dynamically using Template Processing Macro - [:sff.server.port:] within your modeling environment.

  1. Specifying the port numbers is optional. If not server ports are specified; A-Stack starts to connect on port: 80, 443 and 8080. All three ports are tried and started if available.
  2. If you specify port 0; The engine is started on a dynamic port. The value of the port on which the server is started is not made available to users.
  3. You can also start of with disabling ports by specifying value none. For example: <sff.server.port>none</sff.server.port>. 

Starting off with ports disabled is important when there are multiple subscribers / clients that try to connect to server. In this case the server will throw facetId not found especially when the instances are still getting deployed. As a practice you can enable the port towards the end by deploy a custom Message Facet that enables the desired ports. For example deploy this FacetInstance towards the end of your auto deploy in <sff.auto.deploy>...;Enable-Ports/Deploy</sff.auto.deploy>

Code Block
languagexml
themeEclipse
titleUser-defined Configuration Result
linenumberstrue
<NewFacetInstance#
NewFacetInstance(fid=: "echo", type=: "sffMessageFacet">):
 <OnActivate>
   <Process>
      <Server Port="8080"/> <!-- Enable	OnActivate:
		Process:
			Server(Port: 8080): #Enable Port 8080 for business... -->
   </Process>
 <OnActivate>
</NewFacetInstance>


sff.local.deploy

List of projects or packages that must be deployed automatically when the A-Stack is started.

sff.log.broadcast.all

Endpoint URL on which the all the log messages can be broadcast.

sff.log.broadcast.message

Types of message output when doing a broadcast of messages. Default is XML. Possible values are JSON or XML.

ConfigurationAdmin

Setting the configuration administration of the log broad cast. Possible values are:

service.pid="sff.log"sff.log="loud"

...