Shift Log Tool Refactoring

Slides:



Advertisements
Similar presentations
ALMA Cycle 2 Capability Jongsoo Kim ALMA EA Korea node.
Advertisements

Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array The March to Early.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
ALMA: The March to Early Science Al Wootten, ALMA/NA Project Scientist Cometary Radio Astronomy.
ALMA TACand the proposal process Lister Staveley-Smith Member, ALMA Review Panel.
Chapter 7: Client/Server Computing Business Data Communications, 5e.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
December 2007Chile Observatories Earthquake Preparedness Workshop1 Atacama Large Millimeter/submillimeter Array ALMA Eduardo Donoso.
Descripción y Areas del Dpto. de Computación de ALMA (ADC) Tzu-Chiang Shen Gerente del Grupo de Software Departamento de Computación ALMA Joint ALMA Observatory.
ALMA Common Software Basic Track Introduction to the ACS Framework.
ALMA Common Software Basic Track Software Engineering Basics.
Workshop in ALMA Logs Prepared by Juan Pablo Gil – Arturo Hoffstadt
ICT Coordination and Planning Meeting #1 (17-19 April 2013) ALMA Dashboard 1.0 Giorgio Filippi The Atacama Large Millimeter/submillimeter Array.
EA ARC Ken Tatematsu East-Asian ARC Manager. ARC organization Difference between ARCS: NA: concentrated in Charlottesville Europe: distributed in different.
A Search for Hydroxlyamine (NH 2 OH) Towards IRC+10216, Orion-S, Orion(KL), SgrB2(N), SgrB2(OH), W512M, W3(IRS5) R. L. Pulliam NRAO / North American ALMA.
The ALMA Software and Release Management Ruben Soto Software Operations Group & Release Manager Joint ALMA Observatory.
ALMA Integrated Computing Team Coordination & Planning Meeting #4 Santiago, November 2014 Reporting Software Principles M Chavan, ESO R Soto, ALMA.
ALMA Common Software Basic Track Component implementation guidelines.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array The ALMA Observing.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array The ALMA Observing.
ALMA Common Software Basic Track Test Driven Development Unit testing and TAT.
ALMA Common Software Basic Track Logging and Error Systems.
ALMA Common Software Basic Track A walk through ACS functionality.
ICALEPCS’ GenevaACS in ALMA1 Allen Farris National Radio Astronomy Observatory Lead, ALMA Control System.
ALMA Polarization Commissioning and Verification Status Kouichiro Nakanishi (Joint ALMA Observatory/NAOJ) on behalf of ALMA Polarization Commissioning.
Early Science Specification and Expected Array Evolution Masao Saito EA ALMA Project Scientist EA PS Report1 2nd ALMA Users Meeting 2011/1/13.
Computing ALMA Board Meeting November 2015 Jorge Ibsen Head of ADC, ICT Lead Contributions from: ADC Management (JAO): Achermann, Parra, Saldias, Shen,
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
ALMA and the Call for Early Science The Atacama Large (Sub)Millimeter Array (ALMA) is now under construction on the Chajnantor plain of the Chilean Andes.
ICALEPCS 2005 Geneva, Oct. 12 The ALMA Telescope Control SystemA. Farris The ALMA Telescope Control System Allen Farris Ralph Marson Jeff Kern National.
Atacama Large Millimeter/ submillimeter Array - ALMA ASAC Charges For Oct 31 ASAC Report to ALMA Board Al Wootten JAO Interim Project Scientist.
ALMA Common Software Basic Track Project Lifecycle.
ALMA Common Software Basic Track Configuration Database.
ALMA Common Software Basic Track Component/Container Model and Lifecycle Management.
Portlet Development Konrad Rokicki (SAIC) Manav Kher (SemanticBits) Joshua Phillips (SemanticBits) Arch/VCDE F2F November 28, 2008.
Introduction The concept of a web framework originates from the basic idea that every web application obtains its foundations from a similar set of guidelines.
Dashboard upcoming features A Hales, ALMA and M Chavan, ESO
ALMA ANTENNA KEY SPECIFICATIONS
ACA TP Spectrometer Manabu Watanabe (NAOJ)
Progress Apama Fundamentals
ALMA Common Software Basic Track
ALMA Software Scheduling subsystem Planning for cycle5 onwards
GrubTruck (iOS Food Truck App)
PRTS & KPI Nick Whyborn – Vasco Cortez
Principles of Network Applications
Obsprep Planning, 2017 Alan Bridger
Upgrade to Oracle12c in February 2017 José Parra
Software Engineering Architectural Design Chapter 6 Dr.Doaa Sami
Migrating Oracle Forms Using Oracle Application Express
A portal interface to myGrid workflow technology
Introduction to Web Services and SOA
Migration to the new EDAMIS
Outline Welcome: K.Y. Lo ALMA Project Status: Adrian Russell
ACS ALMA Common software Demo Setup
Lecture 1: Multi-tier Architecture Overview
Web Application Architectures
Welcome K. Y. Lo Director, NRAO
Chapter 17: Client/Server Computing
Web Application Architectures
Saravana Kumar CEO/Founder - Kovai Atomic Scope – Product Update.
Atacama Large Millimeter Array Science IPT Review
ALMA Town Meeting Introduction
RESTful Web Services.
NICOS – IBEX Interactions
Introduction to Web Services and SOA
Web Application Architectures
David Cleverly – Development Lead
Remedy Integration Strategy Leverage the power of the industry’s leading service management solution via open APIs February 2018.
The Future is Now with ASP.NET Core 3.0
Presentation transcript:

