Commit 1744c73d authored by Massimo Costantini's avatar Massimo Costantini
Browse files

Project cleanup and improved comments

parents
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+134 −0
Original line number Diff line number Diff line
################################################################################
# jPortal - Git ignore rules
# Excludes build artifacts, local environments, user-specific configuration,
# logs, archives and generated files.
################################################################################

############################
# Python
############################
# Bytecode and cache
__pycache__/
*.pyc
*.pyo
*.pyd

# Virtual environments
.venv/
venv/
env/
ENV/

# Environment configuration files
.env
.env.*
!.env.example
!.env.template

# Packaging / distribution
build/
dist/
*.egg-info/
.eggs/

############################
# Node / JavaScript
############################
# Dependency directories
node_modules/

# Frontend build output
dist/
.build/

# Package manager logs
npm-debug.log*
yarn-debug.log*
pnpm-debug.log*

############################
# Java / Maven / Gradle
############################
# Build output
target/
build/
.out/

# Compiled artifacts
*.class
*.jar
*.war

# IDE project files
.idea/
.project
.classpath
.settings/
*.iml

############################
# Logs
############################
*.log
logs/
*.tmp

############################
# Operating system files
############################
.DS_Store
Thumbs.db
Desktop.ini

############################
# Local user configuration
############################
# User-specific configuration and cache directories
.local/
.config/
.cache/

# Shell / tool history files
.bash_history
.zsh_history
.psql_history
.python_history

# Temporary / backup files
*~
*.swp
*.swo
*.old
*.bak

############################
# Archives and large binary files
############################
*.zip
*.tar.gz
*.7z
*.iso
*.bin

############################
# Media and documents
############################
*.mp4
*.mov
*.pdf

############################
# Runtime data
############################
data/
tmp/
run/

############################
# User-specific directories
############################
.ssh/

################################################################################
# End of file
################################################################################

.viminfo

0 → 100644
+517 −0
Original line number Diff line number Diff line
# This viminfo file was generated by Vim 9.0.
# You may edit it if you're careful!

# Viminfo version
|1,4

# Value of 'encoding' when this file was written
*encoding=utf-8


# hlsearch on (H) or off (h):
~h
# Command Line History (newest to oldest):
:wq
|2,0,1772117499,,"wq"
:1
|2,0,1772115874,,"1"
:q!
|2,0,1772115742,,"q!"
:Q!
|2,0,1772115740,,"Q!"
:'<,'>q!
|2,0,1772113560,,"'<,'>q!"

# Search String History (newest to oldest):

# Expression History (newest to oldest):

# Input Line History (newest to oldest):

# Debug Line History (newest to oldest):

# Registers:
"1	LINE	0
		// Forza NUMERIC/DECIMAL come FLOAT per evitare problemi di conversione
|3,0,1,1,1,0,1772115931,"	// Forza NUMERIC/DECIMAL come FLOAT per evitare problemi di conversione"
"2	LINE	0
		// Concludi il documento XML
|3,0,2,1,1,0,1772115902,"	// Concludi il documento XML"
"3	LINE	0
		// Imposta l'header per il formato XML e invia la risposta
|3,0,3,1,1,0,1772115890,"	// Imposta l'header per il formato XML e invia la risposta"
"4	LINE	0
		// Genera il documento XML
|3,0,4,1,1,0,1772115888,"	// Genera il documento XML"
"5	LINE	0
	// Configura Axios per accettare certificati autofirmati
|3,0,5,1,1,0,1772115880,"// Configura Axios per accettare certificati autofirmati"
"6	LINE	0
	// Configura Axios per accettare certificati autofirmati
|3,0,6,1,1,0,1772114920,"// Configura Axios per accettare certificati autofirmati"
"7	LINE	0
	jportal@jportal:~/backend/tap$ cat server.js
|3,0,7,1,1,0,1772114904,"jportal@jportal:~/backend/tap$ cat server.js"
"8	LINE	0
	
|3,0,8,1,1,0,1772114901,""
"9	LINE	0
	jportal@jportal:~/backend/tap$ 
