Target audience:
CAST Administrators, Delivery Managers
Register your PeopleSoft applications in the CAST AIC Portal
In the CAST AIC Portal, register two new Applications as follows:
- One for the Vanilla: the PeopleSoft Repository without any custom code
- One for the Project: the PeopleSoft Repository that contains the custom code for one or multiple PeopleSoft applications
Deliver the source code for Vanilla
To deliver the source code for the Vanilla, you must download and install the CAST Delivery Manager Tool (DMT) on a machine that has access to the server that hosts the PeopleSoft repository for Vanilla. CAST recommends installing the DMT on the same machine as the server is installed on, to take advantage of faster direct disk to disk performance for the code extraction. The DMT establishes a JDBC connection to the database and executes a set of queries. If the DMT is installed on another machine, the network will negatively impact the time required to extract the source code.
- With regard to packages:
- Create one package for the PeopleSoft Vanilla extraction
- Ideally, you should also create a second package to deliver the database extraction (database structure). The resulting objects will be linked to PeopleCode embedded SQL in order to compute 7 quality rules (dead code on several types of records). This second package should be skipped in the following cases:
- PeopleSoft application is FSCM : the volume to extract and analyze for the database part would be very large, so the effort is not worth the benefit.
- The PeopleSoft repository is hosted on an unsupported RDBMS version, thus cannot be extracted by the database extractor.
- Once the DMT has been downloaded and installed, you'll have access to the interface:
- First create a new version:
- The version editor is then displayed:
- Create a package. In the wizard, select "PeopleSoft" under "Select a vendor specific repository":
In the wizard, select the appropriate option as described in the expandable sections below:
PeopleSoft on DB2 / PeopleSoft on Oracle | Click here to expand... These two options will perform an extraction using the database extractor embedded into the CAST Delivery Manager Tool - connections are made using JDBC drivers. Use the table below to help fill in the required fields:
| ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Reuse existing PeopleSoft extractor output | Click here to expand... This option allows you to perform an offline extraction using the CAST Database Extractor (which can be downloaded from https://extend.castsoftware.com/#/extension?id=com.castsoftware.aip.extractor.sqldatabase&version=latest) and then package the output for delivery. A tailor made batch file provided in the downloaded PeopleSoft extension is available for running the offline extraction with the CAST Database Extractor - this should be used where possible. The batch file is available here as shown below. Replace all instances of <PARAM> in the batch file with the appropriate values as explained in the batch file comments. Please note all values are mandatory. %PROGRAMDATA%\CAST\CAST\Extensions\com.castsoftware.peoplesoft.<version>\TOOLS\OfflineExtraction\PeopleSoft-Extract-CLI.bat The following errors may occur when running the batch file:
|
- To extract the source code, click Package...
- When the extraction has completed, the content state for the Package should display Packaging successful and the action required is Package ready to be delivered.
Post extraction check
Validation error #-1: Schema EFORCE_G5R3R is not a PeopleSoft repository: table PSRECDEFN is missing
If errors similar to "Validation error #-1: Schema EFORCE_G5R3R is not a PeopleSoft repository: table PSRECDEFN is missing" are reported in extactor's log, it means either the schema has no PSRECDEFN table, or USER rights are insufficient (SELECT has not been granted on this table).
Resolution error type in / Invalid identification group value
The extraction log may contain the following messages:
- Resolution error type in
- Invalid identification group value
These messages have a limited impact if the ratio of "Number of information messages" / "Number of rows extracted" is kept low (i.e. less the 1 or 2%). Some Quality Rule violations may be missed if these messages appear, however, the overall impact is low.
Deliver
- You can now deliver the source code. To do so, click Deliver…. In the wizard, answer Yes when prompted whether the delivery is complete:
- When the delivery has completed, the content state for the Package should display Packaging successful and the action required is empty (i.e. nothing further to do).
Deliver the source code for Project
To deliver the source code for the Vanilla, you must download and install the CAST Delivery Manager Tool (DMT) on a machine that has access to the server that hosts the PeopleSoft repository for Project. CAST recommends installing the DMT on the same machine as the server is installed on, to take advantage of faster direct disk to disk performance for the code extraction. The DMT establishes a JDBC connection to the database and executes a set of queries. If the DMT is installed on another machine, the network will negatively impact the time required to extract the source code.
- If your Project and Vanilla repositories are on the same server, you can re-use the DMT you used to extract the Vanilla.
- With regard to packages:
- Create one package for the PeopleSoft Project extraction (as was required for the Vanilla repository)
- Ideally, you should also create a second package to deliver the database extraction (database structure). The resulting objects will be linked to PeopleCode embedded SQL in order to compute 7 quality rules (dead code on several types of records). This second package should be skipped in the following cases:
- PeopleSoft application is FSCM : the volume to extract and analyze for the database part would be very large, so the effort is not worth the benefit.
- The PeopleSoft repository is hosted on an unsupported RDBMS version, thus cannot be extracted by the database extractor.
Once the DMT has been downloaded and installed, you'll have access to the interface:
First create a new version:
The version editor is then displayed:
Create a package. In the wizard, select "PeopleSoft" under "Select a vendor specific repository":
In the wizard, select the appropriate option as described in the expandable sections below:
PeopleSoft on DB2 / PeopleSoft on Oracle | Click here to expand... These two options will perform an extraction using the database extractor embedded into the CAST Delivery Manager Tool - connections are made using JDBC drivers. Use the table below to help fill in the required fields:
| ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Reuse existing PeopleSoft extractor output | Click here to expand... This option allows you to perform an offline extraction using the CAST Database Extractor (which can be downloaded from https://extend.castsoftware.com/#/extension?id=com.castsoftware.aip.extractor.sqldatabase&version=latest) and then package the output for delivery. A tailor made batch file provided in the downloaded PeopleSoft extension is available for running the offline extraction with the CAST Database Extractor - this should be used where possible. The batch file is available here as shown below. Replace all instances of <PARAM> in the batch file with the appropriate values as explained in the batch file comments. Please note all values are mandatory. %PROGRAMDATA%\CAST\CAST\Extensions\com.castsoftware.peoplesoft.<version>\TOOLS\OfflineExtraction\PeopleSoft-Extract-CLI.bat The following errors may occur when running the batch file:
|
To extract the source code, click Package...
When the extraction has completed, the content state for the Package should display Packaging successful and the action required is Package ready to be delivered.
Post extraction check
Validation error #-1: Schema EFORCE_G5R3R is not a PeopleSoft repository: table PSRECDEFN is missing
If errors similar to "Validation error #-1: Schema EFORCE_G5R3R is not a PeopleSoft repository: table PSRECDEFN is missing" are reported in extactor's log, it means either the schema has no PSRECDEFN table, or USER rights are insufficient (SELECT has not been granted on this table).
Resolution error type in / Invalid identification group value
The extraction log may contain the following messages:
- Resolution error type in
- Invalid identification group value
These messages have a limited impact if the ratio of "Number of information messages" / "Number of rows extracted" is kept low (i.e. less the 1 or 2%). Some Quality Rule violations may be missed if these messages appear, however, the overall impact is low.
Deliver
- You can now deliver the source code. To do so, click Deliver…. In the wizard, answer Yes when prompted whether the delivery is complete:
- When the delivery has completed, the content state for the Package should display Packaging successful and the action required is empty (i.e. nothing further to do).