Refactor auth-service to iam-service and update related configurations
- Renamed auth-service to iam-service across various files for consistency. - Updated deployment workflows, database migration scripts, and documentation to reflect the service name change. - Enhanced bilingual documentation for clarity on the new service structure and usage. - Removed outdated references to auth-service in scripts and configuration files to streamline the project structure.
This commit is contained in:
@@ -9,7 +9,7 @@ BACKUP_DIR="${2:-./backups}"
|
||||
# VI: Xác thực tham số
|
||||
if [ -z "$SERVICE" ]; then
|
||||
echo "Usage: $0 <service-name> [backup-dir]"
|
||||
echo "Example: $0 auth-service"
|
||||
echo "Example: $0 iam-service"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ SERVICE=$1
|
||||
# VI: Xác thực tham số tên service
|
||||
if [ -z "$SERVICE" ]; then
|
||||
echo "Usage: $0 <service-name> [dev|deploy] / Cách dùng: $0 <tên-service> [dev|deploy]"
|
||||
echo "Example: $0 auth-service dev / Ví dụ: $0 auth-service dev"
|
||||
echo "Example: $0 auth-service deploy / Ví dụ: $0 auth-service deploy"
|
||||
echo "Example: $0 iam-service dev / Ví dụ: $0 iam-service dev"
|
||||
echo "Example: $0 iam-service deploy / Ví dụ: $0 iam-service deploy"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ SERVICE=$1
|
||||
# VI: Xác thực tham số
|
||||
if [ -z "$SERVICE" ]; then
|
||||
echo "Usage: $0 <service-name>"
|
||||
echo "Example: $0 auth-service"
|
||||
echo "Example: $0 iam-service"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -63,10 +63,10 @@ echo " See: deployments/staging/kubernetes/secrets.yaml.example"
|
||||
echo " See: deployments/production/kubernetes/secrets.yaml.example"
|
||||
echo ""
|
||||
echo "3. Run initial migration:"
|
||||
echo " ./scripts/db/migrate.sh auth-service dev"
|
||||
echo " ./scripts/db/migrate.sh iam-service dev"
|
||||
echo ""
|
||||
echo "4. Seed database (optional):"
|
||||
echo " ./scripts/db/seed.sh auth-service"
|
||||
echo " ./scripts/db/seed.sh iam-service"
|
||||
echo ""
|
||||
echo -e "${GREEN}✅ Setup instructions complete!${NC}"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user