Commit Graph

17 Commits

Author SHA1 Message Date
Adam
0a501429e6 Move okhttp client from http-api
The client has been recreated with a new builder off of the http-api
client for awhile anyway since runelite-client has multiple other
requirements (caching, tls, etc). This fully moves creation of the
okhttp client into both http-service and runelite-client separately.

I've kept the CLIENT field in http-api for now since a few external
plugins depend on it currently.
2021-12-23 12:36:05 -05:00
Adam
b6e17cd15e http-service: move several hardcoded urls to config
Also make an OkHttpClient bean and use it everywhere
2021-12-22 15:29:51 -05:00
Adam
b3c4465e73 Move hiscore client to rl-client
Thie removes the http-service hiscore api, which we haven't used in
awhile and doesn't work in practice due to upstream rate limits, as well
as the xp tracker which also hasn't been used in a long time since there
are now multiple quality community run xptrackers.
2021-12-14 20:24:22 -05:00
Adam
ed978d31dd wiki price service: use v1 api 2021-03-14 22:26:40 -04:00
Adam
1284429130 item controller: add config for price cache time 2021-03-09 16:40:23 -05:00
Adam
ded38ec99e http service: add wiki price service 2021-03-09 16:40:23 -05:00
Adam
7a6c4ecc51 Add pluginhub user count tracking 2020-10-17 11:50:53 -04:00
Adam
9c81e9b509 http-service: increase loot tracker retention to 90 days 2020-08-22 11:09:07 -04:00
Adam
9cf95ef324 http-service: increase ge history retention to 90 days 2020-02-11 17:30:21 -05:00
Adam
423d16fa8e http-service: make mongo database configurable 2019-10-26 21:58:50 -04:00
Lotto
541af9084c feed: use RuneLiteClient's Twitter list 2019-10-20 15:16:26 +02:00
Adam
277a3ccd35 http-service: use jndi provided mongo 2019-08-08 19:29:51 -04:00
Tomas Slusny
b367e34202 Migrate OAuth callback to Spring configuration property
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-03-24 11:44:54 -04:00
Adam
4ccefd23a4 config service: convert backing database to use mongodb
This is a much more natural fit for the config service which is really a
key value store, and has been abusing SQL. This will let us expand the
config stuff later to support profiles and per-account config values.

I have left in the SQL code for now so config changes are still being
sent there in the event of catastrophic mongodb failure.
2019-03-20 18:45:31 -04:00
Tomas Slusny
52a862c43b Migrate SpringBootWebApplicationTest to spring profiles
- Instead of replacing configuration with dev configuration on classpath,
create dev profile and use that
- Move common properties to application.yaml

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
2019-03-04 19:25:23 +01:00
Adam
3c1da4bb1e http service: disable spring jmx
Multiple api deployments is causing Spring to try to register the
datasources multiple times and is erroring
2019-02-21 08:51:39 -05:00
Adam
2a41d88c29 http service: use spring datasource configuration 2019-02-17 17:59:53 -05:00