-/*-\r
+/*\r
* ============LICENSE_START=======================================================\r
- * Copyright (C) 2020 Nordix Foundation. All rights reserved.\r
+ * Copyright (C) 2020 Nordix Foundation.\r
+ * Modifications Copyright (C) 2021 Pantheon.tech\r
+ * Modifications Copyright (C) 2021 Bell Canada.\r
* ================================================================================\r
* Licensed under the Apache License, Version 2.0 (the "License");\r
* you may not use this file except in compliance with the License.\r
import org.modelmapper.ModelMapper;\r
import org.springframework.context.annotation.Bean;\r
import org.springframework.context.annotation.Configuration;\r
-import springfox.documentation.builders.PathSelectors;\r
-import springfox.documentation.builders.RequestHandlerSelectors;\r
-import springfox.documentation.spi.DocumentationType;\r
-import springfox.documentation.spring.web.plugins.Docket;\r
+import org.springframework.retry.annotation.EnableRetry;\r
\r
@Configuration\r
+@EnableRetry\r
public class CpsConfig {\r
\r
- /**\r
- * Swagger configuration.\r
- */\r
- @Bean\r
- public Docket api() {\r
- return new Docket(DocumentationType.OAS_30).select().apis(RequestHandlerSelectors.any())\r
- .paths(PathSelectors.any()).build();\r
- }\r
-\r
/**\r
* ModelMapper configuration.\r
*/\r
public ModelMapper modelMapper() {\r
return new ModelMapper();\r
}\r
-}
\ No newline at end of file
+}\r