Class FetchUrlShortenerFromOldIS
java.lang.Object
org.gcube.application.shlink.FetchUrlShortenerResource
org.gcube.application.shlink.discovery.FetchUrlShortenerFromOldIS
The Class ISOldFetchUrlShortenerResource.
This class extends FetchUrlShortenerResource to provide functionality for fetching
and managing the URL shortener service configuration from a runtime resource of the OLD Information System.
- Since:
- July 2025
- Author:
- Francesco Mangiacrapa at ISTI-CNR
-
Field Summary
FieldsFields inherited from class org.gcube.application.shlink.FetchUrlShortenerResource
config, DOMAIN, isAvailable, KEY, scope, SHORTENER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.gcube.application.shlink.FetchUrlShortenerResource
getApiKey, getDomain, getScope, getShortnerServiceUrl, readPropertyValue
-
Field Details
-
logger
protected static org.slf4j.Logger logger
-
-
Constructor Details
-
FetchUrlShortenerFromOldIS
- Throws:
Exception
-
-
Method Details
-
fetchUrlShortener
- Specified by:
fetchUrlShortenerin classFetchUrlShortenerResource- Throws:
Exception
-
isAvailable
public boolean isAvailable()- Specified by:
isAvailablein classFetchUrlShortenerResource
-