ACS Component Simulator J. Ibsen European Southern Observatory Garching – January 2007ESO.

Slides:



Advertisements
Similar presentations
Tokyo July, 2005 Deployment of ACS components Bogdan Jeram European Southern Observatory.
Advertisements

SIMWARE 4.X. Confidential 2 © NEXTEL AEROSPACE DEFENCE & SECURITY S.L., Reservados todos los derechos / All Rights Reserved 1. Capacities of SimWare.
ACS Configuration Database(s)
Persistent State Service 1 CORBA Component  Component model  Container programming model  Component implementation framework  Component packaging and.
7 th ACS Workshop 2010 Antofagasta, Chile ACS Project Lifecycle Matias Mora (based on presentation by G. Chiozzi and J. Ibsen)
ACS Workshop UCN BACI properties Atacama Large Millimeter Array Alessandro Caproni European Southern Observatory BACI properties.
Tool for Automated Testing P. Sivera European Southern Observatory Garching – January 2007ESO.
® IBM Software Group © 2006 IBM Corporation How to read/write XML using EGL This Learning Module shows how to utilize an EGL Library to read/write an XML.
Scott Pinkerton Sample GUI/Application Portfolio 1.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Lesley Bross, August 29, 2010 ArcGIS 10 add-in glossary.
Container-component model and XML in ALMA ACS Heiko Sommer (ESO), Gianluca Chiozzi (ESO), Klemen Zagar (Cosylab) and Markus Völter.
UPC/SHMEM PAT High-level Design v.1.1 Hung-Hsun Su UPC Group, HCS lab 6/21/2005.
ESO - Garching 23 June – 02 July, 2003 ACS Course Data entities and XML serialization H. Sommer.
The Sardana device pool for SPEC lovers - BLISS Seminar - January 15, 2007 The Sardana device pool for SPEC lovers BLISS Seminar January 15, 2007 Tiago.
The ALMA Common Software: a developer friendly CORBA-based framework G.Chiozzi d, B.Jeram a, H.Sommer a, A.Caproni e, M.Pesko bc, M.Sekoranja b, K.Zagar.
COMP 410 & Sky.NET May 2 nd, What is COMP 410? Forming an independent company The customer The planning Learning teamwork.
ALMA Common Software Basic Track Introduction to the ACS Framework.
ALMA Common Software Basic Track Software Engineering Basics.
50mm Telescope ACS Course Garching, 15 th to 19 th January 2007 January 2007Garching.
ACS Error System Using it in JAVA Sohaila Lucero NRAO.
Integrating the CERN laser alarm system with the ALMA common Software SPIE, Orlando, May 2006 Integrating the CERN LASER Alarm System with the ALMA Common.
Magnetic Field Measurement System as Part of a Software Family Jerzy M. Nogiec Joe DiMarco Fermilab.
.NET Framework Danish Sami UG Lead.NetFoundry
POSTECH DP & NM Lab. (1)(1) POWER Prototype (1)(1) POWER Prototype : Towards Integrated Policy-based Management Mi-Joung Choi
Garching January, 2007 Configuration Database and Deployment of ACS components Bogdan Jeram, changes by Heiko Sommer European Southern.
ICALEPCS Archamp 08 – 09 October, 2005 ACS Alarm system prototype Alessandro Caproni.
ALMA Common Software Basic Track Test Driven Development Unit testing and TAT.
Shannon Hastings Multiscale Computing Laboratory Department of Biomedical Informatics.
ALMA Common Software Basic Track Logging and Error Systems.
ACS Error System APIs: C++ Bogdan Jeram European Southern Observatory July 2005ESO.
AtacamaLargeMillimeterArray ACS Training Developing Python Components.
Building Extensible Desktop Applications with Zope 3 Nathan R. Yergler Software Engineer Creative Commons Licensed under Creative Commons Attribution 2.5.
APEX (ATACAMA PATHFINDER EXPERIMENT) Heiko Hafok, Dirk Muders Max-Planck-Institute for Radioastronomy, Bonn, Germany.
ALMA Common Software Basic Track A walk through ACS functionality.
LHCb Software Week November 2003 Gennady Kuznetsov Production Manager Tools (New Architecture)
Running ACS Bogdan Jeram European Southern Observatory July 2005NAOJ.
AtacamaLargeMillimeterArray Abeans. Garching, February 2004ACS Training2 What are Abeans? Abeans are Java beans of the IDL interfaces (for the client.
ESO - Garching 23 June – 02 July, 2003 ACS Course Transparent XML De-/Serialization in Java H. Sommer.
Apr. 8, 2002Calibration Database Browser Workshop1 Database Access Using D0OM H. Greenlee Calibration Database Browser Workshop Apr. 8, 2002.
ICALEPCS 2005 Geneva, Oct. 12 The ALMA Telescope Control SystemA. Farris The ALMA Telescope Control System Allen Farris Ralph Marson Jeff Kern National.
1 Unified Modeling Language, Version 2.0 Chapter 2.
March 19th 2007 TANGO collaboration 1 POGO-7 Pascal Verdier ESRF- Hamburg - 25 th of October 2010 A Short History of Pogo A Short History of Pogo New Technology.
Garching - 15th - 19th January, 2007 ACS: status and latest development The ACS Team.
NAOJ, Tokyo – July 04-08, 2005 ACS Configuration Database Bogdan Jeram European Southern Observatory.
LCG Distributed Databases Deployment – Kickoff Workshop Dec Database Lookup Service Kuba Zajączkowski Chi-Wei Wang.
ICALEPCS Archamp 08 – 09 October, 2005 ACS Configuration Database G.Chiozzi, B.Jeram European Southern Observatory.
AtacamaLargeMillimeterArray ACS Training Using the Python Error System.
1st ACS Workshop UTFSM, Valparaiso, Chile ACS Course The Big Picture of ACS H. Sommer, G.Chiozzi.
8 Copyright © 2004, Oracle. All rights reserved. Making the Model Secure.
ALMA Common Software Basic Track Project Lifecycle.
ESO - Garching 08 – 09 March, st ALMA Common Software Workshop ACS Container/Component Model.
ALMA Common Software Basic Track Configuration Database.
Personalizing Web Sites Nasrullah. Understanding Profile The ASP.NET application service that enables you to store and retrieve information about users.
ACS on VxWorks B.Gustafsson European Southern Observatory ESO Feb ESO.
ESO - Garching 08 – 09 March, st ALMA Common Software Workshop XML « Data by Value » Transport.
Ganga/Dirac Data Management meeting October 2003 Gennady Kuznetsov Production Manager Tools and Ganga (New Architecture)
Introduction to UML and Rational Rose UML - Unified Modeling Language Rational Rose 98 - a GUI tool to systematically develop software through the following.
Wrap up. Structures and views Quality attribute scenarios Achieving quality attributes via tactics Architectural pattern and styles.
Re Write POGO using openArchitectureWare Technology ● Pogo History ● OpenArchitectureWare technology ● Generated code ● Project status.
*DT Project Model Leo Treggiari Intel Corp. Dec, 2005.
Behavioral Interactive and Introspective Objects
ALMA Common Software Basic Track
ACS Alarm System A. Caproniac
Notification Channel - Java API
Integrated Alarm System for the ALMA Observatory
ACS ALMA Common software Demo Setup
The Most Popular Android UI Automation Testing Tool Andrii Voitenko
The JSF Tools Project – WTP (internal) release review
Product Training Program
Presentation transcript:

ACS Component Simulator J. Ibsen European Southern Observatory Garching – January 2007ESO

ALMA Project Garching, January 2007Component Simulator2 Summary What is it? (some) Requirements Implementation What do we need? Cookbook Examples Final remarks/Homework

ALMA Project Garching, January 2007Component Simulator3 What is it? An ACS component/characteristic component capable to implement its IDL interface at runtime Useful for test driven development and to provide cheap/easy-to-deploy mock-up components (simulating normal/alternative behaviors).

ALMA Project Garching, January 2007Component Simulator4 (some) Requirements Methods and attributes should be generated on the fly Simulated component should behave as a real component (respecting the component lifecyle) Different component behaviors should be “easily” added. APIs should be available to developers.

ALMA Project Garching, January 2007Component Simulator5 Implementation Simulator component has been implemented in python (dynamic inheritance, methods can be redefined at runtime) Configuration is done populating the CDB (CDB/alma/simulated)

ALMA Project Garching, January 2007Component Simulator6 What do we need? Brand new IDL (and schema if we have a characteristic component) Runtime environment (i.e. CDB suitable to start ACS and containers)

ALMA Project Garching, January 2007Component Simulator7 Cookbook: deployment Add component to CDB/MACI/Components.xml If we’re dealing with a characteristic component, add an entry to: CDB/alma/ /.xml Add entry to: CDB/alma/simulated/ /.xml

ALMA Project Garching, January 2007Component Simulator8 Ex 1: getting a reference Start ACS Start simulationContainer Open objexp and get a reference to the simulated component

ALMA Project Garching, January 2007Component Simulator9 Ex 2: methods From the simulation GUI, select the objfix method Insert code to change objfix Setup simulation CDB entry to add the code

ALMA Project Garching, January 2007Component Simulator10 Simulation CDB elements : python libraries Schema file: SimulatedComponent.xsd

ALMA Project Garching, January 2007Component Simulator11 Ex 3: properties Properties are simulated at DevIO level. Tip: write down a python module with the DevIO for the simulated property and a getDevIO function Add code to the simulation CDB entry

ALMA Project Garching, January 2007Component Simulator12 Ex 4: methods and properties Write down a python module with the desired simulation Include it in the section Call your functions from the and sections

ALMA Project Garching, January 2007Component Simulator13 Final Remarks The component simulator allows to decouple some test development from implementation Allows developers to a test first approach

ALMA Project Garching, January 2007Component Simulator14 Homework Prepare a simulation for your interface Prepare xUnit/other tests to use when the implementation is ready