通过调用rest API填充数据库列
我有一个带有数据库的小型spring引导服务(我使用spring数据jpa),并且我需要来自其他rest API的一些其他信息。因此,我只能通过从数据库中调用带有ID的rest api来获取此附加信息,然后将其保存。
So I created a controller with an endpoint /migrate and my idea is that when I start the service, I can call this endpoint, then I use findAll() to...