IHTSDO / authoring-services

Other
2 stars 3 forks source link

How can we stop the AWS service from getting connected while starting the service? #3

Open Kartik-Rai opened 4 years ago

Kartik-Rai commented 4 years ago

Hi @kaicode,

As we are trying to start the authoring service there is an issue of AWS, trying to prevent the startup of the authoring service

2020-02-12 10:03:51.930 ERROR 9481 --- [ main] o.s.boot.SpringApplication : Application startup failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dialectConversionService': Invocation of init method failed; nested exception is com.amazonaws.services.s3.model.AmazonS3Exception: Object does not exist. (Service: null; Status Code: 404; Error Code: null; Request ID: null), S3 Extended Request ID: null

Is there is any way to stop connecting to AWS, or, any changes to properties file? Attached logs to the whole issue. authoring-services-Logs.txt

Regards Kartik Rai (NRC India)

Kartik-Rai commented 4 years ago

?

kaicode commented 4 years ago

Hi @Kartik-Rai,

There isn't a configuration option available at this time. We haven't had capacity to fix this but the class which loads these files should be replaced by the ResourceLoader we are using in the Classification-Service project which can be configured to use AWS S3 storage or the local disk. If you have any developer capacity within your team we would welcome a code contribution for this. I'm sorry I can't spare the resource to help further at the moment.

Kind regards, Kai