Commit Graph

79 Commits

Author SHA1 Message Date
rushtehrani
42f0ff173f move secret and namespace 2020-02-19 14:41:40 -08:00
Aleksandr Melnikov
bccc813ed2 Re-factored DeleteSecretKey to prevent overlap with DeleteSecret. 2020-02-19 09:02:19 -08:00
Rush Tehrani
1c828a04e4 Merge pull request #60 from onepanelio/feature/workflow.pagination
Fixed issue where workflows would not return anything if there was ju…
2020-02-15 18:30:30 -08:00
Andrey Melnikov
ad06456c4b Fixed issue where workflows would not return anything if there was just one result 2020-02-15 18:09:00 -08:00
rushtehrani
4de8228a5b remove slice instantiations 2020-02-13 11:59:04 -08:00
rushtehrani
8b4b109389 update metrics api 2020-02-13 11:29:52 -08:00
rushtehrani
0e3d9d3ab4 use var decleration instead of make for slice 2020-02-13 11:21:50 -08:00
Andrey Melnikov
497e060fce Added pagination to workflows request. 2020-02-13 10:22:33 -08:00
rushtehrani
d19df434a0 workflow phase, start/finish time 2020-02-13 10:22:33 -08:00
rushtehrani
bf9ad3ddce add metrics endpoint 2020-02-12 09:46:21 -08:00
rushtehrani
75077a9b8c executed workflow manifest + inject metrics (wip) 2020-02-12 09:46:21 -08:00
rushtehrani
34d8ed26a4 resubmitworkflow + additional wf methods 2020-02-12 09:46:21 -08:00
Aleksandr Melnikov
816a14bff1 Updating workflow_server.go to use GRPCError(). 2020-02-10 16:32:09 -08:00
Aleksandr Melnikov
b0cea10a08 Updated namespace_server.go to use GRPCError() 2020-02-10 16:27:28 -08:00
Rush Tehrani
09f96c412d Merge branch 'master' into feature/additional-workflow-methods 2020-02-07 11:01:32 -08:00
Rush Tehrani
e12bf3591f Merge pull request #35 from onepanelio/feature/github.core.24-secret.management.mounting
Feature/GitHub.core.24 secret.management.mounting
2020-02-06 17:26:42 -08:00
Aleksandr Melnikov
f3a7ed1042 Adding the rest of DeleteSecretKey re-factor. 2020-02-06 15:39:54 -08:00
Aleksandr Melnikov
a516159f0a Re-factored AddSecretKeyValue. 2020-02-06 15:35:17 -08:00
Aleksandr Melnikov
f99260fa93 Refactored DeleteSecret. 2020-02-06 14:37:43 -08:00
Aleksandr Melnikov
525b83b77b Refactoring GetSecret. 2020-02-06 14:30:44 -08:00
rushtehrani
c66a7f6c50 add terminate workflow service 2020-02-06 14:29:21 -08:00
Aleksandr Melnikov
c58647130c Fixing error that's reported. 2020-02-06 12:25:17 -08:00
Aleksandr Melnikov
42efa04250 Refactoring SecretExists from secret_server.go side.
- Removed extraneous function.
2020-02-06 12:24:12 -08:00
Aleksandr Melnikov
dde01fc900 Passing by reference. 2020-02-06 12:13:51 -08:00
Aleksandr Melnikov
f22a60c5ab Refactoring CreateSecret per recent feedback. 2020-02-06 12:06:49 -08:00
Aleksandr Melnikov
e9fde54f49 Re-factored function to simplify the argument parameters.
- More consistent to use model.Secret
2020-02-06 12:00:50 -08:00
Aleksandr Melnikov
0d1f7badb1 Refactored UpdateSecretKeyValue from the server side. 2020-02-06 11:08:34 -08:00
rushtehrani
36406b4fc4 clean up ListSecrets 2020-02-06 10:17:31 -08:00
Aleksandr Melnikov
4baf3b9309 Refactoring ListSecrets. 2020-02-06 09:56:23 -08:00
rushtehrani
078372533b minor changes to req/res proto 2020-02-05 19:46:54 -08:00
Aleksandr Melnikov
a4f9a65f07 Refactored the HTTP requests and proto messages to look cleaner and
reduce duplicated fields.
- Secret message is re-used a lot more
Updated the secret_server code to support the new proto message data
being passed in.
2020-02-05 17:19:22 -08:00
Aleksandr Melnikov
ebd1e57d49 Refactoring code to use new apiSecret() 2020-02-05 15:27:01 -08:00
rushtehrani
d471738d60 GetSecret refactor 2020-02-05 15:18:19 -08:00
Aleksandr Melnikov
18a96bed35 Changing []model.Secret to []*model.Secret
- Updating related code.
2020-02-05 14:48:28 -08:00
Aleksandr Melnikov
40409b8027 Cleaning up some rebase artifacts. 2020-02-05 13:18:30 -08:00
Aleksandr Melnikov
aa5c12b275 Re-factored secretName to name. 2020-02-05 13:14:50 -08:00
Aleksandr Melnikov
27f1a54968 Renaming GetSecrets to ListSecrets. 2020-02-05 13:14:40 -08:00
Aleksandr Melnikov
f2cde31a27 Refactored apiv1.secret to use model.secret 2020-02-05 13:14:26 -08:00
Aleksandr Melnikov
6d0c6e96b7 Added API Calls:
- AddSecretKeyValue
This allows you to add a key value to a secret.
Example: You can add "typeOfData" key, value "bytes" to secret "default",
namespace "default".
- UpdateSecretKeyValue
You can update "typeOfData" key with value "bits".
2020-02-05 13:13:42 -08:00
Aleksandr Melnikov
9883b24b7f Added DeleteSecretKey api call.
- This allows the deletion of a specific key from a secret.
2020-02-05 13:13:02 -08:00
Aleksandr Melnikov
812c9a174d Adding DeleteSecret api call. 2020-02-05 13:12:23 -08:00
Aleksandr Melnikov
168c73ee37 Added GetSecrets api call.
- Returns a collection of Secret type.
2020-02-05 13:11:40 -08:00
Aleksandr Melnikov
bf929e2f45 Added GetSecret api call.
- Returns a secrets data and name.
2020-02-05 13:10:33 -08:00
Aleksandr Melnikov
086566ce14 Added API Path to check if a secret exists in a given namespace. 2020-02-05 13:08:58 -08:00
rushtehrani
e698386840 split log timestamp into its own field 2020-02-04 17:03:28 -08:00
rushtehrani
04b76e6aa8 support archiving workflow_templates 2020-02-04 12:23:52 -08:00
rushtehrani
3f988ef876 no need to return ns labels 2020-02-02 12:58:48 -08:00
rushtehrani
02f8d3dc76 only return onepanel.io/enabled=true namespaces 2020-02-02 12:52:57 -08:00
rushtehrani
66a19f1e1b namespace api + server + refactor 2020-02-02 11:06:43 -08:00
Rush Tehrani
d63522a027 Merge pull request #32 from onepanelio/feature/ui-integration
Added createdAt field to be set when created in workflow_manager
2020-01-30 10:26:27 -08:00