Skip to content

appConn deployment supports hot update operation without restarting the service #792

@yuankang134

Description

@yuankang134

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Problem Description

1.demand background
(需求背景)

Before updating the lib package of appconn, the service needs to be restarted to take effect, which is not reasonable and needs to be changed to hot loading.
(之前更新appconn的lib包时,需要重启服务才会生效,不太合理,需要改为热加载。)

2.Demand realization
(需求实现)

Make an appconn-refresh.sh script to call the load interface of appconn. When this script is called, the lib package corresponding to appconn will be reloaded.
(做一个appconn-refresh.sh脚本调用appconn的load接口,调用这个脚本时会重新加载对应appconn的lib包。)

3.test steps
(测试步骤)

1)Update the lib package of appconn
(更新appconn的lib包)

2)Execute the bin/appconn-refresh.sh script in the dss directory and enter the updated appconnName.
(在dss目录执行bin/appconn-refresh.sh脚本,输入更新的appconnName。)

3)Verify that it works.
(验证是否生效。)

Description

No response

Use case

No response

solutions

No response

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions