Index

A B C D E G H I M N O P R S T 
All Classes and Interfaces|All Packages|Serialized Form

A

AuthenticatedService - Class in org.gcube.service.helloworld.rest
 
AuthenticatedService() - Constructor for class org.gcube.service.helloworld.rest.AuthenticatedService
 
authorized() - Method in class org.gcube.service.helloworld.rest.AuthenticatedService
Answers a caller with the role myRole.
authorizedMember() - Method in class org.gcube.service.helloworld.rest.AuthenticatedService
Answers a caller with the role Member.
authorizedOrg() - Method in class org.gcube.service.helloworld.rest.AuthenticatedService
Answers a caller with the role OrganizationMember.

B

badRequest() - Method in class org.gcube.service.helloworld.rest.ExcludeAuthorizationService
Always fails with 400 Bad Request, to show the error returned to the client.

C

check() - Method in class org.gcube.service.helloworld.health.CreateTempFileCheck
 
compute() - Method in class org.gcube.service.helloworld.statistics.GreetingStatistics
 
ContainerConfigurationSerializer - Class in org.gcube.service.helloworld.serializers
Jackson serializer for ContainerConfiguration
ContainerConfigurationSerializer() - Constructor for class org.gcube.service.helloworld.serializers.ContainerConfigurationSerializer
 
ContainerConfigurationSerializer(Class<ContainerConfiguration>) - Constructor for class org.gcube.service.helloworld.serializers.ContainerConfigurationSerializer
 
ContainerContextSerializer - Class in org.gcube.service.helloworld.serializers
Jackson serializer for ContainerContext
ContainerContextSerializer() - Constructor for class org.gcube.service.helloworld.serializers.ContainerContextSerializer
 
ContainerContextSerializer(Class<ContainerContext>) - Constructor for class org.gcube.service.helloworld.serializers.ContainerContextSerializer
 
ContextSerializator - Class in org.gcube.service.helloworld.serializers
Jackson Serialization utils for Smartgear Context classes
ContextSerializator() - Constructor for class org.gcube.service.helloworld.serializers.ContextSerializator
 
CreateTempFileCheck - Class in org.gcube.service.helloworld.health
this class is used to add checks about components used by the service (DB, external FS, other services etc. ) and automatically exposed at /smartgears/<service>/health by the SmartGears webapp of the container
CreateTempFileCheck() - Constructor for class org.gcube.service.helloworld.health.CreateTempFileCheck
 

D

description() - Method in class org.gcube.service.helloworld.statistics.GreetingStatistics
 
details() - Method in class org.gcube.service.helloworld.rest.HelloService
Returns the Context, the caller and the container of the request.

E

ExcludeAuthorizationService - Class in org.gcube.service.helloworld.rest
 
ExcludeAuthorizationService() - Constructor for class org.gcube.service.helloworld.rest.ExcludeAuthorizationService
 
exludedMethod() - Method in class org.gcube.service.helloworld.rest.ExcludeAuthorizationService
Answers without any token: the path is listed under excludes in application.yaml.

G

getContainerDict(ContainerContext) - Static method in class org.gcube.service.helloworld.utils.RestUtils
 
getMessage() - Method in class org.gcube.service.helloworld.beans.ResponseBean
 
getName() - Method in class org.gcube.service.helloworld.health.CreateTempFileCheck
 
getResult() - Method in class org.gcube.service.helloworld.beans.ResponseBean
 
getSerializer() - Static method in class org.gcube.service.helloworld.serializers.ContextSerializator
 
getUserDict(Owner) - Static method in class org.gcube.service.helloworld.utils.RestUtils
 
greet(String, String) - Method in class org.gcube.service.helloworld.rest.PluginService
Asks a plugin to greet.
greeted() - Static method in class org.gcube.service.helloworld.statistics.GreetingStatistics
Counts one greeting.
GreetingPreparation - Class in org.gcube.service.helloworld.context
How the service prepares itself in each of its Contexts: a real service reads or creates its configuration there; this one only notes when it was prepared.
GreetingPreparation() - Constructor for class org.gcube.service.helloworld.context.GreetingPreparation
 
