TheThingsArchive / java-app-sdk

The Things Network Application SDK for Java
MIT License
30 stars 25 forks source link

database integration support #52

Closed cambierr closed 3 years ago

cambierr commented 7 years ago

This as been requested several times on the slack channel.

Do you ( @htdvisser @johanstokking) think this could be a good idea ?

If so, should this be data-http ? or a subpart of the device management endpoint ?

htdvisser commented 7 years ago

I'm not sure if this belongs in the sdk, as the data integration is an external integration that does not fall under The Things Network Foundation. Just like the IFTTT and MyDevices integrations don't belong in the SDK, the data integration doesn't belong here either.

Nothing stops you from building this in a separate project though

cambierr commented 7 years ago

What would be the best way ?

A group of projects like org.thethingsnetwork.integration.* (integrations built by ttn) and org.thethingsnetwork.integration.database in our case (to make them easier to find for users) ?

johanstokking commented 7 years ago

Yes, I would have these as community projects for now. We need to see what belongs where, also considering who hosts it where and does operations. Also, there's already the data storage integration, but I can imagine your idea is to write directly to a database.