rushtehrani 
							
						 
					 
					
						
						
							
						
						67e13bf423 
					 
					
						
						
							
							make method private  
						
						
						
						
					 
					
						2020-05-02 19:42:23 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						5c1c64cac9 
					 
					
						
						
							
							fix: uncommented artifacts code from testing  
						
						
						
						
					 
					
						2020-05-02 16:32:45 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						adb59a36a3 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes  
						
						
						
						
					 
					
						2020-05-01 23:36:59 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						a002f32a5a 
					 
					
						
						
							
							instead of skipping missing values, set them  
						
						
						
						
					 
					
						2020-04-30 11:55:13 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						af82c312a7 
					 
					
						
						
							
							move workspace_types and common_types and refactor Parameter alias  
						
						
						
						
					 
					
						2020-04-29 17:31:44 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						88dd5dd788 
					 
					
						
						
							
							fix: issue where newly created workflow execution did not add new labels.  
						
						
						
						
					 
					
						2020-04-29 11:39:12 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						d493bfb19a 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes  
						
						
						
						
					 
					
						2020-04-29 09:53:22 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						4b2e0173c1 
					 
					
						
						
							
							fix stats request  
						
						
						
						
					 
					
						2020-04-28 17:47:01 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						beea0ce69e 
					 
					
						
						
							
							refactor workflow stats  
						
						
						
						
					 
					
						2020-04-28 16:59:24 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						816e7fdf1a 
					 
					
						
						
							
							update curl templates  
						
						
						
						
					 
					
						2020-04-28 11:57:20 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						7528348aaf 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes  
						
						
						
						
					 
					
						2020-04-28 10:21:23 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						07fe5325af 
					 
					
						
						
							
							check auth and use env var for token  
						
						
						
						
					 
					
						2020-04-27 21:19:51 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						9c193b3616 
					 
					
						
						
							
							feature: centralize labels to one location.  
						
						
						
						
					 
					
						2020-04-27 19:55:44 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						eb9ae0cf70 
					 
					
						
						
							
							change order of method calls to ensure istio removal  
						
						
						
						
					 
					
						2020-04-27 14:51:15 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						e7bac1229b 
					 
					
						
						
							
							minor refactors  
						
						
						
						
					 
					
						2020-04-27 14:51:15 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						4e32b4b54d 
					 
					
						
						
							
							append statistics template if there is an existing handler  
						
						
						
						
					 
					
						2020-04-27 14:51:15 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						be226b18a7 
					 
					
						
						
							
							require onExit and enterypoint templates to be DAGs  
						
						
						
						
					 
					
						2020-04-27 14:51:15 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						5691d93a5a 
					 
					
						
						
							
							fix: terminating workflow execution did not delete DB record.  
						
						
						
						
					 
					
						2020-04-27 11:13:30 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						6cacf140c3 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/feat/workspaces' into feat/integrate.workflow.changes  
						
						
						
						
					 
					
						2020-04-27 09:54:06 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						1920eb5ed0 
					 
					
						
						
							
							update: database records for all resources.  
						
						
						
						
					 
					
						2020-04-27 09:32:45 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						f69fc07e22 
					 
					
						
						
							
							minor refactors  
						
						
						
						
					 
					
						2020-04-26 21:58:38 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						718bc349cd 
					 
					
						
						
							
							append statistics template if there is an existing handler  
						
						
						
						
					 
					
						2020-04-26 21:30:20 -07:00 
						 
				 
			
				
					
						
							
							
								rushtehrani 
							
						 
					 
					
						
						
							
						
						2d248c05f5 
					 
					
						
						
							
							require onExit and enterypoint templates to be DAGs  
						
						
						
						
					 
					
						2020-04-26 19:26:33 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						2f5303bd78 
					 
					
						
						
							
							Updating ENV Vars injected into workflow_execution.  
						
						... 
						
						
						
						- Using FQDN and DOMAIN 
						
						
					 
					
						2020-04-24 15:57:01 -07:00 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
							
						
						74b3043db1 
					 
					
						
						
							
							Using workflow name instead of uuid.  
						
						
						
						
					 
					
						2020-04-22 11:58:52 -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 
							
						 
					 
					
						
						
							
						
						08a432cf23 
					 
					
						
						
							
							Updated endpoint called by CURL.  
						
						... 
						
						
						
						- CreatedAt is no longer parsed
- Passing in uid from request 
						
						
					 
					
						2020-04-20 15:22:36 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						77c1d9a83a 
					 
					
						
						
							
							Added a name to the workflow execution statistic, after creation.  
						
						... 
						
						
						
						- Pre-creation, uid is used as a placeholder