|3,0,9,1,1,0,1772114900,"jportal@jportal:~/backend/tap$ "
""-	CHAR	0
	Dat4LAk32025
|3,1,36,0,1,0,1772117495,"Dat4LAk32025"

# File marks:
'0  2  18  ~/backend/src/main/resources/auth.properties
|4,48,2,18,1772117499,"~/backend/src/main/resources/auth.properties"
'1  288  0  ~/backend/tap/server.js
|4,49,288,0,1772117347,"~/backend/tap/server.js"
'2  1439  1  ~/backend/tap/server.js
|4,50,1439,1,1772115952,"~/backend/tap/server.js"
'3  652  1  ~/backend/tap/server.js
|4,51,652,1,1772115952,"~/backend/tap/server.js"
'4  1  0  ~/backend/tap/server.js
|4,52,1,0,1772115742,"~/backend/tap/server.js"
'5  1  0  ~/backend/tap/server.js
|4,53,1,0,1772115742,"~/backend/tap/server.js"
'6  1  0  ~/backend/tap/server.js
|4,54,1,0,1772115742,"~/backend/tap/server.js"
'7  1  0  ~/backend/tap/server.js
|4,55,1,0,1772115742,"~/backend/tap/server.js"
'8  1  0  ~/backend/tap/server.js
|4,56,1,0,1772114941,"~/backend/tap/server.js"
'9  1  0  ~/backend/tap/server.js
|4,57,1,0,1772114941,"~/backend/tap/server.js"

# Jumplist (newest first):
-'  2  18  ~/backend/src/main/resources/auth.properties
|4,39,2,18,1772117499,"~/backend/src/main/resources/auth.properties"
-'  1  0  ~/backend/src/main/resources/auth.properties
|4,39,1,0,1772117491,"~/backend/src/main/resources/auth.properties"
-'  288  0  ~/backend/tap/server.js
|4,39,288,0,1772117347,"~/backend/tap/server.js"
-'  288  0  ~/backend/tap/server.js
|4,39,288,0,1772117347,"~/backend/tap/server.js"
-'  1  0  ~/backend/tap/server.js
|4,39,1,0,1772117333,"~/backend/tap/server.js"
-'  1  0  ~/backend/tap/server.js
|4,39,1,0,1772117333,"~/backend/tap/server.js"
-'  788  0  ~/backend/tap/server.js
|4,39,788,0,1772117331,"~/backend/tap/server.js"
-'  788  0  ~/backend/tap/server.js
|4,39,788,0,1772117331,"~/backend/tap/server.js"
-'  1439  1  ~/backend/tap/server.js
|4,39,1439,1,1772115952,"~/backend/tap/server.js"
-'  652  1  ~/backend/tap/server.js
|4,39,652,1,1772115952,"~/backend/tap/server.js"
-'  1439  1  ~/backend/tap/server.js
|4,39,1439,1,1772115952,"~/backend/tap/server.js"
-'  652  1  ~/backend/tap/server.js
|4,39,652,1,1772115952,"~/backend/tap/server.js"
-'  1  0  ~/backend/tap/server.js
|4,39,1,0,1772115816,"~/backend/tap/server.js"
-'  1  0  ~/backend/tap/server.js
|4,39,1,0,1772115816,"~/backend/tap/server.js"
-'  1  0  ~/backend/tap/server.js
|4,39,1,0,1772115742,"~/backend/tap/server.js"
-'  1  0  ~/backend/tap/server.js
|4,39,1,0,1772115742,"~/backend/tap/server.js"
-'  1  0  ~/backend/tap/server.js
|4,39,1,0,1772114941,"~/backend/tap/server.js"
-'  1  0  ~/backend/tap/server.js
|4,39,1,0,1772114941,"~/backend/tap/server.js"
-'  1698  0  ~/backend/tap/server.js
|4,39,1698,0,1772114933,"~/backend/tap/server.js"
-'  910  0  ~/backend/tap/server.js
|4,39,910,0,1772114933,"~/backend/tap/server.js"
-'  911  0  ~/backend/tap/server.js
|4,39,911,0,1772114933,"~/backend/tap/server.js"
-'  123  0  ~/backend/tap/server.js
|4,39,123,0,1772114933,"~/backend/tap/server.js"
-'  123  0  ~/backend/tap/server.js
|4,39,123,0,1772114933,"~/backend/tap/server.js"
-'  123  0  ~/backend/tap/server.js
|4,39,123,0,1772114933,"~/backend/tap/server.js"
-'  1698  0  ~/backend/tap/server.js
|4,39,1698,0,1772114933,"~/backend/tap/server.js"
-'  910  0  ~/backend/tap/server.js
|4,39,910,0,1772114933,"~/backend/tap/server.js"
-'  911  0  ~/backend/tap/server.js
|4,39,911,0,1772114933,"~/backend/tap/server.js"
-'  123  0  ~/backend/tap/server.js
|4,39,123,0,1772114933,"~/backend/tap/server.js"
-'  123  0  ~/backend/tap/server.js
|4,39,123,0,1772114933,"~/backend/tap/server.js"
-'  123  0  ~/backend/tap/server.js
|4,39,123,0,1772114933,"~/backend/tap/server.js"
-'  1  0  ~/backend/tap/server.js
|4,39,1,0,1772114892,"~/backend/tap/server.js"
-'  1  0  ~/backend/tap/server.js
|4,39,1,0,1772114892,"~/backend/tap/server.js"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  0  ~/backend/rucio/app.py
|4,39,109,0,1772113705,"~/backend/rucio/app.py"
-'  109  22  ~/backend/rucio/app.py
|4,39,109,22,1772113674,"~/backend/rucio/app.py"
-'  109  22  ~/backend/rucio/app.py
|4,39,109,22,1772113674,"~/backend/rucio/app.py"
-'  109  22  ~/backend/rucio/app.py
|4,39,109,22,1772113674,"~/backend/rucio/app.py"
-'  109  22  ~/backend/rucio/app.py
|4,39,109,22,1772113674,"~/backend/rucio/app.py"

