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

Can I point the api to my custom database? #977

Closed
jrichardsz opened this issue Oct 8, 2021 · 6 comments
Closed

Can I point the api to my custom database? #977

jrichardsz opened this issue Oct 8, 2021 · 6 comments

Comments

@jrichardsz
Copy link

jrichardsz commented Oct 8, 2021

If this is the official api:
https://github.com/ospic/deploys/blob/master/platform/ospic-platform.jar

Can I change its properties to connect it to my custom database?

image

Thanks

@jrichardsz jrichardsz changed the title Can I point the api to my custom datbase? Can I point the api to my custom database? Oct 8, 2021
@elirehema
Copy link
Contributor

Hi @jrichardsz you can change this value for development and this for release to your required API endpoints.

Or you can connect to our remote data source by changing the value of line 29 to line 30 as shown below.

  env: {
    baseUrl: 'https://ospicapi.herokuapp.com/api/',
    localUrl: 'https://ospicapi.herokuapp.com/api/'
  },

@jrichardsz
Copy link
Author

Thanks.

One final question: Do you planning to publish the source code of api ?

@elirehema
Copy link
Contributor

If this is the official api: https://github.com/ospic/deploys/blob/master/platform/ospic-platform.jar

Can I change its properties to connect it to my custom database?

image

Thanks

First I didn't answer the first question. Yes you can change those properties to connect to your database. But the CICD which we use to create the .jar file failed almost 3 moths ago because the .jar file increased in size and the deployment plugin failed to auto-deploy it to deploys repo where you got the jar file as the file increase beyond git requirements i.e 100MB. So the file will work fine but it doesn't have enough all functionalities corresponding to the web application

LAST QUESTIONS ANSWER:
I can not answer this directly on whether we are planning to open-source the API source code or not. For this I need to have enough discussion with my team members. But at first, we decided to unpublish the API codebase until all the minimum viable functionalities has been implemented.

@jrichardsz
Copy link
Author

Thanks for your answer.
Regards

@elirehema
Copy link
Contributor

elirehema commented Oct 13, 2021

@jrichardsz can I close your two tickets now ?

@jrichardsz
Copy link
Author

Yes. Thanks!

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

No branches or pull requests

2 participants