- After creation, the real name can be added. 
						
						
					 
					
						2020-04-20 15:22:36 -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 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						ab76f71ed2 
					 
					
						
						
							
							Passing in uid to CURL request that executes during exitHandler.  
						
						
						
						
					 
					
						2020-04-20 15:22:36 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						8ed539f680 
					 
					
						
						
							
							Added code to clean up the Pre Workflow Execution Statistic.  
						
						... 
						
						
						
						- If an error happens, code will try to remove the database entry. 
						
						
					 
					
						2020-04-20 13:52:39 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						ae524fbd2e 
					 
					
						
						
							
							feat: added versions to workflow tempaltes.  
						
						... 
						
						
						
						update: updated logic to get workflow template executions stats to be a single query. 
						
						
					 
					
						2020-04-20 13:47:48 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						43f71184a9 
					 
					
						
						
							
							Adding function to insert Workflow Execution statistic before it's created.  
						
						... 
						
						
						
						- Need this for "Running" workflows, in case they take a long time.
Relying on CURL endpoint results in the "created_at" time and
"finished_at" being created at the end.
- We need a starting time to show the user. 
						
						
					 
					
						2020-04-20 13:37:11 -07:00 
						 
				 
			
				
					
						
							
							
								Andrey Melnikov 
							
						 
					 
					
						
						
							
						
						ed7dd7a367 
					 
					
						
						
							
							fix: issue where failed was not being selected for stats. Also fixed overlapping of statistics - if one failed, it was also running.  
						
						
						
						
					 
					
						2020-04-18 11:59:56 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						27d5a480a8 
					 
					
						
						
							
							Using curl docker image to remove curl install.  
						
						
						
						
					 
					
						2020-04-16 16:07:20 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						5520558ef0 
					 
					
						
						
							
							Removed un-needed headers from CURL request.  
						
						
						
						
					 
					
						2020-04-16 16:04:06 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						bcfa8d986d 
					 
					
						
						
							
							DRY Principle - Simplified if-else for insert SQL.  
						
						
						
						
					 
					
						2020-04-16 15:48:54 -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 
							
						 
					 
					
						
						
							
						
						3410898188 
					 
					
						
						
							
							Per feedback, using *time.Time to allow nil value.  
						
						
						
						
					 
					
						2020-04-16 13:10:23 -07:00 
						 
				 
			
				
					
						
							
							
								Rush Tehrani 
							
						 
					 
					
						
						
							
						
						bdc817c14d 
					 
					
						
						
							
							Merge pull request  #151  from onepanelio/feature/core.update.template  
						
						... 
						
						
						
						Feature/core.update.template 
						
						
					 
					
						2020-04-16 11:14:40 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						32ea715005 
					 
					
						
						
							
							Injecting ONEPANEL_HOST to workflows.  
						
						
						
						
					 
					
						2020-04-15 17:01:32 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						01bbca6c73 
					 
					
						
						
							
							Renamed WorkflowStatistics to just Stats.  
						
						... 
						
						
						
						Changed value types so they come back as integers in JSON. 
						
						
					 
					
						2020-04-15 15:16:45 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						72df98834c 
					 
					
						
						
							
							Adding code to return the WorkflowStatistics with the ListTemplates  
						
						... 
						
						
						
						response. 
						
						
					 
					
						2020-04-15 15:03:07 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						7574c1500f 
					 
					
						
						
							
							Added code to retrieve workflow execution statistics for a workflow template.  
						
						... 
						
						
						
						- Code will calculate expected values and attach them to the given
WorkflowTemplate. 
						
						
					 
					
						2020-04-15 14:34:02 -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 
							
						 
					 
					
						
						
							
						
						8cdafc77cb 
					 
					
						
						
							
							Adjusting the JSON Body  
						
						... 
						
						
						
						- Since we are posting to HTTP, we do not need the surrounding pieces.
Just the "Body".
- Removing debugging statements. 
						
						
					 
					
						2020-04-14 18:39:11 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						ecb864df9a 
					 
					
						
						
							
							Removing todo, the new ENV VARS are present on new onepanel-core pod.  
						
						
						
						
					 
					
						2020-04-14 18:38:35 -07:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Melnikov 
							
						 
					 
					
						
						
							
						
						76ce475ae1 
					 
					
						
						
							
							Passing in the workflowTemplateID, so the exitHandler can use that  
						
						... 
						
						
						
						information. 
						
						
					 
					
						2020-04-14 17:56:42 -07:00