# History of marks within files (newest to oldest):

> ~/backend/src/main/resources/auth.properties
	*	1772117498	0
	"	2	18
	^	2	19
	.	2	18
	+	2	18

> ~/backend/tap/server.js
	*	1772117346	0
	"	288	0
	^	788	0
	.	405	0
	+	2361	0
	+	1	0
	+	1594	25
	+	1607	0
	+	1576	2
	+	826	25
	+	823	0
	+	839	0
	+	910	0
	+	912	0
	+	980	0
	+	1205	0
	+	787	3
	+	405	0

> ~/backend/rucio/app.py
	*	1772113702	0
	"	109	0
	^	109	23
	.	109	22
	+	1	3
	+	109	22

> ~/backend/pom.xml
	*	1772113576	0
	"	108	0
	^	243	10
	.	243	9
	+	243	9

> ~/frontend/src/components/RamsesView.vue
	*	1772106275	0
	"	56	0
	^	56	8
	.	56	7
	+	56	7

> ~/frontend/src/components/PlutoView.vue
	*	1772106246	0
	"	56	0
	^	56	8
	.	56	7
	+	56	7

> ~/frontend/src/components/TopMenu.vue
	*	1772106118	0
	"	307	0
	^	307	8
	.	307	7
	+	1	4
	+	307	7

> ~/frontend/src/components/SettingsView.vue
	*	1772106007	0
	"	38	8
	^	38	9
	.	38	8
	+	1	4
	+	38	8

> ~/frontend/src/components/MainForm.vue
	*	1772105954	0
	"	42	7
	^	42	8
	.	42	7
	+	1	4
	+	42	7

> ~/frontend/src/components/HelpView.vue
	*	1772105890	0
	"	32	8
	^	32	9
	.	32	8
	+	1	4
	+	32	8

