Import strategies

Required Roles n/a
Required Rights
(by category)
Applications
Perspective  Configuration Management
Access  DROPS Server Artifacts →  Applications →  Application editor Component editor  Import Strategies manager

The artifact repository is populated with artifacts imported from external sources, sometimes called artifact providers. Import strategies are dedicated engines that communicate with one particular artifact provider in order to find the defined artifacts and import them, nested under the associated component, into the artifact repository.

When defining import strategies, the link to the external source that points to the artifacts to retrieve creates, by default, the directory structure to respect when storing the imported artifacts. Strategies are created inside the Component editor so they are linked by default to that component. The imported artifacts are automatically stored under that component in the artifact repository. DROPS ensures that each artifact is associated with the correct application and release via the component.

An external artifact provider may be a simple file system or a complex SCM. Choosing the type of import strategy to use depends solely on the kind of source from which you are importing artifacts. Only one source type can be defined per import strategy but a component can contain multiple strategies in order to import artifacts from different sources.

Import strategies can be configured to recognize updated files in the defined paths and only import them, instead of the entire group of artifacts available.

Strategies reach the artifacts to import via the object's absolute path. The artifacts in this Root Directory are browsed after the import is launched to determine which to import or not.

Some import strategy parameters can be defined using properties.

Example

The two components in your application are to be deployed to two different destinations (a server in New York and a website host in Paris). The server's installation files are all imported from the same location - there is only one import strategy necessary for the New York server component. However, the website component for Paris must contain HTML files that your web designer created and sent to you via email and the .css style sheet that your company hosts on a shared network. In order to import all of these artifacts from two different source locations, you will need two different import strategies: one for each source location.