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

Source code #1030

Closed
Ylowe opened this issue Aug 14, 2018 · 2 comments
Closed

Source code #1030

Ylowe opened this issue Aug 14, 2018 · 2 comments

Comments

@Ylowe
Copy link

Ylowe commented Aug 14, 2018

I was looking to get a peek into the source code regarding specifying the database which the app draws information from, and how the app queries information from the database. I can't seem to find it in the psm-app anywhere. Any further information about the source code organization or the database architecture would be extremely helpful.

Thank you!

@jasonaowen
Copy link
Contributor

This is a pretty broad question. I will try to answer it, but it would help if you shared the problem you were trying solve, and what you've attempted so far. These kinds of questions are also more easily solved interactively; I suggest you join our Zulip server and ask in the "Provider Screening" stream.

The PSM relies upon WildFly for providing connections to the database. See the database configuration section of the install docs for more detail. The PSM is hard-coded to look for two data sources, named TaskServiceDS and MitaDS; both must be configured in WildFly, and may point to the same PostgreSQL database.

Queries are generated by Hibernate, an object-relational mapping tool, which fulfills the Java EE persistence API. The @Entitys defined in the PSM are all in the gov.medicaid.entities package; generally, the persistence-related code should all be contained in the cms-business-process subproject.

Does this help, @Ylowe?

@Ylowe
Copy link
Author

Ylowe commented Aug 14, 2018 via email

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

3 participants