<component name="ProjectRunConfigurationManager">
  <configuration default="false" name="analytics-service" type="GradleRunConfiguration" factoryName="Gradle">
    <ExternalSystemSettings>
      <option name="env">
        <map>
          <!-- Database Configuration -->
          <entry key="DB_KIND" value="postgresql" />
          <entry key="DB_HOST" value="4.230.49.9" />
          <entry key="DB_PORT" value="5432" />
          <entry key="DB_NAME" value="analyticdb" />
          <entry key="DB_USERNAME" value="eventuser" />
          <entry key="DB_PASSWORD" value="Hi5Jessica!" />

          <!-- JPA Configuration -->
          <entry key="DDL_AUTO" value="create" />
          <entry key="SHOW_SQL" value="true" />

          <!-- Redis Configuration -->
          <entry key="REDIS_HOST" value="20.214.210.71" />
          <entry key="REDIS_PORT" value="6379" />
          <entry key="REDIS_PASSWORD" value="Hi5Jessica!" />
          <entry key="REDIS_DATABASE" value="5" />

          <!-- Kafka Configuration (원격 서버) -->
          <entry key="KAFKA_ENABLED" value="true" />
          <entry key="KAFKA_BOOTSTRAP_SERVERS" value="20.249.182.13:9095,4.217.131.59:9095" />
          <entry key="KAFKA_CONSUMER_GROUP_ID" value="analytics-service-consumers" />

          <!-- Sample Data Configuration (MVP Only) -->
          <!-- ⚠️ Kafka Producer로 이벤트 발행 (Consumer가 처리) -->
          <entry key="SAMPLE_DATA_ENABLED" value="true" />

          <!-- Server Configuration -->
          <entry key="SERVER_PORT" value="8086" />

          <!-- JWT Configuration -->
          <entry key="JWT_SECRET" value="dev-jwt-secret-key-for-development-only-kt-event-marketing" />
          <entry key="JWT_ACCESS_TOKEN_VALIDITY" value="1800" />
          <entry key="JWT_REFRESH_TOKEN_VALIDITY" value="86400" />

          <!-- CORS Configuration -->
          <entry key="CORS_ALLOWED_ORIGINS" value="http://localhost:*,http://*.nip.io:*" />

          <!-- Logging Configuration -->
          <entry key="LOG_FILE" value="logs/analytics-service.log" />
          <entry key="LOG_LEVEL_APP" value="DEBUG" />
          <entry key="LOG_LEVEL_WEB" value="INFO" />
          <entry key="LOG_LEVEL_SQL" value="DEBUG" />
          <entry key="LOG_LEVEL_SQL_TYPE" value="TRACE" />
        </map>
      </option>
      <option name="executionName" />
      <option name="externalProjectPath" value="$PROJECT_DIR$" />
      <option name="externalSystemIdString" value="GRADLE" />
      <option name="scriptParameters" value="" />
      <option name="taskDescriptions">
        <list />
      </option>
      <option name="taskNames">
        <list>
          <option value="analytics-service:bootRun" />
        </list>
      </option>
      <option name="vmOptions" />
    </ExternalSystemSettings>
    <ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
    <ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
    <EXTENSION ID="com.intellij.execution.ExternalSystemRunConfigurationJavaExtension">
      <extension name="net.ashald.envfile">
        <option name="IS_ENABLED" value="false" />
        <option name="IS_SUBST" value="false" />
        <option name="IS_PATH_MACRO_SUPPORTED" value="false" />
        <option name="IS_IGNORE_MISSING_FILES" value="false" />
        <option name="IS_ENABLE_EXPERIMENTAL_INTEGRATIONS" value="false" />
        <ENTRIES>
          <ENTRY IS_ENABLED="true" PARSER="runconfig" IS_EXECUTABLE="false" />
        </ENTRIES>
      </extension>
    </EXTENSION>
    <DebugAllEnabled>false</DebugAllEnabled>
    <RunAsTest>false</RunAsTest>
    <method v="2" />
  </configuration>
</component>
