A modular and extensible osgi shell
description
Transcript of A modular and extensible osgi shell
![Page 1: A modular and extensible osgi shell](https://reader036.fdocuments.in/reader036/viewer/2022062410/56815c38550346895dca2959/html5/thumbnails/1.jpg)
A MODULAR AND EXTENSIBLE OSGI SHELLLazar KirchevSAP AG
Reston, VA, USA 29th March
![Page 2: A modular and extensible osgi shell](https://reader036.fdocuments.in/reader036/viewer/2022062410/56815c38550346895dca2959/html5/thumbnails/2.jpg)
Outline• Motivation• New features• The Virgo story• Programming for the shell• Next steps
2
![Page 3: A modular and extensible osgi shell](https://reader036.fdocuments.in/reader036/viewer/2022062410/56815c38550346895dca2959/html5/thumbnails/3.jpg)
Motivation
•Why a new shell?• Usability features• Telnet access• Ssh support
3
![Page 4: A modular and extensible osgi shell](https://reader036.fdocuments.in/reader036/viewer/2022062410/56815c38550346895dca2959/html5/thumbnails/4.jpg)
Why a New Shell Demo
4
![Page 5: A modular and extensible osgi shell](https://reader036.fdocuments.in/reader036/viewer/2022062410/56815c38550346895dca2959/html5/thumbnails/5.jpg)
Features of the new shell• Based on Apache Gogo• Improved telnet connectivity• Ssh
• JAAS authentication support• Key-based authentication
• Command line editing and tab completion
• Backward incompatibilities
5
![Page 6: A modular and extensible osgi shell](https://reader036.fdocuments.in/reader036/viewer/2022062410/56815c38550346895dca2959/html5/thumbnails/6.jpg)
New Features Demo
6
![Page 7: A modular and extensible osgi shell](https://reader036.fdocuments.in/reader036/viewer/2022062410/56815c38550346895dca2959/html5/thumbnails/7.jpg)
The Shells in Virgo
• Two regions• Two independent shells• Configuration through ConfigAdmin
7
![Page 8: A modular and extensible osgi shell](https://reader036.fdocuments.in/reader036/viewer/2022062410/56815c38550346895dca2959/html5/thumbnails/8.jpg)
Virgo Shells Demo
8
![Page 9: A modular and extensible osgi shell](https://reader036.fdocuments.in/reader036/viewer/2022062410/56815c38550346895dca2959/html5/thumbnails/9.jpg)
Programming for the new shell• Based on the standard OSGi service model
• No need to implement predefined interfaces • Commands are OSGi services with the two properties:• osgi.command.scope• osgi.command.function
• Converters and Formatters• Compatibility with legacy commands
9
![Page 10: A modular and extensible osgi shell](https://reader036.fdocuments.in/reader036/viewer/2022062410/56815c38550346895dca2959/html5/thumbnails/10.jpg)
Coding Demo
10
![Page 11: A modular and extensible osgi shell](https://reader036.fdocuments.in/reader036/viewer/2022062410/56815c38550346895dca2959/html5/thumbnails/11.jpg)
Resources• Eclipse documentation
• Platform Plug-in Developer Guide -> Programmer's Guide -> Runtime overview -> Console Shell
• Virgo documentation• http://www.eclipse.org/virgo/documentation/• http://git.eclipse.org/c/virgo/org.eclipse.virgo.documentation.git/
plain/white-paper/virgo-white-paper.pdf
• Equinox dev mailing list: [email protected]
12
![Page 12: A modular and extensible osgi shell](https://reader036.fdocuments.in/reader036/viewer/2022062410/56815c38550346895dca2959/html5/thumbnails/12.jpg)
Q & A
13
![Page 13: A modular and extensible osgi shell](https://reader036.fdocuments.in/reader036/viewer/2022062410/56815c38550346895dca2959/html5/thumbnails/13.jpg)
Thank you!
14