-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add bml engineHook adapted to engine
- Loading branch information
1 parent
3b1136a
commit c23d63c
Showing
4 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
.../engine/src/main/scala/com/webank/wedatasphere/linkis/engine/ResourceExecuteRequest.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.webank.wedatasphere.linkis.engine | ||
|
||
/** | ||
* created by cooperyang on 2019/11/29 | ||
* Description: | ||
*/ | ||
trait ResourceExecuteRequest { | ||
val resources:java.util.List[Object] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...src/main/scala/com/webank/wedatasphere/linkis/engine/extension/EnginePreExecuteHook.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.webank.wedatasphere.linkis.engine.extension | ||
|
||
import com.webank.wedatasphere.linkis.engine.execute.EngineExecutorContext | ||
import com.webank.wedatasphere.linkis.scheduler.executer.ExecuteRequest | ||
|
||
/** | ||
* created by cooperyang on 2019/11/29 | ||
* Description: | ||
*/ | ||
trait EnginePreExecuteHook { | ||
val hookName:String | ||
def callPreExecuteHook(engineExecutorContext:EngineExecutorContext, executeRequest: ExecuteRequest) | ||
} |