ElastiCORE Environment Configuration Guide (env.yml)
Overview
env.yml is the ElastiCORE domain-specific environment configuration file that defines code generation modes, frameworks, namespaces, annotations, and more.
Environment configuration information must be defined before DSL-based modeling.
Basic Structure
elasticore: # 또는 env: (레거시 형식)
enable: true/false
config:
domainName: string
framework: string
mode: string
j2ee: string
# 모드별 추가 설정
namespace:
entity: package.path
dto: package.path
# 기타 네임스페이스
1. 기본 설정 (config)
Required Settings
config:
domainName: myDomain # 도메인명 (생성될 패키지와 파일명에 사용)
framework: springboot # 프 레임워크 지정
mode: jpa,uml # 생성 모드 (콤마로 구분)
j2ee: jakarta # J2EE 스택 (jakarta/javax)
Framework Settings
springboot: Spring Boot 최신 버전 (기본)