GreetingStatistics - Class in org.gcube.service.helloworld.statistics
An example of a group of public statistics of a service: SmartGears finds the class by its annotation, computes it every GreetingStatistics.refresh() on a thread of its own and serves the last result, with no token, at /smartgears/<service>/statistics.
GreetingStatistics() - Constructor for class org.gcube.service.helloworld.statistics.GreetingStatistics
 
GuestPrivateService - Class in org.gcube.service.helloworld.rest
A path under /guest that needs a token all the same: /guest/* is listed under excludes in application.yaml, /guest/private under includes, and an include wins over any exclude.
GuestPrivateService() - Constructor for class org.gcube.service.helloworld.rest.GuestPrivateService
 

H

hello() - Method in class org.gcube.service.helloworld.rest.HelloService
Greets the caller.
HelloService - Class in org.gcube.service.helloworld.rest
 
HelloService() - Constructor for class org.gcube.service.helloworld.rest.HelloService
 
HelloWorldManager - Class in org.gcube.service.helloworld
This class is used to Manage the application initialization and shutdown per context; The init and shutdown methods are called one per context in which the app is running respectively at init and a shutdown time; the published method is called in a context once the resource of the app has reached it in a system the app is published in.
HelloWorldManager() - Constructor for class org.gcube.service.helloworld.HelloWorldManager
 

I

id() - Method in class org.gcube.service.helloworld.statistics.GreetingStatistics
 
isSuccess() - Method in class org.gcube.service.helloworld.beans.ResponseBean
 

M

message - Variable in class org.gcube.service.helloworld.beans.ResponseBean
An error message if something wrong happened, null/empty otherwise

N

notFound() - Method in class org.gcube.service.helloworld.rest.ExcludeAuthorizationService
Always fails with 404 Not Found, to show the error returned to the client.

O

onInit() - Method in class org.gcube.service.helloworld.HelloWorldManager
onPublished(Publication) - Method in class org.gcube.service.helloworld.HelloWorldManager
onShutdown() - Method in class org.gcube.service.helloworld.HelloWorldManager
OpenApiConfig - Class in org.gcube.service.helloworld.rest.docs
Declares the base OpenAPI document metadata (info, license, servers, and the bearerAuth security scheme and requirement) read by SmallRye OpenAPI at build time; the build replaces the version placeholder with the version of the project.
OpenApiConfig() - Constructor for class org.gcube.service.helloworld.rest.docs.OpenApiConfig
 
org.gcube.service.helloworld - package org.gcube.service.helloworld
 
org.gcube.service.helloworld.annotation - package org.gcube.service.helloworld.annotation
 
org.gcube.service.helloworld.beans - package org.gcube.service.helloworld.beans
 
org.gcube.service.helloworld.context - package org.gcube.service.helloworld.context
 
org.gcube.service.helloworld.health - package org.gcube.service.helloworld.health
 
org.gcube.service.helloworld.rest - package org.gcube.service.helloworld.rest
 
org.gcube.service.helloworld.rest.docs - package org.gcube.service.helloworld.rest.docs
 
org.gcube.service.helloworld.serializers - package org.gcube.service.helloworld.serializers
 
org.gcube.service.helloworld.statistics - package org.gcube.service.helloworld.statistics
 
org.gcube.service.helloworld.utils - package org.gcube.service.helloworld.utils
 
OwnerSerializer - Class in org.gcube.service.helloworld.serializers
Jackson serializer for Owner
OwnerSerializer() - Constructor for class org.gcube.service.helloworld.serializers.OwnerSerializer
 
OwnerSerializer(Class<Owner>) - Constructor for class org.gcube.service.helloworld.serializers.OwnerSerializer
 

P

PluginService - Class in org.gcube.service.helloworld.rest
The plugins of the service, each at /plugins/<id>.
PluginService() - Constructor for class org.gcube.service.helloworld.rest.PluginService
 
prepare() - Method in class org.gcube.service.helloworld.context.GreetingPreparation
 
privateMethod() - Method in class org.gcube.service.helloworld.rest.GuestPrivateService
Answers the caller, who must give a token.
PURGE - Annotation Interface in org.gcube.service.helloworld.annotation
 

R

refresh() - Method in class org.gcube.service.helloworld.statistics.GreetingStatistics
Computed again every five minutes instead of the default thirty: it costs nothing.
removed(String) - Method in class org.gcube.service.helloworld.context.GreetingPreparation
 
ResourceInitializer - Class in org.gcube.service.helloworld
 
ResourceInitializer() - Constructor for class org.gcube.service.helloworld.ResourceInitializer
 
ResponseBean - Class in org.gcube.service.helloworld.beans
Response bean
ResponseBean() - Constructor for class org.gcube.service.helloworld.beans.ResponseBean
 
ResponseBean(boolean, String, Object) - Constructor for class org.gcube.service.helloworld.beans.ResponseBean
 
RestUtils - Class in org.gcube.service.helloworld.utils
 
RestUtils() - Constructor for class org.gcube.service.helloworld.utils.RestUtils
 
result - Variable in class org.gcube.service.helloworld.beans.ResponseBean
The result object of the request

S

serialize(Owner, JsonGenerator, SerializerProvider) - Method in class org.gcube.service.helloworld.serializers.OwnerSerializer
 
serialize(ContainerConfiguration, JsonGenerator, SerializerProvider) - Method in class org.gcube.service.helloworld.serializers.ContainerConfigurationSerializer
 
serialize(ContainerContext, JsonGenerator, SerializerProvider) - Method in class org.gcube.service.helloworld.serializers.ContainerContextSerializer
 
serialize(SimpleCredentials, JsonGenerator, SerializerProvider) - Method in class org.gcube.service.helloworld.serializers.SimpleCredentialsSerializer
 
ServiceExceptionMapper - Class in org.gcube.service.helloworld.rest
 
ServiceExceptionMapper() - Constructor for class org.gcube.service.helloworld.rest.ServiceExceptionMapper
 
setMessage(String) - Method in class org.gcube.service.helloworld.beans.ResponseBean
 
setResult(Object) - Method in class org.gcube.service.helloworld.beans.ResponseBean
 
setSuccess(boolean) - Method in class org.gcube.service.helloworld.beans.ResponseBean
 
SimpleCredentialsSerializer - Class in org.gcube.service.helloworld.serializers
Jackson serializer for SimpleCredentials
SimpleCredentialsSerializer() - Constructor for class org.gcube.service.helloworld.serializers.SimpleCredentialsSerializer
 
SimpleCredentialsSerializer(Class<SimpleCredentials>) - Constructor for class org.gcube.service.helloworld.serializers.SimpleCredentialsSerializer
 
state() - Method in class org.gcube.service.helloworld.context.GreetingPreparation
 
success - Variable in class org.gcube.service.helloworld.beans.ResponseBean
The result of the request: true if it succeeded, false otherwise

T

testPurge() - Method in class org.gcube.service.helloworld.rest.ExcludeAuthorizationService
Answers 204 No Content to the custom HTTP method PURGE, which OpenAPI cannot describe.
title() - Method in class org.gcube.service.helloworld.statistics.GreetingStatistics
 
toResponse(Exception) - Method in class org.gcube.service.helloworld.rest.ServiceExceptionMapper
 
toString() - Method in class org.gcube.service.helloworld.beans.ResponseBean
 
A B C D E G H I M N O P R S T 
All Classes and Interfaces|All Packages|Serialized Form