-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"Deploy" removed, Register Rework (#233)
PR should not break anything, for old parts added a workarounds, that we will remove in a month when all ExApps will publish their updates. **Changes**: * UI now use the same algorithm/code for ExApp `register` & `update` as the CLI commands. * Deprecated "deploy" command, now `register` commands performs deploy. **Refactoring**: * Removed internal `DispatchInit` command, as from CLI we already can do it without spawning additional process. * Removed hack(`status['active']`) when we have some half-enabled state of ExApp when it is not enabled, but already can call APIs, now ExApp enables before calling `/init` * Made code more consistent in many place. OTHER CHANGES FOR DEVS: * For `--json-info` parameter in occ `register` command keys renamed: "appid" -> "id", "system_app" -> "system" _Old naming is still supported but will be removed in future, in such way we make consistent parameters between `info.xml` and `--json-info`._ ---- Related: #219 _AppAPI will perform deploy & registration in a background and issue should be fixed_ --------- Signed-off-by: Alexander Piskun <[email protected]> Signed-off-by: Andrey Borysenko <[email protected]> Co-authored-by: Andrey Borysenko <[email protected]>
- Loading branch information
1 parent
b335a52
commit c7d1c3e
Showing
33 changed files
with
832 additions
and
1,175 deletions.
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.