Versions Compared

Key

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

...

To configure the Project Files for a Partial Deployment project, click on the Project Files tab.


Image RemovedImage Added

Initially Populating Project Files

...

  • Use the Populate from <SCM> button, SCM can be Subversion, Git, TFVC, CVS etc. This will add all files from defined source configurations, so if you are only interested in adding specific files, then use Create button.
  • Manually add files using the Create button.

Image RemovedImage Added

Using the Populate from <SCM> button

When you click the Populate from <SCM> button, the following screen will pop up. Depending on how many files you have, this operation can take several minutes.

Image RemovedImage Added

The Populate from SCM operation will iterate through each of the SCM Projects Sources you have configured, and will configure files. Based on your properties, the populate operation will complete the configuration required for each file based on its object type.

Once it is complete, you will see the files listed by object type with all the default configuration. You must click the Save button to save the files you just populated. Once again, this operation can take several minutes if you have many files. If there is any missing configuration, clicking the Save button will prompt you for the missing information.

Info

FlexDeploy allows for custom sorting of all files when performing Populate from SCM action. This allows for sorting files as per FD_ORDER.seq file in root of your project. Just add full file as it shows on screen File Name (with Path) in this file in custom order. You just need to add the files that need to be ordered and not all files.

Also, in case of EBS (DB Objects) / JDBC plugins sorting is based on project properties for extension based ordering. For example, if new .tbl file is discovered from SCM, then this helps you arrange it appropriately in DB Objects for EBS project.

For example, FD_ORDER.seq may look like this.

Code Block
/sql/package200.pks
/sql/package1.pks


Adding files using the Create button

When you click the Create button, the following screen will pop up.

Image RemovedImage Added


Enter the File Name (with Path) as indicated above, then click the Evaluate button. Based on the rules for that object type and configured project properties, the remaining fields will populate. These fields will vary based on the plugin and object type. Optionally, you can adjust the configuration based on you requirements. In the example above, if you adjust the Target Location and click the Evaluate button again, all fields except Target Location will be reevaluated and Deploy Command will reflect manual change done on Target Location.

...

The Project Files contents are organized based on the Object Type Drop down (circled in image below).

Image RemovedImage Added

When selecting the drop down, you see the list of Object Types supported for the Project Type you selected when you created the project. In the figure below, the information displayed for each object type is

  • The Object Type Name
  • N of M where N is the number of files which are of the type that match the filter, and M is the total number of files of that type. If the number of files for that type which also match the filter is greater than 0, then the line in the drop down will be bold.
  • Number of files that are selected
  • The currently selected object type will be in gray, so it can not be clicked again.

Image RemovedImage Added

Updating the List of Files

...

The filtering is done across all Object Types. Filtering is based on the Filter text. If the Filter text is found in the File Name (with Path) column, then the file matches the filter and will be displayed in the table. Optionally, you can select to Show Inactive files or Show Only New files. To use the filter, set the criteria and click the Filter button. You can also hit Enter key after entering Filter text.

Image RemovedImage Added

Editing a File Row

There are 2 actions that you can perform on the row. The Pencil allows you to edit the Row.
Image RemovedImage Added


The second icon is either a red circle with an X icon or a green circle with a check mark, the red icon allows you to inactivate the row, and the green icon allows you to activate the row.
When you click the Pencil icon to edit the row, the Edit File screen will pop up.

Image RemovedImage Added

The Edit File pop up screen allows you to update the values for the following fields:

Field Name

Description

Object Type

The type of object for this file. Changing the Object Type will move the file to the page for that object type.

StreamIf file is sourced from SCM then you will see Stream selection. File content is used at times during evaluation process.

Source

Source of the file. Either SCM or some backend system like EBS.

Object Type dependent fields

Varies.

Deploy Command

The command that will be executed by the plugin to deploy this file.

...

The Build and Deploy Commands are Read-Only for all users except FlexDeploy Administrators.

Editing Multiple Files

You can select one or more files in order to either Inactivate, Activate, Move to a different Object Type or Reevaluate file attributes. See below.

If you are evaluating multiple files and at least one of them is setup with SCM as Source, you will see popup asking to select Stream to use during evaluation. FlexDeploy may use file content during evaluation process to default various attributes, so this can be crucial if file is only present in specific branch.

Warning

If inactive files are selected, evaluate and move operations are unable to be executed.

Image Added

Build with Selected

To initiate a build from the Project Files tab, you select the files to be included in the build and click the Build with Selected Button. This will populate the build request form with the active selected files (See Building a Partial Deployment Project). Inactive files that are selected will be ignored.

To select the files you would like to build there are a couple of features to help.

The first column in the table is a check box that allows you to select and unselect files individually as shown in the following figure.Image Removed

Info
titleNotice

If Package Build Type on the project configuration is set to "All Files Only" then Build with Selected will not be available.

Image Added

At the Object Type level there are three menu options for Select as shown in the figure below. These menu options do the following:

  • All – Selects all of the files for that Object Type based on current filter
  • None – Unselects all the files for that Object Type based on current filter
  • Invert - Unselects all the files that are currently selected and selects all the files that are currently unselected based on current filter.

Image RemovedImage Added

To manipulate the files across project types use the buttons shown in the figure below. These button do the following:

  • All – Selects all the files across all Object Types based on current filter.
  • None – Unselects all the files across all Object Types based on current filter.

Image RemovedImage Added