#------------------------------------------------------------------------------- # Copyright (c) 2011, BAE Systems. # Developed with the sponsorship of the Defense Advanced Research Projects Agency (DARPA). # # Permission is hereby granted, free of charge, to any person obtaining a copy of this data, # including any software or models in source or binary form, as well as any drawings, # specifications, and documentation (collectively "the Data"), to deal in the Data without restriction, # including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Data, and to permit persons to whom the Data is furnished to do so, # subject to the following conditions: # # The above copyright notice and this permission notice shall be included in all copies or substantial # portions of the Data. # # THE DATA IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING # BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE # AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, SPONSORS, DEVELOPERS, CONTRIBUTORS, # OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE # DATA OR THE USE OR OTHER DEALINGS IN THE DATA. #------------------------------------------------------------------------------- Introduction This zip contains a SimplePlugin to be used in the demonstration of the Design thread of the ARRoW workflow. For the purposes of the demonstration, Magicraw will publish the SysML model to AMIL when the user selects Publish to AMIL. Install Unzip all contents to \plugins The plugin will be automatically recognized next time MagicDraw is started. Configuration There is a windchill.properties file in \plugins\com.bae.meta.sysml.arrow. It contains a property that defines the base location of the AMIL web services. For hosts running the server locally, the property looks like this. AMILURL=http://localhost:8080/ArrowWebServices/amil Execution 1. Open a SysML project. 2. Make any change (which includes opening or closing a diagram) 3. Publish the project using File>Publish to AMIL 4. A dialog will confirm the completion of the publish operation. Additional Features The plugin contains 2 other actions that may be useful for future debugging. Both are context menus on items in the Containment Browser. Select most any item in the browser and there will be a submenu titled Simple Plugin Menu Category. The submenu will contain the options: Simple Plugin Action and Node Info Action. The Simple Plugin Action will display a dialog with counts for each type of element under the selected item. The Node Info Action will display a dialog with the following information about the selected item: * Human readable name * element ID * Underlying class name Reference Architecture (7/6/11) The plugin contains a dialog box to map requirements onto the reference architecture and write that set of information to AMIL. Reference architecture SysML models of components are created in MagicDraw. These RA components are used to create a SysML instance model of the component being designed. To create the instance model from the RA, create an Implementation diagram in MagicDraw, then add instances to it. For each instance, select the block type from the reference architecture blocks. Requirements are then mapped to the instance blocks, using dependency arrows flowing from the requirement onto the block. Requirements may affect many properties of multiple blocks, and properties may be affected by multiple requirements. Using the plugin's Block Requirements dialog box, the effect of each requirement on the block's properties and required range of values can be captured. The dialog is brought up by right clicking the block and selecting ARROW > BlockRequirements. The list of properties attached to the block are listed at the top right, while the requirements that affect the block are on the top left. One from each list can be selected, and added to the rows on the table. The range of values that the requirement constraints the property are then filled in. Upon model save, the requirements, blocks, properties, and ranges of values are mapped to AMIL. See the ReqRefArchToAMIL.doc for information on this mapping.