CRaSH Portal Team. 2 Agenda Introduction to CRaSH Deployment and connection Using the CRaSH command Develop the CRaSH commands yourself.

Slides:



Advertisements
Similar presentations
© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Ashish Mishra Automation Lifecycle of Mobile Applications.
Advertisements

Web Toolkit Julie George & Ronald Lopez 1. Requirements  Java SDK version 1.5 or later  Apache Ant is also necessary to run command line arguments 
A3.1 Assignment 3 Simple Job Submission Using GT 4 GRAM.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Ferry Astika Saputra Workshop Administrasi Jaringan TELNET & SSH.
Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
WebGoat & WebScarab “What is computer security for $1000 Alex?”
DIMES Planner The DIMES Project Tel Aviv University October-2010.
CSCI 1411 FUNDAMENTALS OF COMPUTING LAB Lab Introduction 1 Shane Transue MSCS.
Oracle Fusion Middleware 11g Abhishek Khanolkar. What is Oracle Fusion? “Oracle Fusion Middleware is a ‘preintegrated’ portfolio of customer- proven software.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
Chapter 2: Automating the Windows Vista Installation.
Remote Login: TELNET and
Introduction to CVS 7/3/20151UMBC CMSC 341. Outline Introduction to Source Code Management What is CVS? CVS for Project Submission Basic commands Checkout,
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
FileZilla Skills: install and use FileZilla IT concepts: portable software, file transfer protocol (FTP), Web site mirror This work is licensed under a.
Virtual Machine and UNIX. What is a VM? VM stands for Virtual Machine. It is a software emulation of hardware. By using a VM, you can have the same hardware.
Chapter 6: Hostile Code Guide to Computer Network Security.
Creating a Hello App Using Google App Engine. What are Google apps? Apps is an abbreviation for application. An app is a piece of software. It can run.
8/17/2015CS346 PHP1 Module 1 Introduction to PHP.
Agenda What is Computer Programming? The Programming Process
Computation for Physics 計算物理概論 Introduction to Linux.
CSE 390a Editing and Moving Files
Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis.
10/5/2015CS346 PHP1 Module 1 Introduction to PHP.
LiveCycle Data Services Introduction Part 2. Part 2? This is the second in our series on LiveCycle Data Services. If you missed our first presentation,
Automate Administration with KURL Shayne Koestler.
Sharif University of technology, Parallel Processing course, MPI & ADA Server Introduction By Shervin Daneshpajouh.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
SNS Integrated Control System A process manager for soft IOCS DH Thompson.
Computer Science and Engineering Department VI I - SEMESTER Subject Name : MIDDLEWARE TECHNOLOGIES LABORATORY Subject Code : IT-404.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 13 FTP and Telnet.
SQL Injection Jason Dunn. SQL Overview Structured Query Language For use with Databases Purpose is to retrieve information Main Statements Select Insert.
Compiling a C Program. Before we can begin we must open a telnet session to phobos. There are a number of ways to do this, but the easiest is to click.
JCR Content Management Jukka Zitting
CGS 3460 Why we choose UNIX n Powerful lMulti-user operating system lGood programming tools Most heavy-duty database management systems started out on.
Plugin management in Geronimo admin console
REMOTE LOGIN. TEAM MEMBERS AMULYA GURURAJ 1MS07IS006 AMULYA GURURAJ 1MS07IS006 BHARGAVI C.S 1MS07IS013 BHARGAVI C.S 1MS07IS013 MEGHANA N. 1MS07IS050 MEGHANA.
CODELABOR Shin Sang Jae Template Guide (codelabor-flex-lcds-template)
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
ORAFACT The Secure Shell. ORAFACT Secure Shell Replaces unencrypted utilities rlogin and telnet rsh rcp Automates X11 authentication Supports tunneling.
APST Internals Sathish Vadhiyar. apstd daemon should be started on the local resource Opens a port to listen for apst client requests Runs on the host.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 25.1 Test-Driving the ATM Application 25.2.
TELNET 1.TELNET 2.SSH. TELNET  TELNET is an abbreviation for TErminaL NETwork.  It is the standard TCP/IP protocol for virtual terminal service as proposed.
Instructions for ConnectK Game AI project
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Version Control System
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
1 G52IWS: Example Web-services Chris Greenhalgh. 2 Contents Software requirements AXIS web service run-time components Getting started with Jetty & AXIS.
© 2012 LogiGear Corporation. All Rights Reserved FitNesseFitNesse Authors: Nghia Pham 1.
Don’t Duck Metadata March 2005 Introducing Setting Up a Clearinghouse Node Topic: Introduction to Setting Up a Clearinghouse Node Objective: By.
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
CMPE 226 Database Systems April 19 Class Meeting Department of Computer Engineering San Jose State University Spring 2016 Instructor: Ron Mak
Module of the week Webform 7.x-4.0-alpha9 – admin/config/content/webform Add content types, choose allowed fields, default values and advanced options.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
Debugging RTC CLI in Eclipse
Secure services Unit-IV CHAP-1
Autodesk Dev Days 2015 The road ahead DevDays 2015
Fundamental of Databases
Chapter 7: Using Network Clients
Build Automation with Gradle
Andy Wang Object Oriented Programming in C++ COP 3330
How to Fix Secure Connection Error in WordPress?.
What is Bash Shell Scripting?
Module 1 Introduction to PHP 11/30/2018 CS346 PHP.
Andy Wang Object Oriented Programming in C++ COP 3330
Tutorial Unix Command & Makefile CIS 5027
Introduction to AppInventor
An Introduction to JavaScript
Presentation transcript:

CRaSH Portal Team

2 Agenda Introduction to CRaSH Deployment and connection Using the CRaSH command Develop the CRaSH commands yourself.

3 Introduction to CRaSH

4 What's CRaSH ? » A shell for JCR that bundled as a war file to deploy in eXo portal 2.5.x or Gatein » Allow remote connection to a server and perform various operations » Test JCR queries » CRaSH was written in Java and Groovy » CRaSH project hosted on Google Code under LGPL ( » Current version : – beta10

5 What's CRaSH ?

Deployment and connection

7 Deployment » Copy crash.war into server eXo Portal 2.5.x or Gatein » CraSH.war will be deployed in server running » CraSH.war could be built from source code or download from hosted site

8 Connect to CRaSH » We use telnet or SSH to connect on port 5000 (with telnet) and 2000 (with SSH) telnet localhost 5000 Trying ::1... Connected to localhost. Escape character is '^]'. CRaSH beta11-SNAPSHOT ( Welcome to exo! It is Wed Sep 08 15:55:56 ICT 2010 now. %

Using the CraSH commands

10 CraSH commands » CraSH provide some commands to access JCR from shell  Connect to a repository  Listing the content of a node  Changing the current node  Printing the current node  Copying a node  Removing a node .....

11 Introduce useful commands » Demo some commands with gatein

Develop the CRaSH command yourself

13 How to develop a command » The shell command is based on the Groovy language » Use args4j project to inject the options and arguments on the command class » Each command has a corresponding Groovy file in /WEB-INF/groovy/commands

14 CRaSH components Telnet SCP SSH Connectors Shell Engine Shell Engine JCR Connector JCR Connector Command Args4j Groovy

15 How to develop a command ClassCommand _________________ execute() : Object connect ___________________ execute() : Object connect.groovy file

16 How to develop a command CRaSH provides some useful functions: » assertConnected() checks that the user is connected » getCurrentNode() returns the current node » setCurrentNode(Node node) updates the current node » findNodeByPath() returns a node based on the provided path » formatValue(Value value) formats a JCR value into a suite text value » formatPropertyValue(Property property) format a JCR property value into a suite text value

Q & A Reference: int.exoplatform.org/display/exoproducts/CRaSH+utility+scripts