www.eu-etics.org infsom-ri-026753 training: browsing and editing with web tools paolo fabriani,...

21
www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Training: Browsing and Editing with Web Tools Editing with Web Tools Paolo Fabriani, Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) Engineering Ingegneria Informatica S.p.A. (Italy) ETICS Project ETICS Project

Upload: candace-dawson

Post on 16-Jan-2016

228 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

www.eu-etics.org

INFSOM-RI-026753

Training: Browsing and Editing Training: Browsing and Editing with Web Toolswith Web Tools

Paolo Fabriani, Paolo Fabriani,

Engineering Ingegneria Informatica S.p.A. (Italy)Engineering Ingegneria Informatica S.p.A. (Italy)

ETICS ProjectETICS Project

Page 2: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 2INFSOM-RI-026753

Summary

• OverviewOverview• TechnologyTechnology• Web Application LayoutWeb Application Layout• Browsing & Editing the ETICS datamodelBrowsing & Editing the ETICS datamodel• Security (AuthN & AuthZ)Security (AuthN & AuthZ)• ReferencesReferences

Page 3: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 3INFSOM-RI-026753

Service Overview

Build/TestArtefacts

Web Application

ReportDB

ProjectDB

NMI Scheduler

Clients

Web Service

NMI ClientWrapper

Via browser

WNs ETICS InfrastructureContinuous Builds

Page 4: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 4INFSOM-RI-026753

Technology

• Server-side technologiesServer-side technologies– Java 1.5Java 1.5– Apache Tomcat 5.0Apache Tomcat 5.0– hsqldbhsqldb– JDuck-PATJDuck-PAT

• Client-side technologiesClient-side technologies– JavascriptJavascript– DHTMLDHTML– AJAXAJAX– JDuck-WTJDuck-WT

Page 5: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 5INFSOM-RI-026753

Web Application Overview

• Browse & Edit the full ETICS DatamodelBrowse & Edit the full ETICS Datamodel– Project & Configuration structuresProject & Configuration structures– CommandsCommands– DependenciesDependencies

• SecuritySecurity– AuthN supported via the application containerAuthN supported via the application container– AuthZ based on a role-based approach implemented in the WSAuthZ based on a role-based approach implemented in the WS

• Identity-based UI customisationIdentity-based UI customisation– According to the AuthZ levelAccording to the AuthZ level– According to the usual working context (planned)According to the usual working context (planned)

Page 6: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 6INFSOM-RI-026753

Web Application Map

Project Selector

(Home)

Project/Configuration

Browser/Editor

Page 7: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 7INFSOM-RI-026753

Project Selector

• Lists all projects hosted by the ETICS platformLists all projects hosted by the ETICS platform• Project details are shown upon selection in a drop-Project details are shown upon selection in a drop-

down listdown list

Project Details

Page 8: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 8INFSOM-RI-026753

Web Application Layout

View/Edit PanelBrowse Panel

Configuration List

Page 9: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 9INFSOM-RI-026753

The Browse Panel

Project Explorer

• Three viewers in the Browse Panel:Three viewers in the Browse Panel:

1.1. Project Explorer: enables project Project Explorer: enables project structure browsing; i.e. navigate structure browsing; i.e. navigate through the current project, its through the current project, its subsystems and componentssubsystems and components

2.2. Configuration ExplorerConfiguration Explorer

3.3. Etics ExplorerEtics Explorer

Page 10: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 10INFSOM-RI-026753

The Browse Panel

Configuration Explorer

• Three viewers in the Browse Panel:Three viewers in the Browse Panel:

1.1. Project ExplorerProject Explorer

2.2. Configuration Explorer: enables the Configuration Explorer: enables the navigation within a the structure of a navigation within a the structure of a configuration (subconfigurations) configuration (subconfigurations) Platform-dependant items are also Platform-dependant items are also shown:shown:– SubconfigurationsSubconfigurations

– Build|Vcs|Test CommandsBuild|Vcs|Test Commands

– PropertiesProperties

– EnvironmentEnvironment

– DependenciesDependencies

3.3. Etics ExplorerEtics Explorer

Page 11: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 11INFSOM-RI-026753

The Browse Panel

ETICS Explorer

• Three viewers in the Browse Panel:Three viewers in the Browse Panel:

1.1. Project ExplorerProject Explorer

2.2. Configuration ExplorerConfiguration Explorer

3.3. ETICS Explorer: allows the navigation ETICS Explorer: allows the navigation among all the projects hosted by the among all the projects hosted by the ETICS platform. Specifically useful for ETICS platform. Specifically useful for dependency settingdependency setting

Page 12: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 12INFSOM-RI-026753

The View/Edit Panel

• Enables the inspection and editing of every object of Enables the inspection and editing of every object of the Project datamodel (modules, confs, commands, the Project datamodel (modules, confs, commands, properties, environment, subconfs, deps)properties, environment, subconfs, deps)

• The content of the Browse/Edit Panel changes The content of the Browse/Edit Panel changes according to selection in the browse panelaccording to selection in the browse panel

Module Viewer

Page 13: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 13INFSOM-RI-026753

The View/Edit Panel

• Organized around a tabbed panel allowing separate Organized around a tabbed panel allowing separate viewer while editingviewer while editing

Page 14: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 14INFSOM-RI-026753

The Configuration List Panel

• Lists configurationsLists configurations• Populated from different Populated from different

sources according to the sources according to the operation being operation being performed:performed:– Project browsing: shows Project browsing: shows

module configurations. You module configurations. You can go to them through a can go to them through a contex-menucontex-menu

Page 15: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 15INFSOM-RI-026753

The Configuration List Panel

– Subconfiguration editing: shows available configurations for sub-Subconfiguration editing: shows available configurations for sub-modules. You can set them as subconfiguration through a modules. You can set them as subconfiguration through a contex-menucontex-menu

– Dependency editing: shows configurations for the module to put Dependency editing: shows configurations for the module to put a dependency on. You can set them as (static or dynamic) a dependency on. You can set them as (static or dynamic) dependency through a contex-menudependency through a contex-menu

Page 16: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 16INFSOM-RI-026753

Authentication

• AuthN is based on X.509 certificatesAuthN is based on X.509 certificates– You’ll have the rights granted to you by the You’ll have the rights granted to you by the

Administrator of each projectAdministrator of each project

• However, access without certificate is However, access without certificate is still allowedstill allowed– You’ll be mapped to a ‘Guest’ user, with You’ll be mapped to a ‘Guest’ user, with

minimal privileges (most likely just read minimal privileges (most likely just read access) in most areasaccess) in most areas

• WebApplication is available on https WebApplication is available on https (port 8443)(port 8443)

Page 17: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 17INFSOM-RI-026753

Authorization

• ETICS adopts a role-based approach to AuthZETICS adopts a role-based approach to AuthZ

• A number of roles have been defined:A number of roles have been defined:– Guest Guest – has the minimum level of authz. He has read-only access– has the minimum level of authz. He has read-only access– DevelopersDevelopers - work on the implementation of the software. Identify - work on the implementation of the software. Identify

dependenciesdependencies– IntegratorsIntegrators - run together different software components, checking - run together different software components, checking

there are no conflicts among themthere are no conflicts among them– TestersTesters - can register and submit tests attached to configurations - can register and submit tests attached to configurations – Release ManagersRelease Managers - are responsible for the release of the project - are responsible for the release of the project

software. Decide when the software is mature enough to be releasedsoftware. Decide when the software is mature enough to be released– Module AdministratorsModule Administrators - can create and manage projects, assign - can create and manage projects, assign

permissions, set policies, etcpermissions, set policies, etc– AdministratorsAdministrators - responsible for setting up the ETICS infrastructure, - responsible for setting up the ETICS infrastructure,

creating projects, registering userscreating projects, registering users

Page 18: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 18INFSOM-RI-026753

Authorization (cont’d)

• ETICS AuthZ ModelETICS AuthZ Model– Roles are assigned to users within a Roles are assigned to users within a contextcontext– A A contextcontext is either a module (projects, subsystems, components) is either a module (projects, subsystems, components)

or a configurationor a configuration– ContextsContexts are hierarchal according to the project/configuration are hierarchal according to the project/configuration

structurestructure

ProjectProject Project ConfigurationProject Configuration

SubsystemSubsystem Subsystem ConfigurationSubsystem Configuration

ComponentComponent

Component ConfigurationComponent Configuration

ComponentComponent Component ConfigurationComponent Configuration

Page 19: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 19INFSOM-RI-026753

Authorization (cont’d)

– Roles assigned to users in higher context are inherited in lower Roles assigned to users in higher context are inherited in lower onesones

– Example: if you have a role at Example: if you have a role at SubsystemSubsystem level, you also have level, you also have that role on subsystem, that role on subsystem, Subsystem ConfigurationsSubsystem Configurations,, ComponentsComponents and and Component ConfigurationsComponent Configurations

ProjectProject Project ConfigurationProject Configuration

SubsystemSubsystem Subsystem ConfigurationSubsystem Configuration

ComponentComponent

Component ConfigurationComponent Configuration

ComponentComponent Component ConfigurationComponent Configuration

Page 20: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 20INFSOM-RI-026753

References

• Project Home page:Project Home page:– http://www.eu-etics.orghttp://www.eu-etics.org

• ETICS Web Application:ETICS Web Application:– https://etics.cern.ch:8443/eticshttps://etics.cern.ch:8443/etics

• Bug and requirements tracking (Savannah)Bug and requirements tracking (Savannah)– http://savannah.cern.ch/projects/etics/http://savannah.cern.ch/projects/etics/

• TwikiTwiki– https://uimon.cern.ch/twiki/bin/view/ETICS/WebHomehttps://uimon.cern.ch/twiki/bin/view/ETICS/WebHome

• Mailing-listsMailing-lists– [email protected]@cern.ch– [email protected]@cern.ch

Page 21: Www.eu-etics.org INFSOM-RI-026753 Training: Browsing and Editing with Web Tools Paolo Fabriani, Engineering Ingegneria Informatica S.p.A. (Italy) ETICS

ETICS Training - Web Tools - 24 September 2006 - CERN 21INFSOM-RI-026753

Thanks

http://www.eu-etics.org

Thank you!Thank you!