/*
 * File: src/main/java/reports/utility/AppConfig.java
 * Description: This configuration class is responsible for defining and providing
 * beans needed throughout the application. In this case, it provides a
 * RestTemplate bean, which is essential for making HTTP requests.
*/

package com.nebula.erp.reports.utility;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

@Configuration
public class AppConfig {
    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}
