Object Model Description of Sample Directory Crawler
3. Click the Enable button. The Enable Harvesting of Unrecognized SFIDs property
appears in the list of system settings. Figure 13–9 Enable Harvesting of Unrecognized SFIDs4. Ensure property is set to True.
5. Click Save. The property is now enabled.
13.5.1.2 Object Model
Figure 13–10 describes the object model for the SFID. Figure 13–10 Object Model13.5.1.3 Description of Sample Directory Crawler
■ Iterate through all the files and folders of a specified folder. – Instantiate an SFIDCandidate for each candidate – Populate general metadata such as path and sfid. For each SFIDCandiate, create SFIDAttributes that describe arbitrary data to be captured, such as Eclipse Workspace. ■ Invoke the Oracle Enterprise Repository REX method sfidCandidateSubmit, passing an array of SFIDCandidate objects. ■ AlerUtil Object – Instantiate a AlerUtil object to connect to Oracle Enterprise Repository. String lUrl = http:localhost:9080oerservicesFlashlineRegistry; String lUserName = username; String lPassword = password; lAlerUtil = new AlerUtillUrl, lUserName, lPassword; – Use the AlerUtil object to invoke a Oracle Enterprise Repository REX method. lAlerUtil.getFlashlineRegistry.sfidCandidateSubmitlAlerUtil.getAuthToken , lSfidCandidates; 13-8 Oracle Fusion Middleware Configuration Guide for Oracle Enterprise Repository – The AlerUtil object provides a series of convenience methods. getAuthToken Obtain a valid authToken for the for current username and password. If the authToken is expired, obtain a new authToken. Otherwise, a UserVali- dationException is thrown. calculateSfidValue Calculate the SFID for a file or path and return the hash as a string. sfidCandiateListToArray Convert a list of SFIDCandidates to an array of SFIDCandidates. sfidAttributeListToArray Convert a list of SFIDAttributes to an array of SFIDAttributes. sfidAttributeValueListToArray Convert a list of SFIDAttributeValues to an array of SFIDAttributeValues. createCandidateFile Create a standard SFIDCandidate for a file. SFIDCandidate fields filepath, hostip, hostname, and sfid is pre-populated. An SFIDAttribute named Filelength is attached to the SFIDCandidate with the value of length of the file. createCandidateFile, Map Create a standard SFIDCandidate for a file as specified by the method cre- ateCandidateFile. Each StringkeyStringvalue in the map will attach an additional SFIDAttribute to the SFIDCandidate whose name is key and whose value is value. createCandidateFile, List Create a standard SFIDCandidate for a file as specified by the method cre- ateCandidateFile. Attach each SFIDAttribute passed in the list to the SFIDCandidate. sendCandidate Send a single SFIDCandidate for harvesting. sendCandidates Send a list of SFIDCandidates for harvesting.13.6 SFID Manager
Parts
» Oracle Fusion Middleware Online Documentation Library
» Overview Departments Oracle Fusion Middleware Online Documentation Library
» User Role Descriptions Roles
» Editing Permissions Security Considerations
» Start with CSS Customizing Skins
» Install Oracle Enterprise Repository Solution Packs
» Click System Settings in the left pane.
» Overview Security Considerations LDAPActive Directory
» LDAP Property Examples LDAPActive Directory
» Syncing Roles Enable Debug Logging
» Overview Configure the Container to Support Realm Authentication
» Modify the Web Applications Web.xml File to Allow for Container Authentication
» Overview Access Definitions Oracle Fusion Middleware Online Documentation Library
» User Roles and Default Privileges
» Asset Lifecycle Management Solution Validation Tests
» Process Overview Accessing Oracle Enterprise Repository Diagnostics Page
» Exchange Utility Configuration File Workflow Configuration File
» Prerequisites Harvester Functionality Getting Started with Harvester
» Obtaining the Harvester Configuring the Harvester
» Configuring the Harvester for the Command Line
» Invoking Harvester from WLST
» Runtime Harvesting Details Configuring the Harvester
» Performing Optional Harvester Configuration
» Configuring Logging for the Harvester Transaction Handling in Harvester Advanced Configuration
» Harvesting Artifacts Harvesting of Artifacts
» Detecting Duplicate Artifacts Downloading Harvested Artifacts
» Searching Harvested Assets Previewing of the Created Assets in Harvester
» Best Practices Select IDE Connections.
» Known Issues Select IDE Connections.
» Understanding the Registration Process
» Step 5: Configure the setenv File
» Example Community Flow Use Case
» What is the Oracle Enterprise Repository Event Manager? Configuring the Subscription Manager
» Creating and Customizing a Workflow Configuration File
» Wiring Asset Events to Flows
» Multi-tier Automatic Assignment Flows
» Metadata Change Flows Configuring Automated Workflows
» Time-based Escalation Flows Configuring Automated Workflows
» Validation Expiration Flows Configuring Automated Workflows
» Miscellaneous JMS Properties Configuring External JMS Jar Files
» Configuring a JMS Provider In WebSphere 6.1.0.5
» Overview Monitoring Events Monitoring and Managing Events
» Configuring Workflow Monitoring and Managing Events
» Overview Web Service Operations
» Developing an Endpoint with an Incompatible Contract
» What is the Oracle Registry Repository Exchange Utility?
» Example Use Cases Getting Started With the Oracle Registry Repository Exchange Utility
» Installing and Configuring the Oracle Registry Repository Exchange Utility
» How the Exchanged Metadata Is Synchronized
» Running an Incorrect Version of Java
» Overview Oracle Fusion Middleware Online Documentation Library
» Creating a Compliance Template Type
» Creating a Compliance Template Apply a Compliance Template to a Project
» Viewing Assets in Progress Enabling Assets in Progress Disabling Assets in Progress
» Enabling Viewing of Assets in Progress Through an IDE
» Overview Enabling SFID Oracle Fusion Middleware Online Documentation Library
» Object Model Description of Sample Directory Crawler
» Adding the SFID Element to a Type Calculating the SFID Programmatically
» SFID Limitations Overview Oracle Fusion Middleware Online Documentation Library
» Activating the Policy Management Feature Creating a Policy Type
» Adding the Policy Assertion Element to the Policy Type Creating a Policy
» Adding the Applied Asset Policies Element to a Type
» Applying a Policy to an Asset Viewing Policy Status
» Validating Policy Assertions Oracle Fusion Middleware Online Documentation Library
» Running the Oracle Enterprise Repository Policy Reports
» Deploy Oracle Enterprise Repository Pre-configured BI Publisher Content
» Configuring the Oracle Enterprise Repository System Settings to Enable Reporting
» Configuring the Oracle Enterprise Repository System Settings to Allow Authenication Proxying
» Custom Links Reports Click Save when finished. The new Custom Usage Fields appear in the Use -
» Miscellaneous Click Save when finished. The new Custom Usage Fields appear in the Use -
» Server Settings System Settings in Oracle Enterprise Repository
» Enterprise Authentication Settings System Settings in Oracle Enterprise Repository
» Open API Settings External Integration Settings
» Import Export and Introspection Settings
Show more