Skip to content

Commit

Permalink
DSS workflow add shell node
Browse files Browse the repository at this point in the history
close #97
  • Loading branch information
chaogefeng committed Feb 6, 2020
1 parent bc940a3 commit 74e6d70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conf/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ VISUALIS_NGINX_PORT=8088

#azkaban address for check
AZKABAN_ADRESS_IP=127.0.0.1
AZKABAN_ADRESS_PORT=8091
AZKABAN_ADRESS_PORT=8081

#qualitis.address for check
QUALITIS_ADRESS_IP=127.0.0.1
Expand Down
5 changes: 3 additions & 2 deletions db/azkaban.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
INSERT INTO `dss_application` (`id`, `name`, `url`, `is_user_need_init`, `level`, `user_init_url`, `exists_project_service`, `project_url`, `enhance_json`, `if_iframe`, `homepage_url`, `redirect_url`) VALUES (NULL, 'schedulis', NULL, '0', '1', NULL, '0', NULL, NULL, '1', NULL, NULL);
UPDATE `dss_application` SET url = 'http://AZKABAN_ADRESS_IP_2:AZKABAN_ADRESS_PORT', project_url = 'http://AZKABAN_ADRESS_IP_2:AZKABAN_ADRESS_PORT/manager?project=${projectName}',homepage_url = 'http://AZKABAN_ADRESS_IP_2:AZKABAN_ADRESS_PORT/homepage' WHERE `name` in
('schedulis');
UPDATE `dss_application` SET url = 'http://AZKABAN_ADRESS_IP_2:AZKABAN_ADRESS_PORT', project_url = 'http://AZKABAN_ADRESS_IP_2:AZKABAN_ADRESS_PORT/manager?project=${projectName}',homepage_url = 'http://AZKABAN_ADRESS_IP_2:AZKABAN_ADRESS_PORT/homepage' WHERE `name` in ('schedulis');
SELECT @shcedulis_id:=id FROM `dss_application` WHERE `name` = 'schedulis';
insert into dss_workflow_node values(null,null,'linkis.shell.sh',@shcedulis_id,1,1,0,1,null);

0 comments on commit 74e6d70

Please sign in to comment.