|
|
(39 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| [[COSMOS|COSMOS Wiki]] > [[COSMOS_Documentation_Plan|COSMOS Document Plan]] > [[COSMOS_Manual_Guide |COSMOS Manual Guide]] | | [[COSMOS|COSMOS Wiki]] > [[COSMOS_Documentation_Plan|COSMOS Document Plan]] > [[COSMOS_Manual_Guide |COSMOS Manual Guide]] |
| | | |
− | == COSMOS Development Guide Constructing a Data Manager ==
| + | The most current content for this documentation is found here: http://www.eclipse.org/cosmos/documents/v1.0/devguide/cosmosdevguide04.htm#HDRDQX1CREATINGADATAMANAGER |
− |
| + | |
− | Category: [http://wiki.eclipse.org/Category:COSMOS_Development_Guide Development Guide]
| + | |
− |
| + | |
− | {| border="1" cellpadding="2"
| + | |
− | |-
| + | |
− | |'''Owner'''
| + | |
− | |Hubert Leung and David Whiteman
| + | |
− | | + | |
− | |-
| + | |
− | |'''Bug #'''
| + | |
− | |[https://bugs.eclipse.org/bugs/show_bug.cgi?id=219141 219141]
| + | |
− | | + | |
− | |-
| + | |
− | |'''Due dates'''
| + | |
− | | [[COSMOS_Document_Schedule#COSMOS Development Guide| 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:
| + | |
− | | + | |
− | # Open the J2EE perspective in Eclipse.
| + | |
− | # Select <b>File -> New -> Project...</b> from the Eclipse menu bar. The <b>New Project</b> 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.
| + | |
− | # Follow the project wizard prompts, and set the values as suggested below.
| + | |
− | | + | |
− | <b>Wizard fields</b>
| + | |
− | | + | |
− | <dl>
| + | |
− | <dt>Target Runtime </dt>
| + | |
− | <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>
| + | |
− | <dt>Configuration </dt>
| + | |
− | <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>
| + | |
− | <dt>Package name</dt>
| + | |
− | <dd>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.</dd>
| + | |
− | <dt>Generated class name</dt>
| + | |
− | <dd>Enter the name of the class to be generated that represents the data manager or MDR.</dd>
| + | |
− | </dl>
| + | |
− | | + | |
− | === 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 ==
| + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
− | | + | |
| | | |
| [[Category:COSMOS_Development_Guide]] | | [[Category:COSMOS_Development_Guide]] |