intersystems / InterSystems-IRIS-Smart-Mining-Starter-Pack

Smart Mining Starter Pack, former ASP Mining
MIT License
1 stars 0 forks source link

Modify MineCare Business Service to properly poll last data #11

Closed yuyomagico closed 4 years ago

yuyomagico commented 4 years ago

Make it similar to what we had with the CSVs.

Need some help in how to reorganize everything to match the MineCare databases

amirsamary commented 4 years ago

Hi!

I can see you have a SQL Server running on your machine. How did you load data into it? Is the data very big?

I can also see you have created class SampleDispatch.Adapter.SQL.PeriodicInboundAdapterMC. You don't need that. You could have used the existing SampleDispatch.Adapter.SQL.PeriodicInboundAdapter on your SampleDispatch.BS.Event.MineCareService service...

Do you still need help? We can schedule a WebEx session where we could discuss it and work on this with you.

I would love to have access to the SQL Server data and maybe even configure a docker compose composition with IRIS and SQL Server so everyone can work on the same project seeing the data...

yuyomagico commented 4 years ago

To load the data first you need to have downloaded the folder I shared over email (on Jan 9) , which has the databases and the container. Inside that folder are the instructions, but basiaclly it creates a separate container with SQL server, and shares a local volume with the DB files when running it.

About the class SampleDispatch.Adapter.SQL.PeriodicInboundAdapterMC, I created it just to don't work over the original one in case of making further changes, so I can have the reference files untouched.