package com.njcn.rdms.module.project.framework.rpc.config;

import com.njcn.rdms.module.system.api.dept.DeptApi;
import com.njcn.rdms.module.system.api.dept.OrgLeaderApi;
import com.njcn.rdms.module.system.api.dept.PostApi;
import com.njcn.rdms.module.system.api.dict.DictDataApi;
import com.njcn.rdms.module.system.api.file.FileApi;
import com.njcn.rdms.module.system.api.notify.NotifyMessageSendApi;
import com.njcn.rdms.module.system.api.permission.ObjectPermissionApi;
import com.njcn.rdms.module.system.api.permission.PermissionApi;
import com.njcn.rdms.module.system.api.permission.UserVisibilityConfigApi;
import com.njcn.rdms.module.system.api.user.AdminUserApi;
import com.njcn.rdms.module.system.api.user.UserManagementRelationApi;
import com.njcn.rdms.module.system.api.user.UserSignatureApi;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;

/**
 * Project 模块的 RPC 配置
 */
@Configuration(value = "projectRpcConfiguration", proxyBeanMethods = false)
@EnableFeignClients(clients =
        {AdminUserApi.class, ObjectPermissionApi.class, DictDataApi.class, FileApi.class,
                PermissionApi.class, OrgLeaderApi.class, UserVisibilityConfigApi.class,
                DeptApi.class, PostApi.class, UserManagementRelationApi.class,
                NotifyMessageSendApi.class, UserSignatureApi.class})
public class RpcConfiguration {
}
