Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

First app init & push implementation #4

Merged
merged 7 commits into from Oct 31, 2019

Conversation

ziccardi
Copy link
Member

@ziccardi ziccardi commented Sep 12, 2019

Motivation

Jiras:

Changelog

  1. Added a WorkspaceManager class to be used to manage the workspace and the objects contained into the workspace
  2. Added a KubeClient wrapper class to simplify the interaction with the kube apis.
  3. Added app init command implementation
  4. Added push command implementation
  5. Put in place a basic structure to be able to support multiple applications
  6. Added a spinner for long operations

Verification

  1. login to openshift with kubectl or oc
  2. clone this BRANCH
  3. run make install
  4. run the command as kubectl ag: that will show some help about the available ag commands
  5. create an app running kubectl ag app init my-wonderful-app
  6. check that an .ag folder is created in the current directory and that it contains the json of your new application
  7. push the application with kubectl ag push
  8. check that application is visible into MDC if you have it running, otherwise check that the CR has been created in the correct namespace.
  9. when finished with the tests, run make uninstall

Examples

Creating an application

$ kubectl ag app init myapp

Pushing an app to the server

$ kubectl ag push

src/cmds/push.ts Outdated Show resolved Hide resolved
src/model/MobileApp.ts Outdated Show resolved Hide resolved
@ziccardi
Copy link
Member Author

@wtrocki All your concerns should be now addressed

@ziccardi ziccardi force-pushed the AEROGEAR-9864 branch 3 times, most recently from 4e89c42 to a5a7707 Compare September 13, 2019 10:19
@ziccardi ziccardi marked this pull request as ready for review October 31, 2019 11:01
@ziccardi ziccardi merged commit 7d01049 into aerogear:master Oct 31, 2019
@ziccardi ziccardi deleted the AEROGEAR-9864 branch October 31, 2019 11:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants