docs: add DI configuration for new entities
Fix
@@ -17,15 +17,18 @@ Make sure to do the following:
4. Add your newly defined snapshot to [Snapshot Union] model.
## 3. GMA search onboarding
-Refer to [search onboarding](search-onboarding.md).
+Refer to [search onboarding](search-onboarding.md) if you need to search the entity.
## 4. GMA graph onboarding
-Refer to [graph onboarding](graph-onboarding.md).
+Refer to [graph onboarding](graph-onboarding.md) if you need to perform graph queries against the entity.
## 5. Add rest.li resource endpoints
-See [`CorpUsers`] for an example of top-level [resource endpoint]. Optionally add aspect-specific [sub-resource endpoint] such as [`CorpUsersEditableInfoResource`]. You'll also need to add [various factories](https://github.com/linkedin/datahub/tree/master/gms/factories/src/main/java/com/linkedin/identity/factory) to create and inject the DAOs used by the resource.
+See [`CorpUsers`] for an example of top-level [resource endpoint]. Optionally add an aspect-specific [sub-resource endpoint] such as [`CorpUsersEditableInfoResource`].
-## 6. UI for entity onboarding [WIP]
+## 6. Configure dependency injection
+GMS uses [Spring Framework](https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/core.html#beans) for dependency injection. You'll need to add [various factories](https://github.com/linkedin/datahub/tree/master/gms/factories/src/main/java/com/linkedin/identity/factory) to create any custom DAOs used by the rest.li endpoint. You'll also need to add any custom package to the `base-package` of `<context:component-scan>` tag in [beans.xml](https://github.com/linkedin/datahub/blob/master/gms/war/src/main/webapp/WEB-INF/beans.xml)
+
+## 7. UI for entity onboarding [WIP]
[Aspect]: ../what/aspect.md
[`DatasetAspect`]: ../../metadata-models/src/main/pegasus/com/linkedin/metadata/aspect/DatasetAspect.pdsc
