180 likes | 641 Views
AMGA Web Interface . Salvatore Scifo INFN sez. Catania Tutorial per i Neo Assunti del Progetto PI2S2 Messina, 09.01.2007. Partnership. AMGA WI
E N D
AMGA Web Interface Salvatore Scifo INFN sez. Catania Tutorial per i Neo Assunti del Progetto PI2S2 Messina, 09.01.2007
Partnership • AMGA WI • The AMGA WI Project is carried out by INFN - Catania with the cooperation of the IR&T engineering s.r.l. of Catania (http://www.irt-engineering.it). The context of this work is the TriGrid VL Project (http://www.trigrid.it) and the ADAT Project (“Archivio Digitale Antichi Testi). • Trigrid VL Project aims to port several Industrial Use Cases over the Grid Infrastructure and the ADAT Project wants to design and implement a Digital Archive for Cultural Heritage that adopts Grid as a Content Management System (CMS). • Resources • INFN • S. Scifo (s.scifo@ct.infn.it) • IR&T engineering • V. Milazzo (v.milazzo@irt-engineering.it) Messina, Tutorial PI2S2, 09.01.20072
Introduction • Grid stores millions files distributed on several sites • Users and applications need a secure, fast and easy to use mechanism to: • organize files in a familiar manner (catalogue service) • find files quickly on the Grid (search engine) • search files using additional information about their contents (metadata attributes) • Metadata Service • allows user to: • associatedescriptiveattributeswith files (metadata) • publishattributes on catalogues • make catalogues available to end users and client applications Messina, Tutorial PI2S2, 09.01.20073
AMGA Basic Concepts • Attribute – typed couple<name, value> • Name– attribute identifier • Value – attribute value • Type– attribute data type (int, float, varchar, …) • Schema - set of attributes associated with a file • (example: Title varchar, Author varchar, Version varchar, CreationTime timestamp for text files) • Entry – file identifier with the instance of the metadata schema, meaning the values of its attributes • FileA -> AmgaWi presentation, S.Scifo, v.1.00, 25/09/2006 • Collection- set of entry • FileA -> AmgaWi presentation, S.Scifo, v1.00, 25/09/2006 • File B -> AmgaWi presentation, S.Scifo, v1.01, 25/09/2006 Messina, Tutorial PI2S2, 09.01.20074
AMGA Service Overview • AMGA (Arda Metadata Grid Application) provides a powerful interface to manage data and their metadata • Schema definition : possibility to define a set of attributes in order to describe the semantic of some entity (example: Dublin Coremetadata set describes digital objects published on the Web) • Flexibility : possibility to definedynamic schema in order to support a large number of application domains • Structural metadata : possibility to define hierarchical metadata structures in order to allow collections and sub collections definition • Scalability: possibility to manage a large amount of files and schemas • Security: powerful mechanism to ensure contents privacy and data integrity Messina, Tutorial PI2S2, 09.01.20075
Why a Web Interface? • Command Line • Expert User approach: • user account on a Grid UI is needed • net access to the Grid UI (internet eventually) is needed • troubles with Firewalls and security stuff, VPN solution is required • commands have to be typed, well knowledge of syntax is required • no wizards are present, user has to type all commands • user looses the high level view of metadata schemas • Web Interface • User Friendly (Beginner / Intermediate) approach: • no dependence on the Grid UI • only internet accesses is needed • fast and simple training and learning using wizards and encapsulated functionalities (no syntax knowledge is required) • simple and comfortable usage of the service • immediate interaction Messina, Tutorial PI2S2, 09.01.20076
High Level Requirement • Access Control • login as AMGA user providing a valid VOMS proxy file • permission for collection management (change mode – change owner) • ACL for collection management (list group, add group, drop group) • Collection Management • collection tree browsing • collection creation • collection deletion • collection ACL management • Metadata management • entry listing / searching • entry creation (insert entry name with attribute values) • entry modification (modify attribute values) • entry deletion • schema management • attribute listing • attribute creation • attribute deletion Note: all web functionalities are performed according to the business rules of the AMGA Server Messina, Tutorial PI2S2, 09.01.20077
Deployment Plan Application could be deployed on a dedicated server. This can be located inside the GRID network or outside. Currently the GILDA AMGA Server machine also hosts the web interface. Users access to the catalog towards the functionalities provided by the web interface. User uses a common Web Browser. Messina, Tutorial PI2S2, 09.01.20078
Software Architecture Every AMGA logical entity (collection, entry, attribute,..) is mapped to a specific software module. This ensures a very clean and simple software architecture with an high degree of cohesion and decoupling. These components work as services invoked by the overlying web pages. Every component is built on top the Official AMGA Java API. Messina, Tutorial PI2S2, 09.01.200710
Functional Tree Messina, Tutorial PI2S2, 09.01.200711
Log in Messina, Tutorial PI2S2, 09.01.200712
Browsing Collection Messina, Tutorial PI2S2, 09.01.200713
Metadata Schema Management Messina, Tutorial PI2S2, 09.01.200714
Entry Management Messina, Tutorial PI2S2, 09.01.200715
ACL Management Messina, Tutorial PI2S2, 09.01.200716
QBE like Query Engine Messina, Tutorial PI2S2, 09.01.200717
Query Result Messina, Tutorial PI2S2, 09.01.200718
Road Map • VOMS Server Integration • Administrative module to manage users and groups • ACL for entries management • Query engine improvement • Common browsers compatibility • Exception Handling improvement • Data/Metadata import/export • … Messina, Tutorial PI2S2, 09.01.200719