Use Source Control Management in Day to Day Repository Development
These topics describes typical scenarios that occur during day to day repository development.
This section contains the following topics:
Update, Save, and Check In Changes for Repositories Under Source Control
After your MDS XML repository is set up under source control, follow these steps to update, save, and check in changes to your repository.
Handle Errors
Learn how to handle errors in the SCM system.
Sometimes errors, such as an expired label or network problem, occur when the Administration Tool delivers changes to the SCM system.
Saving to a binary Oracle BI repository file is the simplest option for transient problems like network errors, where you just need to try again later. Saving as MDS XML is required when some sort of work is required to fix the problem, such as merging conflicting changes.
Steps 4 and 5 of this procedure cause the Administration Tool to keep memory objects loaded from the saved Oracle BI repository file or MDS XML files, but to then consider them to belong to the source control MDS XML repository instead. When you click Save, the Administration Tool saves the memory objects to the source control repository.
Test Repositories Under Source Control
During the course of repository development, you need to perform testing in online mode to validate your repository.
You can only load an Oracle BI repository in RPD format into the Oracle BI Server to make it available for queries. Because of this, you must save your development MDS XML repository in Oracle BI repository format from time to time when you want to perform online testing.
- In the Administration Tool, open your MDS XML repository in offline mode, select Save As, then select Repository to make the repository available for queries.
View the Source Control Log
The Source Control Log window shows the commands that the Administration Tool issues to your SCM system.
It also shows any post-save text you specified in the Post-save comment tab of the SCM Configuration Editor.
By default, the Source Control Log window appears when SCM commands are being run. Alternatively, you can select File, then select Source Control, then select View Logs to see the Source Control Log window.
You can choose the following options for this dialog:
-
Close when commands finish: Causes the log window to close automatically when commands are complete, unless errors occur.
-
Only show dialog when errors occur: Hides the window during SCM command processing unless errors occur. By default, the Source Control Log appears automatically when SCM commands are being run unless this option is selected.
The text displayed in the Source Control Log is persistent until you close the repository. This means that all SCM command output is available for view, regardless of whether the dialog is open during individual operations. While SCM commands are being run, the Close button is disabled until the SCM commands have finished or have stopped with an error, unless Only show dialog when errors occur has been selected.
The Source Control Log does have a 32K character limit. When the window buffer becomes full, then the oldest commands are removed from the Source Control Log display to make room for the latest command output. To see the full output, go to the Administration Tool log at:
ORACLE_INSTANCE/diagnostics/logs/OracleBIServerComponent/coreapplication_obisn/user_name_NQSAdminTool.log