Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schedule task registry resource is created always created inside {MI_HOME}/registry regardless of RegRoot path #3757

Open
daneshk opened this issue Nov 3, 2024 · 0 comments

Comments

@daneshk
Copy link
Contributor

daneshk commented Nov 3, 2024

Description

We set the RegRoot path in registry.xml(repository/deployment/server/synapse-configs/default/registry.xml) to a different location. e.g.:

<parameter name="RegRoot">file:///tmp/registry</parameter>

Schedule task resource is always created inside the {MI_HOME}/registry directory[1]. For the immutable docker image task, we need to move the registry directory to the /tmp

  1. https://github.com/wso2/micro-integrator/blob/master/components/mediation/tasks/org.wso2.micro.integrator.ntask.core/src/main/java/org/wso2/micro/integrator/ntask/core/impl/FileBasedTaskRepository.java#L60

Related issue: wso2-enterprise/integration-product-management/issues/180

Steps to Reproduce

  • Change the RegRoot configuration to the /tmp/registry path
  • Add a simple schedule task.
  • Observe the registry resource creation.

Version

4.3.0

Environment Details (with versions)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants