Change the name of the script that loads product data into CAS, and then modify properties to make your application compatible with the Assembler and the assembler-authoring reference application.
Change the name of the script
load_baseline_testdata.bat|sh
(in\apps\Discover\control\)
toload_data.bat|sh.
Make your application compatible with the Assembler and the assembler-authoring reference applications. To do this, follow these steps:
Open the file
assembler.properties
in\ToolsAndFrameworks\11.2.0\reference\discover-electronics\WEB-INF.
Change the values of these properties as required by your application:
workbench.app.name=Discover mdex.host=localhost mdex.port=15000
Note
Oracle recommends that you change the prefix "Discover-" in your application name, as well as in property and variable names, to a prefix that identifies your application. The prefix that identifies your application cannot contain spaces and must be used consistently throughout your application's configuration.
Save your changes and close
assembler.properties
.Note
For a complete list of the properties in
assembler.properties
that you must set, see Configure Assembler properties.
Open the file
assembler-context.xml
in\ToolsAndFrameworks\11.2.0\reference\discover-electronics\WEB-INF.
Provide values specific to your application for the
appName
,host
, andport
properties of themdexResource
bean.<bean id="mdexResource" scope="request" class="com.endeca.infront.navigation.model.MdexResource"> <property name="appName" value="${workbench.app.name}" /> <property name="host" value="${mdex.host}" /> <property name="port" value="${mdex.port}" /> <property name="sslEnabled" value="${mdex.sslEnabled}" /> <property name="recordSpecName" value="common.id" /> </bean>