Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cadc 12356 Add support for desktop-app to Skaha API #464

Merged
merged 57 commits into from
Jul 21, 2023

Conversation

yeunga
Copy link
Contributor

@yeunga yeunga commented May 3, 2023

Desktop-app creation will allow user to specify number of cores and amount of RAM.
New Skaha API to be added:
GET /session/{sessionID}/app. -- returns a list of desktop-app
GET /session/{sessionID}/app/{appID}. -- returns the specified desktop-app
DELETE /session/{sessionID}/app/{appID} -- deletes the specified desktop-app

Copy link
Member

@brianmajor brianmajor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've taken a cursory look with a few comments. Mostly I think we should have integration tests that create a desktop session, attach a desktop-app, get the app, then delete both the app and the session. That'll be a good test of functionality.

yeunga and others added 22 commits May 5, 2023 13:13
…esktop-app. This change has not been tested on keel-dev yet. Currently keel-dev is down.
… when there is an error launching a desktop-app.
…s assumes that CADC-12493 will be released first.
…sing config parameters in catalina.properties.
@shinybrar
Copy link
Collaborator

I would also like to add support for this in the Python Skaha API. Documentation on usage would be great when the PR is merged.

…to use gnome-terminal instread of xterm to avoid an xterm being launched on skaha-desktop startup. Now there is a added menu item (Applications->System->Terminal) that needs to be removed.
@brianmajor brianmajor merged commit e91c3a2 into opencadc:master Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants