Commit Graph

86 Commits

Author SHA1 Message Date
Sun Jianbo
72ea2c8782 Merge pull request #73 from zzxwill/unbind
Detach trait
2020-08-06 00:16:54 +08:00
Sun Jianbo
844b1e5c86 Merge pull request #92 from zzxwill/run-issue
Fix containerized:run issue
2020-08-06 00:15:41 +08:00
Sun Jianbo
b2c71cee0a Merge pull request #93 from zzxwill/refine-docs
Refine README and add command app:xxx
2020-08-06 00:09:48 +08:00
zzxwill
e019782ae2 fix typo 2020-08-05 21:46:32 +08:00
zzxwill
fda918ba39 Refine README and add command app:xxx 2020-08-05 21:33:46 +08:00
zzxwill
650288de88 Fix containerized:run issue
Fix issue #91 of "panic: assignment to entry in nil map"
2020-08-05 20:15:17 +08:00
zzxwill
547fdd3ff6 refine trait detaching 2020-08-05 20:06:00 +08:00
zzxwill
38b906c0f0 use command rudr <TraitType>:detach to detach a trait 2020-08-05 20:06:00 +08:00
zzxwill
7272069bff remove old detach command from main 2020-08-05 20:06:00 +08:00
zzxwill
7ff3e3b7ca merging trait detaching from detach.go to trait_bind 2020-08-05 20:06:00 +08:00
zzxwill
d200c6da6f delete file pkg/cmd/bind.go 2020-08-05 20:06:00 +08:00
zzxwill
0d4ee6970b refine detach with extended traitdefinition 2020-08-05 20:06:00 +08:00
zzxwill
0496bff6ea Detach trait
detach trait from an application
2020-08-05 20:06:00 +08:00
Sun Jianbo
49b285a619 Merge pull request #76 from zzxwill/status
implement `rudr status`
2020-08-05 13:50:10 +08:00
zzxwill
9c8c59ab2c check Marshal error 2020-08-05 11:28:45 +08:00
zzxwill
6210fef049 use applicationName here instead of appConfig.Spec.Components[0].ComponentName 2020-08-04 21:16:52 +08:00
zzxwill
bd1fd83c20 address comments from @Wonderflow 2020-08-04 21:16:52 +08:00
zzxwill
01ade795e3 implement rudr status
Implement `rudr status <APPLICATION-NAME>` to show the status
of the application, its workloads and traits
2020-08-04 21:16:52 +08:00
Sun Jianbo
648ad3321b Merge pull request #83 from zzxwill/ls-issue
Fix `rudr list` issue
2020-08-04 10:56:47 +08:00
Sun Jianbo
ca93a493a2 Merge pull request #84 from erdun/workload
Add component's workload label
2020-08-03 21:24:56 +08:00
zzxwill
a81b383be0 address comments from @Wonderflow 2020-08-03 21:21:14 +08:00
erdun
2989f738c9 workload label 2020-08-03 20:58:36 +08:00
zzxwill
d1b8fc214c Fix rudr list issue
Use the new way to retrieve namespace
2020-08-03 20:56:58 +08:00
Sun Jianbo
adc9d17482 Merge pull request #72 from wonderflow/trait
refactor trait from rudr bind to rudr <trait-type> appname
2020-08-02 10:55:44 +08:00
天元
1b4e79eea6 refactor trait from rudr bind to rudr <trait-type> appname 2020-08-01 21:46:19 +08:00
Sun Jianbo
f026f2f07c Merge pull request #70 from wonderflow/run
refactor rudr run to rudr <workload>:run
2020-08-01 18:40:40 +08:00
天元
728ebb33b2 refactor rudr run to rudr <workload>:run 2020-08-01 13:14:06 +08:00
Sun Jianbo
194bd472dc Merge pull request #65 from cloud-native-application/env
support rudr env
2020-07-31 12:23:15 +08:00
天元
dcf311cd4a clean up docs and test 2020-07-31 12:18:17 +08:00
天元
89601bee18 support rudr env 2020-07-31 10:34:17 +08:00
Sun Jianbo
b9a5389678 Merge pull request #45 from zzxwill/definition-extension
Move template to definition Extension field
2020-07-31 10:02:00 +08:00
zzxwill
318f9e59ae Correct rebase issue and add e2e test 2020-07-30 23:31:01 +08:00
zzxwill
e91dceac4b Make modification for latest xxxdefinition.spec.extension 2020-07-29 22:40:39 +08:00
zzxwill
b4065b1174 Move template to definition Extension field
As we plan to deprecate template, move template
to workloaddefinition and traitdefinition respectively.
2020-07-29 22:33:40 +08:00
Sun Jianbo
0cc615d7bb Merge pull request #62 from cloud-native-application/workloads
init rudr workloads
2020-07-29 19:03:25 +08:00
天元
bc52589ab6 init rudr workloads 2020-07-29 18:56:13 +08:00
Sun Jianbo
eacf298e25 Merge pull request #60 from cloud-native-application/traits
fix rudr traits
2020-07-29 18:49:12 +08:00
天元
2fb8eb6975 fix rudr traits 2020-07-29 17:57:55 +08:00
Sun Jianbo
04ccf7da10 Merge pull request #56 from cloud-native-application/ls
rename rudr apps to rudr ls
2020-07-29 16:58:08 +08:00
天元
a0646a2b53 rename rudr apps to rudr ls 2020-07-29 16:50:02 +08:00
Sun Jianbo
391638a36b Merge pull request #54 from cloud-native-application/more
fix CI
2020-07-29 16:46:15 +08:00
天元
66acb74f3b fix CI 2020-07-29 16:29:38 +08:00
Herman Zhu
a9f9bc055c feat(init): Add rudr init (#43)
* feat(init): Add `rudr init`

Support `rudr init` which will check/install oam-k8s-runtime into
cluster

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(init): Add `rudr init`

Support `rudr init` which will check/install oam-k8s-runtime into cluster

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(init): add version flag

Add version flag

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(init): create native resource WorkloadDefinition

Create native resource WorkloadDefinition

Fixes: #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
2020-07-29 15:54:21 +08:00
Sun Jianbo
9d64307755 Merge pull request #50 from zzxwill/unbind
Refactor `rudr apps`
2020-07-27 10:44:23 +08:00
guoxudong
51f9ff4c61 add delete cmd (#48)
* add delete cmd

Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-07-27 10:43:47 +08:00
zzxwill
a6e730d7bd Refactor rudr apps
Move some basic functions to cmd.util.helpers.go and
decompose some of them for further calling, like
`rudr unbind`
2020-07-24 21:47:11 +08:00
Sun Jianbo
3fa46a2321 Merge pull request #47 from zzxwill/apps
Implement list applications
2020-07-24 17:56:28 +08:00
zzxwill
e4500771bc address advices from wonderflow 2020-07-24 10:46:11 +08:00
zzxwill
66d0bdb61b Implement list applications
List appliations and support --application/-a
to filter applicatin lists
2020-07-23 21:40:30 +08:00
Sun Jianbo
720c604f40 Merge pull request #44 from sunny0826/issue-templates
add issue templates for repository
2020-07-23 19:02:45 +08:00