sofastack / sofastack/sofastack.tech
Need to define build up order for sofa modules, menifest.mf doesn't seem to be working.
Nobody has claimed this yet.
- Dominant language
- SCSS
- Stars
- 110
- Forks
- 191
- PR merge metrics
- No merged PRs in 30d
Description
I want to do some work in the init method i.e. at bean initialization and that method is invoking another sofa service in another module. At startup time it fails because till then another bean is not initialized. To fix this I tried definining another bean's module id in requires-module so that first that module is started but that doesn't seem to be working.
I am using sofa4. Any guidance or help is appreciated.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the startup failure around the bean's init method and inspect the manifest.mf entry using requires-module. Confirm whether the dependent module is initialized before the invoking bean; done means startup completes without the cross-module service call failing.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100