Docsity

Remote Software Assistant: A Level Specification | CSE 784, Study Guides, Projects, Research of Software Engineering

Partial preview of the text

Download Remote Software Assistant: A Level Specification | CSE 784 and more Study Guides, Projects, Research Software Engineering in PDF only on Docsity!

Remote Software Assistant

A Level Specification

Version 1.

September 29, 2006

Tilak Patel

Revision History Version Issue Date Author Comments Version 1.0 25 September 2006 Jim Fawcett First Draft Version 1.1 29 September 2006 Tilak Patel Revised Draft

The Remote Software Assistant System Architecture consists of the partitions:

  1. Model Builder Process Builds code and documents from XML templates, using XSLT processing templates. Parses existing code and documents to update XML models.
  2. Repository Server and Shared Data Process Maintains a persistent, versioned, set of components, based on a dependency structure.
  3. Testbed Process Supports test configuration and execution for multiple, concurrent test configurations.
  4. RSA Client and Executor Provides an interface for accessing and controlling the various Software Assistant services and products.
  5. Tool Set Provides Requirements and Bug Tracking, change logging, and analysis tools
  6. Communication Service Manages the transfer of component parts across the network, using sockets, and across the internet, using web services. Also responsible for establishing a file cache on each RSA receiver and maintaining its coherency, while avoiding the transfer of files already on the target. The Model Builder, Repository, and Testbed are all capable of operating in a stand- alone fashion. That is, they each provide a WinForm interface that is sufficient for carrying out all its required functions. They each also provide a communication end-point, built as part of the Communication Service, so that the RSA Client or other processes can send messages to effect their operations.

2. Reference Documents:

  1. Software Assistant System Preliminary Architectural Concept, 25 September
  2. Software Assistant System Statement of Work, 25 September 2006.

3.1.1.7.2. Software Design Document from the package diagram. 3.1.1.7.3. Code and additional details for the Design Document from the class diagram. 3.1.1.8. Model Builder shall provide means to generate HTML documents from the Requirements Specification and Design Document models. 3.1.1.9. Model Builder shall provide means to generate code from the code model. 3.1.1.10. Model Builder shall provide means to update models from their documents or code after manual modifications to the documents or code^3. 3.1.1.11. Shall store diagrams, code and documents in a meaningful manner 4 . 3.1.1.12. Shall provide interface through RSA client for check-in, check- out and extraction of relevant diagrams, code and document files from repository. 3.1.2. Remote Software Assistant Client and Executors The Remote Software Assistant Client provides interface for integration of model building, viewing products produced by Model Builder, tools provided by the RSA Tool Set, storage of the products in the RSA Repository, and defining and execution of Tests in the RSA Testbed. These actions are effected by sending messages to local and remote Executors, developed as part of this effort. 3.1.2.1. Shall support user authentication and help to provide role based service for each user. 3.1.2.2. The Client shall provide a WinForm interface consisting of a view to select a specific tool to run, and views, initially hidden, for conducting all of the RSA activities, detailed below. 3.1.2.3. Shall keep track and inform user about addition or update of toolset at repository. 3.1.2.4. The Client shall provide a view in which to build code and documents and to view these products. This requirement is limited to hosting means provided by the Model Builder functionality. 3.1.2.5. The Client shall provide means to execute each tool from the RSA Tool Set, using local and remote Executors and, where needed, wrappers for legacy tools. The Executors load libraries, (^3) The model builder may use document and code structure and artifacts that make it relatively simple to parse, e.g., comment delimiters in code, for example. (^4) Meaningful manner means if there is some hierarchy then generated code should have same directory structure.

for tools structured as libraries, and start processes for tools that operate as stand-alone processes. Each tool developed for RSA, as part of this project, is expected to provide its own interface. This includes tools provided by the Repository and Testbed for check-in, check-out, extraction, and configuration, execution, and reporting of tests. 3.1.2.6. The Client shall provide means to pass command line arguments to legacy console application tools, redirect their standard outputs to a temporary file, and display the file to the user. 3.1.2.7. The Client shall provide integration via messages necessary to support all its integrated tools. For example, when the Client activates the RSA Repository’s check-in/check-out form, it passes one or messages to that form specifying a list of all the products built but not yet checked-in. It is expected that the Repository interface will allow selection from this list. 3.1.2.8. Shall support viewing of test configuration and results. 3.1.2.9. Shall support browsing of repository resources. 3.1.3. Remote Software Assistant Repository The Remote Software Assistant Repository is a means for persistent storage and versioning of RSA products, e.g., documents and code. 3.1.3.1. The Repository shall provide means of storing all products developed by the RSA system, with dependency information entered at check-in^5. 3.1.3.2. Every stored product shall be assigned a version number by the Repository, in one of two states, open or closed. 3.1.3.2.1. All files supplied for check-in process shall be given a new version number. 3.1.3.3. Check-in shall be allowed only if item is presented with all files to which current item refers, if they are not already in repository. 3.1.3.4. Check-in shall fail if any of the items referenced by current item is open. 3.1.3.5. The Repository shall support the modification or addition of new parts to an open check-in without reversioning. 3.1.3.5.1. Addition/Modification of new parts to open check-in shall result in overwriting previous files. 3.1.3.6. The Repository shall prevent any other component from referring to a component version that is open. 3.1.3.7. Shall support of cancellation of check-out of module. 3.1.3.8. Shall not allow check out of previously checked out module. 3.1.3.9. Shall not allow checkout of old versions. (^5) Check-in means placing new things in repository; it is not replacement of older version.