> ~/frontend/src/components/GaiaView.vue
	*	1772105729	0
	"	1712	0
	^	648	40
	.	1070	46
	+	1711	8
	+	2	0
	+	815	20
	+	840	13
	+	845	0
	+	890	0
	+	910	0
	+	1100	0
	+	1114	0
	+	1119	0
	+	1124	0
	+	1129	0
	+	1134	0
	+	646	39
	+	647	39
	+	648	39
	+	1070	46

> ~/frontend/src/components/FermiView.vue
	*	1772105580	0
	"	677	0
	^	836	8
	.	677	0
	+	836	7
	+	156	0
	+	294	0
	+	347	0
	+	354	0
	+	356	0
	+	368	0
	+	371	0
	+	391	0
	+	407	0
	+	410	0
	+	417	0
	+	420	0
	+	665	0
	+	666	0
	+	2	0
	+	677	0

> ~/frontend/src/components/FermiView.vue.old
	*	1772103418	0
	"	793	0
	.	2	0
	+	2	0

> ~/frontend/src/router/index.js
	*	1772100829	0
	"	14	20
	^	92	21
	.	92	20
	+	1	3
	+	92	20

> ~/frontend/src/plugins/bootstrap-vue.js
	*	1772100699	0
	"	22	21
	^	22	22
	.	22	21
	+	1	3
	+	22	21

> ~/frontend/src/api/server/index.js
	*	1772100620	0
	"	1	0
	^	163	1
	.	163	0
	+	1	3
	+	163	0

> ~/frontend/src/store.js
	*	1772100519	0
	"	94	1
	^	94	2
	.	94	1
	+	1	3
	+	94	1

> ~/frontend/src/main.js
	*	1772100471	0
	"	1	0
	^	82	1
	.	82	0
	+	1	3
	+	82	0

> ~/frontend/src/App.vue
	*	1772100419	0
	"	91	0
	^	112	8
	.	112	7
	+	1	10
	+	112	7

> ~/frontend/public/index.html
	*	1772100316	0
	"	1	0
	^	51	7
	.	51	6
	+	1	15
	+	51	6

> ~/frontend/vue.config.js
	*	1772100215	0
	"	38	1
	^	38	2
	.	38	1
	+	1	3
	+	38	1

> ~/frontend/babel.config.js
	*	1772098415	0
	"	13	0
	^	13	1
	.	13	0
	+	1	3
	+	13	0

> ~/frontend/.env.production
	*	1772098361	0
	"	13	24
	^	13	25
	.	13	24
	+	1	79
	+	13	24

> ~/frontend/.env.development
	*	1772098315	0
	"	13	46
	^	13	47
	.	13	46
	+	1	79
	+	13	46

README.md

0 → 100644
+47 −0
Original line number Diff line number Diff line
# jPortal

jPortal is a web-based platform developed within the PNRR project  
**Spoke 3 – Work Package 4**.

The system provides a unified interface for data access, query execution,
and integration with distributed data services.

---

## Project Structure

- `frontend/` – Vue.js single-page application
- `backend/` – Spring Boot application (UI and authentication layer)
- `backend/tap/` – Node.js TAP service
- `backend/rucio/` – Flask microservice for Rucio integration
- Shell scripts – Build and service orchestration utilities

---

## Main Components

- **Spring Boot** – Application backend and authentication layer
- **Vue.js** – Web user interface
- **Node.js (TAP)** – Table Access Protocol service and query execution
- **Flask (Rucio)** – File replica resolution service
- **PostgreSQL** – Data storage
- **Redis** – Temporary cache for datalink operations

---

## Build and Execution

Installation and startup are managed through the provided shell scripts:

- `jInstall.sh` – Installs dependencies
- `jPortal.sh` – Builds and starts the main application
- `jTAP.sh` – Starts the TAP service
- `jRucio.sh` – Starts the Rucio service
- `jAll.sh` – Starts all services

---

## License

This project is provided without warranty.  
© IA2 – INAF – OATs
+2 −0
Original line number Diff line number Diff line
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.3/apache-maven-3.9.3-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar

backend/mvnw

0 → 100755
+0 −0

File added.

Preview size limit exceeded, changes collapsed.