SLT Refactoring and JWT Authentication: Two Upgrade Proposals M Chavan, ESO

Shift Log Tool Refactoring

Some History Shift Log Tool was the first ObOps deliverable, 3Q2006 Several developers over the years Scope increased dramatically The context (on- and offline SW) changed as well

Very First Version Requirement: keep a log of Science activities

Major Change Requirement: react to system events SchedBlockStarted, etc.

Tight Coupling with Online SW SLT effectively became Online SW Business logic was in the stand-alone tool and in the ACS component New sci-ops requirements required backporting to Online code base Increasingly difficult towards end of cycle

Online and Offline Desktop SLT shares code with Web SLT Desktop was online, Web was offline

2015.8 - Decoupling from ACS No business logic in online component Remove offline dependencies from ACS

All is Not Well

All is Not Well / 2 Modules are duplicated in every STE Multiply failure sources We (ObOps) still have an online module Debugging is very difficult Especially from Europe

New Architecture A new ACS component writes to a staging DB SLTs only interacts with their DB

New ACS Component Receives and writes CORBA Events Makes CORBA calls and writes results Limited scope Low maintenance

Division of Responsibilities New ACS component to be written, maintained by SW Ops team ACS experts Close contact with online environment Offline components to be refactored by ObsIF

Plan for Cycle 5 Agree on the path forward Spec the new ACS component Implement and deploy it In parallel to existing implementation? Re-engineer offline modules

JWT Authentication

Web-based Application Security Currently using Central Authentication Service (CAS) Was tool of choice when we started Popular in academia (only) Provides Single Sign-On Good for server-side applications

Server-side Applications

Single Page Applications

Single Page Applications Single Page Applications load only once Communicate async with one or more REST servers Response is used to modify the Web page locally

Single Page Applications Front-end and back-end are clearly separate Front-end: visualization, interaction Back-end: data management, business logic Back-ends may serve non-GUI clients as well Back-ends should be secured

Why not CAS for SPAs? No machine-to-machine authentication Dashboard receives “events” from script AQUA requires services from AQUA/Pipeline Agent SnooPI requires services from AQUA, Project Tracker Requires a complex 3-way “dance” Front-end (JavaScript), REST back-end, CAS Done for SnooPI, no general solution

Securing Servers with JWTs JSON Web Tokens are open standard Transmitting information securely Encoded, digitally signed, optionally encrypted Self-contained: contain all required information User info (authentication/authorization)

JWT Pros Apply to SPAs and server-side Web apps Stateless (JWT itself is the state) Self-contained Only one authentication/authorization DB query Survive auth and app server restarts Support Single Sign-On and -Off Used by VLT, JIRA, and many more

JWT Cons No “best practices” (it’s a protocol) No magic bullet Security always implies tradeoffs

Backwards compatibility ALMA, ESO, NRAO all invested in CAS Any alternatives must provide a path forward and integrate with CAS Browser-based Single Sign-On must be preserved: users must be able to Sign-On with CAS and use JWT-secured resources Sign-On with JWT and use CAS-secured resources

Status General concepts fully clarified Expert panel gave positive feedback Prototype written as proof-of-concept No existing resources available Encouraging results CAS/JWT integration seems viable Protorype soon to be reviewed by expert panel

Plan Implement CAS/JWT integrated solution Migrate existing apps to JWT auth Dashboard back-end SnooPI AQUA/Pipeline Agent User Portal? Investigate whether porting AQUA, Protrack, …

Conclusions TO-DO

The Atacama Large Millimeter/submillimeter Array (ALMA), an international astronomy facility, is a partnership of Europe, North America and East Asia in cooperation with the Republic of Chile. ALMA is funded in Europe by the European Organization for Astronomical Research in the Southern Hemisphere (ESO), in North America by the U.S. National Science Foundation (NSF) in cooperation with the National Research Council of Canada (NRC) and the National Science Council of Taiwan (NSC) and in East Asia by the National Institutes of Natural Sciences (NINS) of Japan in cooperation with the Academia Sinica (AS) in Taiwan. ALMA construction and operations are led on behalf of Europe by ESO, on behalf of North America by the National Radio Astronomy Observatory (NRAO), which is managed by Associated Universities, Inc. (AUI) and on behalf of East Asia by the National Astronomical Observatory of Japan (NAOJ). The Joint ALMA Observatory (JAO) provides the unified leadership and management of the construction, commissioning and operation of ALMA.