Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						fd686a0672 
					 
					
						
						
							
							update: workflow versions are db records again to more easily store custom user manifest and parameters  
						
						
						
						
					 
					
						2020-04-22 12:18:39 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						8130d44ced 
					 
					
						
						
							
							Refactoring functions to no longer use uuid.  
						
						
						
						
					 
					
						2020-04-22 11:59:43 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						4e524318bc 
					 
					
						
						
							
							Adding initContainer to the entry point for a given Cron Workflow.  
						
						
						
						
					 
					
						2020-04-21 16:55:22 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						33cc90ea4f 
					 
					
						
						
							
							Using helper function in cron workflows for adding an exitHandler.  
						
						
						
						
					 
					
						2020-04-20 15:31:27 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						57336ed666 
					 
					
						
						
							
							Added function to adding an exitHandler to wf Workflow.  
						
						... 
						
						
						
						- Passes in the necessary parameters to the CURL request as well. 
						
						
					 
					
						2020-04-20 15:22:36 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						74f1019e76 
					 
					
						
						
							
							Merge branch 'feat/core.144-workflow.stats' into feat/dev-core-144-workflow.stats  
						
						
						
						
					 
					
						2020-04-16 14:44:11 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						059608018a 
					 
					
						
						
							
							Updated GetExitHandlerWorkflowStatistics to get the bearer token on the  
						
						... 
						
						
						
						fly, depending on the namespace.
- Updated the places this function is called to pass in the client. 
						
						
					 
					
						2020-04-15 10:11:24 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						76ce475ae1 
					 
					
						
						
							
							Passing in the workflowTemplateID, so the exitHandler can use that  
						
						... 
						
						
						
						information. 
						
						
					 
					
						2020-04-14 17:56:42 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						ed546be1d3 
					 
					
						
						
							
							Updated exitHandler function to accept a namespace, since that  
						
						... 
						
						
						
						information is needed to be passed in to the statistics endpoint. 
						
						
					 
					
						2020-04-14 10:28:30 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						89d6d626e9 
					 
					
						
						
							
							Added code to add an exit handler to Cron and Workflow Execution.  
						
						
						
						
					 
					
						2020-04-13 12:10:56 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						57dcd1d399 
					 
					
						
						
							
							fix: updated resources so they can be provided labels on creation.  
						
						
						
						
					 
					
						2020-04-12 13:28:45 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						bfb65dd1ad 
					 
					
						
						
							
							fix: issue with cron workflows not working and updated workflow executions to include the version of the workflow template they ran.  
						
						
						
						
					 
					
						2020-04-10 12:04:12 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						b88c2ef937 
					 
					
						
						
							
							fix: Updated cron worklfow to use new workflow manifest method  
						
						
						
						
					 
					
						2020-04-09 15:49:03 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						ae54d21e24 
					 
					
						
						
							
							Fixing labels and ENV VARs not persisting on CronWorkflow change.  
						
						
						
						
					 
					
						2020-04-08 16:03:18 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						9cc044dc4a 
					 
					
						
						
							
							Fixing a possible nil error.  
						
						
						
						
					 
					
						2020-04-07 17:49:41 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						62f949de5f 
					 
					
						
						
							
							Adjusting labels logic so that they merge together.  
						
						... 
						
						
						
						- Need labels from CronWorkflow passed into Workflow, so they can
relate and thus show up in the UI 
						
						
					 
					
						2020-04-07 16:26:52 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						2f8c923fe8 
					 
					
						
						
							
							Enabled code to inject ENV Vars and istio + other labels to  
						
						... 
						
						
						
						Workflows created by CronWorkflow. 
						
						
					 
					
						2020-04-07 16:01:45 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						b668b54fd6 
					 
					
						
						
							
							Added code to pass identifying Workflow labels.  
						
						... 
						
						
						
						- CronWorkflow will pass these labels into any Workflow Executions that
are created.
- This means those Workflows will show up under the correct Workflow Template
page.
Fixed some code related to argo update. 
						
						
					 
					
						2020-04-03 16:52:01 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						f71eb9d6ad 
					 
					
						
						
							
							Adding a fix for deleting labels from CronWorklows and WorkflowExecutions.  
						
						... 
						
						
						
						- WorkflowTemplates appears to be un-affected 
						
						
					 
					
						2020-04-02 17:16:31 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						b32ceca18d 
					 
					
						
						
							
							Added support for label operations in CronWorkflows.  
						
						... 
						
						
						
						- Endpoints added are add, list, update, and delete.
