Overview Enabling SFID Oracle Fusion Middleware Online Documentation Library

13 Configuring Automated Usage Detection 13-1 13 Configuring Automated Usage Detection This chapter describes Software File IdentificationSFID and how it can be used to automatically increment asset usage in Oracle Enterprise Repository. There are several ways in which Oracle Enterprise Repository can track asset usage. Oracle Enterprise Repository strives to make Governance as seamless as possible for the developer, therefore automatic usage detection, or SFID is available from Eclipse and .Net environments. In these environments, developers receive a copy of a wsdl, schema, or other artifact. If an organization wants to automatically track the usage of these artifacts, they tag them with an SFID in Oracle Enterprise Repository. When the artifacts appear in the developers environment, Oracle Enterprise Repository recognizes the artifact and increments usage. This means that a developer does not have to get the artifact from the repository. They can pull it from their desktop, or from a version control system. Regardless of the source, Oracle Enterprise Repository will recognize a match and increment usage. Usage tracking is the primary method that Oracle Enterprise Repository uses to generate Reuse ROI. This chapter contains the following sections: ■ Section 13.1, Overview ■ Section 13.2, Enabling SFID ■ Section 13.3, Adding the SFID Element to a Type ■ Section 13.4, Adding an SFID to an Asset ■ Section 13.5, SFID Tool Kit ■ Section 13.6, SFID Manager ■ Section 13.7, Calculating the SFID Programmatically ■ Section 13.8, SFID Limitations

13.1 Overview

Software File Identification SFID provides the ability to determine asset usage independent of the manual asset Use - Download process within Oracle Enterprise Repository. The SFID process tags selected files within an asset with a unique SFID fingerprint. This tag is then used to detect when and where an asset is used, even if the asset was acquired through means other than the Use - Download button in Oracle Enterprise Repository. An instance of usage is recorded by Oracle Enterprise Repository when tagged files within the asset are opened in a developers IDE. 13-2 Oracle Fusion Middleware Configuration Guide for Oracle Enterprise Repository SFID requires the installation of the Oracle Enterprise Repository Plug-in Eclipse or for Visual Studio .NET. For more information about repository access capabilities from a supported IDE, see the following documentation: ■ Repository Access in Eclipse Using WorkSpace Studio at Oracle Fusion Middleware Integration Guide for Oracle Enterprise Repository ■ Oracle Enterprise Repository Integration with Visual Studio .NET at Oracle Fusion Middleware Integration Guide for Oracle Enterprise Repository

13.2 Enabling SFID

This procedure is performed on the Oracle Enterprise Repository Admin screen.

1. Click System Settings in the left pane.

2. Enter cmee.usagedetection.enable in the Enable New System Settings text box.

3. Click Enable. The Enable Automated Usage Detection option is displayed in the

list of properties in the main pane, as shown in Figure 13–1 . Figure 13–1 Functional Settings

4. Ensure the property is set to True.

5. Click Save. SFID is now enabled.

■ The SFID element can now be added to types in the Type Manager. ■ When the SFID element is added to an asset type, an SFID section will appear on assets of that type when viewed in the Asset Editor. It is within that section that files can be selected for SFID fingerprinting. Figure 13–2 Automated Usage Detection ■ SFID functions are now available in the Oracle Enterprise Repository REX.

13.3 Adding the SFID Element to a Type