The following process
updates the content from a SAS Web Infrastructure Platform Application
Metadata Creation template to work with a new SAS 9.4 Enterprise BI
server by re-applying the template to the project and selecting the
SAS 9.4 BI Server Profile that you want to use with the project.
To reapply the metadata
creation template:
-
Expand the project's
metadata folder.
-
If manual changes have
been made to the Application.xml file in that folder, or if you are
unsure if manual modifications have been made, then rename the
Application.xml
file
to
ApplicationOld.xml
.
-
From the main menu,
select
FileNewOther.
-
Expand
SAS
AppDev Studio, select
Add Template Content
to Project, and click
Next.
-
In the
Project field,
select the project to update.
-
In the Templates tree,
expand the
SAS Java Web Application and
SAS
Web Infrastructure Platform Support categories, and then
select
SAS Web Infrastructure Application Metadata Creation.
-
Due to changes for SAS
9.4, the BI Server Profile selection is either blank if no metadata
server connection is open, or matches the BI Server Profile of the
open connection. Select the BI Server Profile for which you want to
initially create the application metadata.
-
Update the
Application
Name and
Description.
-
Update the
Protocol,
and
Web Server Host and
port to
match the ADS Apache Tomcat server (or server of your choice).
-
Click
Finish to
apply the template.
When the template wizard
finishes reapplying the template, the
Application.xml
file
is automatically opened in the XML Editor. The file includes a commented-out
example of how to define properties in the new format used by the
SAS Application Metadata Utility. If properties were added to the
ApplicationOld.xml
file,
you can copy these properties to the new
Application.xml
file.
Also, if the
ApplicationOld.xml
file
contains other edits for settings like the description, then you can
copy those changes from the
ApplicationOld.xml
file
to the Application.xml file.
Since the SAS Web Infrastructure
Platform uses Foundation services internally, the switch to Local
Foundation Services means that reapplying the template will add the
JAAS configuration needed by the web application. When the template
is reapplied, a
jaas.config
file is
added, and the
launchParameters.txt
file
updated for SAS 9.4.
Run the create metadata
script to actually create the server metadata. Because the SAS Application
Metadata Utility now creates the application metadata, a Software
Component object representing the application metadata will be visible
in the metadata folder tree. The default location is
/Products/SAS
AppDev Studio/<name of application>
.
It is specified by the
Folder attribute of
the Application element in the
Application.xml
file.
The delete metadata script deletes the application metadata, but
does not delete any of the folders that SAS Application Metadata Utility
creates in the folder tree.