Files
roa2web-service-auto/reports-app/frontend/scripts/android-disconnect.sh
Marius Mutu 6b13ffa183 Initial commit: ROA2WEB - FastAPI + Vue.js + Telegram Bot
Modern ERP Reports Application with microservices architecture

Tech Stack:
- Backend: FastAPI + python-oracledb (Oracle DB integration)
- Frontend: Vue.js 3 + PrimeVue + Vite
- Telegram Bot: python-telegram-bot + SQLite
- Infrastructure: Shared database pool, JWT authentication, SSH tunnel

Features:
- FastAPI backend with async Oracle connection pool
- Vue.js 3 responsive frontend with PrimeVue components
- Telegram bot alternative interface
- Microservices architecture with shared components
- Complete deployment support (Linux Docker + Windows IIS)
- Comprehensive testing (Playwright E2E + pytest)

Repository Structure:
- reports-app/ - Main application (backend, frontend, telegram-bot)
- shared/ - Shared components (database pool, auth, utils)
- deployment/ - Deployment scripts (Linux & Windows)
- docs/ - Project documentation
- security/ - Security scanning and git hooks
2025-10-25 14:55:08 +03:00

40 lines
936 B
Bash

#!/bin/bash
# ROA2WEB - Android Disconnect Script
# Opreste conexiunea si curata port forwarding
set -e
# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
NC='\033[0m'
print_success() { echo -e "${GREEN}[OK] $1${NC}"; }
print_info() { echo -e "${BLUE}[INFO] $1${NC}"; }
echo
print_info " Deconectare telefon Android si cleanup..."
echo
# Remove all port forwarding
print_info "Stergere port forwarding..."
adb forward --remove-all 2>/dev/null || true
print_success "Port forwarding sters"
# Remove all reverse port forwarding
print_info "Stergere reverse port forwarding..."
adb reverse --remove-all 2>/dev/null || true
print_success "Reverse port forwarding sters"
echo
print_success "[OK] Deconectare completa!"
echo
print_info "Poti deconecta telefonul de la calculator in siguranta."
echo
print_info "Pentru a reconecta, ruleaza (Windows PowerShell):"
echo " .\\android-test-setup.ps1"
echo