Note: A bug exists with delete, it doesn't actually delete the label.
WIP. 
						
						
					 
					
						2020-04-02 15:19:00 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						6e27a5c6b8 
					 
					
						
						
							
							Removing unused labels code.  
						
						
						
						
					 
					
						2020-04-02 13:18:59 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						339167cdc3 
					 
					
						
						
							
							Removing unused sql and unnecessary table.  
						
						
						
						
					 
					
						2020-04-02 13:17:45 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						a42e7ab7fe 
					 
					
						
						
							
							Updated List endpoint to take in an optional WorkflowTemplateUID.  
						
						... 
						
						
						
						- If present, code will try to filter the CronWorkflows by the label
"onepanel.io/workflow-template-uid"
- If not present, all CronWorkflows are returned as normal. 
						
						
					 
					
						2020-04-02 11:31:01 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						3fe93a64c9 
					 
					
						
						
							
							feat: Updated cron to return the active parameters  
						
						
						
						
					 
					
						2020-03-31 19:20:55 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						648ad4b694 
					 
					
						
						
							
							Adding code to associated a new CronWorkflow with a Workflow Template.  
						
						... 
						
						
						
						- Added database code
- Removing name from the database table since user will not name
their Cron Workflow. 
						
						
					 
					
						2020-03-31 16:35:28 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						e2359e29e5 
					 
					
						
						
							
							Minor fixes.  
						
						
						
						
					 
					
						2020-03-30 14:11:37 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						e6a0bd8549 
					 
					
						
						
							
							Revert "Refactored CronWorkflow message."  
						
						... 
						
						
						
						This reverts commit 59cbf7d15e 
						
						
					 
					
						2020-03-30 14:06:02 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						59cbf7d15e 
					 
					
						
						
							
							Refactored CronWorkflow message.  
						
						... 
						
						
						
						- Moved Parameters to it's own field
- Using WorkflowTemplate directly, instead of nesting it inside of
WorkflowExecution.
- Updated related code to use new structure. 
						
						
					 
					
						2020-03-30 11:59:13 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						9045b1a3eb 
					 
					
						
						
							
							Added UpdateCronWorkflow endpoint.  
						
						
						
						
					 
					
						2020-03-29 22:56:40 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						8b4d93af4b 
					 
					
						
						
							
							Added TerminateCronWorkflow endpoint.  
						
						... 
						
						
						
						- Also updated CronWorkflow message to include the name of the cron workflow.
- Updated related function that parses and sets the struct values, to include the name attribute 
						
						
					 
					
						2020-03-29 22:16:33 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						2ada65e87a 
					 
					
						
						
							
							Added ListCronWorkflows endpoint.  
						
						
						
						
					 
					
						2020-03-29 22:00:11 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						1096a21058 
					 
					
						
						
							
							Adding GetCronWorkflow endpoint.  
						
						... 
						
						
						
						- Added supporting proto code
- Added supporting server function and cron_workflow client function
- Added extra checking for possible nil values 
						
						
					 
					
						2020-03-29 21:37:03 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						d7a289c895 
					 
					
						
						
							
							Renaming variable testCWF.  
						
						... 
						
						
						
						Adding the workflow spec correctly to the CronWorkflow spec. 
						
						
					 
					
						2020-03-27 12:22:01 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						f6d5161bdb 
					 
					
						
						
							
							Generating the CronWorkflow fields.  
						
						... 
						
						
						
						- WIP, Workflow spec is not filled in yet. 
						
						
					 
					
						2020-03-27 12:20:58 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						9ea94f5bb1 
					 
					
						
						
							
							Implementing more details for CreateCronWorkflow.  
						
						... 
						
						
						
						- Added unmarshalCronWorkflows
- Tweaking how certain parameters are set
- WIP 
						
						
					 
					
						2020-03-27 12:20:58 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						b8c732863f 
					 
					
						
						
							
							Adding a CreateCronWorkflow function to Client, inside pkg.  
						
						
						
						
					 
					
						2020-03-27 12:20:58 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						44a4eb8d67 
					 
					
						
						
							
							Adding createCronWorkflow to Client.  
						
						... 
						
						
						
						- Similar to create() command for Workflows. 
						
						
					 
					
						2020-03-27 12:20:58 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						4be4dd8419 
					 
					
						
						
							
							Updating go.mod to use the latest argoproj/argo  
						
						... 
						
						
						
						- Alongside, updating other modules to fix conflicts with versioning.
Sourced from: https://github.com/onepanelio/core/pull/123/files  
						
						
					 
					
						2020-03-27 12:20:58 -07:00