3.1.4.5. The Testbed shall provide a user interface that makes accessible all its functionality in stand-alone operation. 3.1.4.6. The Testbed shall provide means to create Test Configurations and save them to the Repository, as well as execute them. 3.1.4.7. The Testbed shall provide a communication end-point for transmission and reception of messages that gives access to all its functionality. 3.1.4.8. The Testbed shall store in the Shared Data component information about every Test Configuration execution. 3.1.4.9. Shall support halting of test process. 3.1.5. Remote Software Assistant Tool Set The Tool Set provides a set of newly developed and legacy tools that integrate into the RSA system. 3.1.5.1. The Tool Set shall provide a requirements database that satisfies the requirements of Project #1, Fall 2006. 3.1.5.2. The Tool Set shall provide a Change Logger that reads change information from the Shared Data component, enters that information into a change model, and removes the data from the Shared Data component. 3.1.5.3. The Change Logger shall provide change reports generated from the change model. Note that it is anticipated that this will use infrastructure provide by the RSA Model Builder. 3.1.5.4. The change Logger shall support searching of particular change. 3.1.5.5. The Tool Set shall provide a Bug Tracker that maintains a list of bugs reported against any RSA product. 3.1.5.6. The Bug Tracker display shall provide one line for each bug, providing a title, status (open, pending, closed), date of opening until closed, replaced by a closed data when closed. 3.1.5.7. Double-clicking on any line shall pop up a text display of the bug details and, when closed, its resolution. 3.1.5.8. The Tool Set shall provide an analysis tool that uses the Anal program, stored in the Handouts/CSE784/code/Anal folder, wrapping it with an Application Wrapper, so it is accessible to the RSA client. 3.1.5.9. All tools from the Tool Set shall provide a communication end- point, either directly, or via a wrapper, for transmission and reception of messages that gives access to its functionality.

3.1.6. Remote Software Assistant Communication Facility The communication Facility provides socket-based message-passing services with in a network, and web service-based message-passing service across the internet. 3.1.6.1. The Communication Facility shall provide means to create messages from XML strings and to extract the XML content string from a message. 3.1.6.2. Each message shall contain a type field and provide a means for setting and interrogating its type. 3.1.6.3. The Communication Facility shall provide a listener component and connector components for each machine on which it is installed. 3.1.6.4. The Communication Facility shall be implemented as a library that any RSA subsystem can load to access its message transfer capabilities. 3.1.6.5. The Communication Facility shall provide an addressing mechanism that directs messages to any specified IP address or UNC machine name. 3.1.6.6. The Communication Facility shall provide a registration process that will allow any using component to register for receipt of any message type sent to its listener. 3.1.6.7. The listener shall run on its own thread, but will not spawn threads for each connection. Instead the listener shall deposit each message in a queue from which messages are dispatched to each registered part of the receiver. Dispatching shall run on a thread separate from the listener. 3.1.6.8. Shall support stopping of any on going transfer. 3.1.6.9. Shall support extraction, check-out or transfer of any resource.^6 3.1.6.10. Shall support client side cache to prevent transfer of file from repository which already exists on local client cache. 3.1.6.11. Shall support cleaning of local cache. 3.1.6.12. Shall support multiple concurrent accesses to repository service. 3.1.6.13. Shall support fail-safe transfer means. 3.1.7. Remote Software Assistant Shared Data Service The Shared Data Service provides access to a dictionary storing key- value pairs, where the key is a string, and the value type can be specified by the user, e.g., it is typed as object. 3.1.7.1. The Shared Data Service shall provide a dictionary-based data storage service that is accessible to any component that needs to share data with another component. (^6) It may require to use encoding for some file transfers.

4. Definitions:

The Software Assistant System is a tool designed to help manage code development, control, and testing. The following terms are used in the Software Assistant Documentation. a. Version – a number, generated in sequence by the Repository Server, assigned to a file. This number is encoded in the file specification, using the convention: filename.VersionNumber.Extension Each checked-in modification of a file results in a new version number, generated sequentially. Should a version be removed from the Repository Server – a very rare event – versions of this file with higher version numbers will not be re-versioned. All files stored in the repository, including XML manifest files will be versioned. b. Item – a named, versioned, XML manifest file and all the files on which it holds references, excluding references to other items. Each item refers directly to exactly one product source code module that is to one C# source file or two C++ files, a header file and an implementation file. A manifest may also hold references to documentation files and other items on which it depends. Each Item represents a module and must refer to a Responsible Individual (RI), that is, some member of the development team. c. Component – one root item and all the items it references, either directly or indirectly. That is, a component is a top-level item and the closure of all its references. The name of a component is the name of its top-level item. Its version is the version of its top-level item. Programs are Items that refer only to module items, test source files, and documentation. Systems are items that refer only to program items, test source files, and documentation. d. Test Configuration – a named, versioned, XML manifest file that refers to production source code items and any number of test source code files for each source item. This XML file is referred to as a test item. A test item may refer to lower-level test items. That is, composition of test configurations is supported. e. Check-in – process of storing all the files of an item in the repository and providing sequenced version numbers, as described above. Only an item’s RI may check it in. On check-in, the item is given a unique identifier and version number. Check in does not replace files with earlier version numbers. Once an item is checked in it is immutable. f. Check-out – process of transferring files of an item to an RT Client for the express purpose of modification. Only the item’s RI may check it out.

g. Extraction – process of transferring a component’s files to an RT Client. Extraction is not limited to the item’s RI. However, no extracted items may be checked back in. Both RT Clients and the Testbed Server are expected to use extraction.