Astera's Project Explorer
Last updated
Last updated
© Copyright 2023, Astera Software
The purpose of creating a project is to organize your Astera work items in files and folders. This is particularly helpful when one is dealing with a large project which consists of numerous flows. It also helps in implementing a use case in a more effective way and makes the process of deployment easier.
In this article, we will learn how to create a new Integration Project and use some of the options available in the Project Explorer panel.
To create a new project, go to the menu bar and click on the following options: Project > New > Integration Project.
There are 3 different kinds of projects you can create by either clicking on its name or pressing the given shortcut keys to the right.
Integration Project: Creates an empty project that does not contain any pre-defined folders. It is ideal to use when you want to develop an integration project from scratch.
Data Warehousing Project: Allows users to create a data warehousing project.
REST Client Project: Creates a project with two dedicated folders for importing REST APIs and adding shared connections.
Next, navigate to the folder where you want to save your project, name your project, and click Save. In this example, we are saving our project with the name SampleProject.cprj.
You can view your project in the Project Explorer panel, as shown below.
There are several options in the Project Explorer panel such as:
Close Project: Closes a currently open project.
Build Archive (.Car) for the Project: Creates an archive (.Car) file.
Verify Project: Verifies design time errors of the project (such as missing fields, syntax errors in the expressions, etc.).
Note: It does not verify the runtime errors.
Refresh Project: Refreshes and synchronizes changes within the project.
Replace parameter values for all the distinct parameters: Replace all the distinct directory paths and the database connection information used in the project with new values provided.
Replace parameters info for all distinct and consolidated parameters: Replace all the distinct and consolidated directory paths and the database connection information used in the project with new values provided (this option removes the repeats and shows consolidated parameters).
Add Project to Source Control: This enables Source Control to keep track of new changes and save all previous commits in case the user wants to revert to the last saved version.
Automatically re-build lineage when project is loaded or modified: Represents connections among different files such as dataflows, subflows, etc. in the project graphically.
Right-click on the project name inside the Project Explorer, and from the context menu, select Add New Item.
Choose the type of item from the available options, provide an appropriate name for the item, and click Add. In this example, we are adding a new dataflow with the name SampleDataflow.Df.
The new item, SampleDataflow.Df is now a part of your project.
Similarly, to add a new folder, right-click on the project name inside the Project Explorer and click Add New Folder.
The new folder is now a part of your project. You can rename the folder by right-clicking on Folder and selecting Rename.
Right-click on the project name in the Project Explorer and click Add Existing Items or Add Existing Folder, depending on what you want to add. We will see how to Add Existing Items first.
Locate the item/folder you want to add to the project in the local directory, select it, and click Open. In this case, we are adding Sample_Dataflow2.Df to our project.
The item, SampleDataflow2.Df is now a part of your project.
You can try the Add Existing Folder option by following the same steps mentioned above if you wish to add an existing folder instead of an existing item to the Project.
To conclude, this is how you can create and manage a project in Astera using the tools provided in the Project Explorer panel.