Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"permissions": {
"allow": [
"Bash(./gradlew test:*)",
"Bash(./gradlew clean build:*)",
"Bash(./gradlew spotlessApply)",
"Read(//c/Program Files/Eclipse Adoptium/**)",
"Bash(export JAVA_HOME=\"C:/Program Files/Eclipse Adoptium/jdk-25.0.0.36-hotspot\")",
"Bash(where java)",
"Bash(curl -L \"https://api.adoptium.net/v3/binary/latest/21/ga/windows/x64/jdk/hotspot/normal/eclipse\" -o /tmp/jdk21.zip)",
"Read(//c/**)",
"Bash(export JAVA_HOME=\"/tmp/jdk-21.0.8+9\")",
"Bash(export JWT_SECRET_KEY=\"test-secret-key-for-migration-only\")",
"Bash(export JWT_ACCESS_TOKEN_VALIDITY=\"3600\")",
"Bash(export JWT_REFRESH_TOKEN_VALIDITY=\"86400\")",
"Bash(timeout 30 ./gradlew bootRun)",
"Bash(timeout 30 ./gradlew bootRun --info)",
"Bash(export JAVA_HOME=\"C:/Users/Desktop/.jdks/corretto-21.0.6\")",
"Bash(tee /tmp/bootrun.log)",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"SELECT id, search_option_name, display_order, is_active FROM auction_search_option_metadata ORDER BY display_order LIMIT 5;\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"SELECT search_option_name, JSON_PRETTY(search_condition_json) as json_data FROM auction_search_option_metadata WHERE id = 1;\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"SELECT COUNT(*) as total_count FROM auction_search_option_metadata; SELECT id, search_option_name, display_order FROM auction_search_option_metadata ORDER BY display_order;\")",
"Bash(curl -X GET http://localhost:8092/api/search-option -H \"Content-Type: application/json\")",
"Bash(python -m json.tool)",
"Bash(netstat -ano)",
"Bash(awk '{print $5}')",
"Bash(xargs -I {} taskkill //PID {} //F)",
"Bash(export JWT_SECRET_KEY=\"test-secret-key\")",
"Bash(timeout 40 ./gradlew bootRun)",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"\nEXPLAIN\nSELECT *\nFROM auction_history ah\nINNER JOIN auction_item_option io ON ah.auction_buy_id = io.auction_history_id\nWHERE ah.item_top_category = ''근거리 장비''\n AND ah.item_sub_category = ''검''\n AND ah.item_name = ''고스트 소드''\n AND ah.auction_price_per_unit BETWEEN 10 AND 1000000000\n AND ah.date_auction_buy BETWEEN ''2023-01-01'' AND ''2025-12-31''\n AND ((io.option_type = ''세공 옵션'' AND io.option_value2 >= 2)\n OR (io.option_type = ''공격'' AND io.option_value2 >= 2)\n OR (io.option_type = ''인챈트'' AND io.option_sub_type = ''접미'' AND io.option_value = ''다이어 울프''))\nLIMIT 10;\n\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"\nEXPLAIN\nSELECT *\nFROM auction_history ah\nINNER JOIN auction_item_option io ON ah.auction_buy_id = io.auction_history_id\nWHERE ah.item_top_category = ''근거리 장비''\n AND ah.item_sub_category = ''검''\n AND ah.item_name = ''고스트 소드''\n AND ah.auction_price_per_unit BETWEEN 10 AND 1000000000\n AND ah.date_auction_buy BETWEEN ''2023-01-01'' AND ''2025-12-31''\n AND ah.auction_buy_id IN (\n SELECT io2.auction_history_id \n FROM auction_item_option io2 \n WHERE ((io2.option_type = ''세공 옵션'' AND io2.option_value2 >= 2)\n OR (io2.option_type = ''공격'' AND io2.option_value2 >= 2)\n OR (io2.option_type = ''인챈트'' AND io2.option_sub_type = ''접미'' AND io2.option_value = ''다이어 울프''))\n )\nLIMIT 10;\n\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"\nSELECT item_top_category, item_sub_category, item_name, COUNT(*) as cnt\nFROM auction_history\nGROUP BY item_top_category, item_sub_category, item_name\nORDER BY cnt DESC\nLIMIT 5;\n\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"\nDESCRIBE auction_item_option;\n\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"\nSELECT option_type, option_sub_type, COUNT(*) as cnt\nFROM auction_item_option\nGROUP BY option_type, option_sub_type\nORDER BY cnt DESC\nLIMIT 10;\n\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"\nEXPLAIN FORMAT=TREE\nSELECT ah.*, io.*\nFROM auction_history ah\nINNER JOIN auction_item_option io ON ah.auction_buy_id = io.auction_history_id\nWHERE ah.item_top_category = ''소모품''\n AND ((io.option_type = ''공격'' AND io.option_value2 >= ''2'')\n OR (io.option_type = ''밸런스'' AND io.option_value2 >= ''5''))\nLIMIT 10;\n\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"\nSELECT ah.item_top_category, COUNT(DISTINCT ah.auction_buy_id) as history_cnt, COUNT(io.id) as option_cnt\nFROM auction_history ah\nLEFT JOIN auction_item_option io ON ah.auction_buy_id = io.auction_history_id\nGROUP BY ah.item_top_category\nORDER BY option_cnt DESC\nLIMIT 5;\n\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"\n-- Query 1: Direct JOIN with WHERE\nEXPLAIN FORMAT=TREE\nSELECT ah.auction_buy_id, ah.item_name, io.option_type, io.option_value2\nFROM auction_history ah\nINNER JOIN auction_item_option io ON ah.auction_buy_id = io.auction_history_id\nWHERE ah.item_top_category = ''근거리 장비''\n AND ((io.option_type = ''공격'' AND CAST(io.option_value2 AS UNSIGNED) >= 2)\n OR (io.option_type = ''밸런스'' AND CAST(io.option_value2 AS UNSIGNED) >= 5))\nLIMIT 10;\n\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"\n-- Check if JOIN works\nSELECT \n ah.auction_buy_id,\n ah.item_name,\n ah.item_top_category,\n io.option_type,\n io.option_value2\nFROM auction_history ah\nINNER JOIN auction_item_option io ON ah.auction_buy_id = io.auction_history_id\nWHERE ah.item_top_category = ''근거리 장비''\nLIMIT 5;\n\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"\n-- Check auction_buy_id samples from both tables\nSELECT ''auction_history'' as source, auction_buy_id FROM auction_history LIMIT 3\nUNION ALL\nSELECT ''auction_item_option'' as source, auction_history_id FROM auction_item_option WHERE auction_history_id IS NOT NULL LIMIT 3;\n\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"SELECT auction_buy_id FROM auction_history LIMIT 3;\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"SELECT auction_history_id FROM auction_item_option WHERE auction_history_id IS NOT NULL LIMIT 3;\")",
"Bash(mysql -h 127.0.0.1 -P 3318 -u devnogi -pdevnogi0529! devnogi -e \"\nEXPLAIN FORMAT=JSON\nSELECT ah.auction_buy_id, ah.item_name, ah.item_top_category, io.option_type, io.option_value2\nFROM auction_history ah\nINNER JOIN auction_item_option io ON ah.auction_buy_id = io.auction_history_id\nWHERE ah.item_top_category = ''''근거리 장비''''\n AND ((io.option_type = ''''공격'''')\n OR (io.option_type = ''''밸런스''''))\nLIMIT 10;\n\")",
"Bash(cat)",
"Bash(./gradlew clean test:*)",
"Bash(cat:*)",
"Bash(unset JAVA_HOME)",
"Bash(./gradlew:*)",
"Bash(export PATH=\"/c/Program Files/Eclipse Adoptium/jdk-25.0.0.36-hotspot/bin:$PATH\":*)",
"Bash(java:*)",
"Bash(curl:*)",
"Bash(unzip:*)",
"Bash(export PATH=\"$JAVA_HOME/bin:$PATH\")",
"Bash(mysql:*)"
],
"deny": [],
"ask": []
}
}
Loading