Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "COSMOS DG Constructing a Data Manager"

(Creating a data manager or MDR project)
(Creating a data manager or MDR project)
Line 29: Line 29:
  
 
# Open the J2EE perspective in Eclipse.  
 
# Open the J2EE perspective in Eclipse.  
# Select <b>File -> New -> Project...</b> from the Eclipse menu bar.  The <b>New Project</b> wizard starts.
+
# Select <b>File -> New -> Project...</b> from the Eclipse menu bar.  The New Project wizard starts.
# From the <b>New Project</b> wizard, select <b>Web -> Dynamic Web Project</b> and press the <b>Next</b> button.  The New Dynamic Web Project wizard starts.
+
# From the New Project wizard, select <b>Web -> Dynamic Web Project</b> and press the <b>Next</b> button.  The New Dynamic Web Project wizard starts.
 
# Follow the project wizard prompts, and set the values as suggested below.
 
# Follow the project wizard prompts, and set the values as suggested below.
  
Line 37: Line 37:
 
<dl>
 
<dl>
 
<dt>Target Runtime
 
<dt>Target Runtime
<dd>Use this field to define a new installed runtime environment. Runtimes are used at build time to compile projects. For the data manager project, create a new target runtime for Apache Tomcat v5.5 or higher.  Press the <b>New...</b> button to begin the process of setting up the target runtime for Apache Tomcat.
+
<dd>
 +
In the Target Runtime field, select the Apache Tomcat server where you want to deploy the data manager project. If a Tomcat server is not already defined, click '''New...''' to select a server runtime environment.
 
<dt>Configuration
 
<dt>Configuration
 
<dd>After you define and select a target runtime for Apache Tomcat, the configuration "Default Configuration for Apache Tomcat v5.5" will be available for selection.  Select this configuration and click the '''Modify...''' button.  The Project Facets dialog will open.  Select either "Custom data manager" (to create a data manager) or "Management data repository" (to create an MDR) under the "Systems Management" category and press '''OK'''.
 
<dd>After you define and select a target runtime for Apache Tomcat, the configuration "Default Configuration for Apache Tomcat v5.5" will be available for selection.  Select this configuration and click the '''Modify...''' button.  The Project Facets dialog will open.  Select either "Custom data manager" (to create a data manager) or "Management data repository" (to create an MDR) under the "Systems Management" category and press '''OK'''.

Revision as of 02:01, 21 March 2008

COSMOS Wiki > COSMOS Document Plan > COSMOS Manual Guide

COSMOS Development Guide Constructing a Data Manager

Category: Development Guide

Owner Hubert Leung and David Whiteman
Bug # 219141
Due dates Schedule

Outline

Creating a Data Manager

Preparing the development environment

Install COSMOS SDK and pre-requisites (Tomcat, Webtools project)

Creating a data manager or MDR project

The COSMOS SDK provides Eclipse-based tooling for creating data manager and MDR projects. These tools make use of capabilities provided by the Eclipse Webtools project to configure your project with the

To create a new data manager project, complete the following steps:

  1. Open the J2EE perspective in Eclipse.
  2. Select File -> New -> Project... from the Eclipse menu bar. The New Project wizard starts.
  3. From the New Project wizard, select Web -> Dynamic Web Project and press the Next button. The New Dynamic Web Project wizard starts.
  4. Follow the project wizard prompts, and set the values as suggested below.

Wizard fields

Target Runtime
In the Target Runtime field, select the Apache Tomcat server where you want to deploy the data manager project. If a Tomcat server is not already defined, click New... to select a server runtime environment.
Configuration
After you define and select a target runtime for Apache Tomcat, the configuration "Default Configuration for Apache Tomcat v5.5" will be available for selection. Select this configuration and click the Modify... button. The Project Facets dialog will open. Select either "Custom data manager" (to create a data manager) or "Management data repository" (to create an MDR) under the "Systems Management" category and press OK.
Package name
On the "Data manager configuration" or "MDR configuration" page, enter the name of the package that will contain the generated class representing the data manager or MDR.
Generated class name
Enter the name of the class to be generated that represents the data manager or MDR.

Customizing MDR parameters

Providing CMDBf Query Processing Handlers

Providing Custom Capabilities

Writing Client Proxies

Class Diagram

Running the MDR within Eclipse

Deploying the MDR on Tomcat

Content

Back to the top