Skip to content

Ahed submission branch - #17

Open
AhedALbarhi wants to merge 1 commit into
CodelineAtyab:mainfrom
AhedALbarhi:ahedAlbarhi-submission-Oraclequantapi
Open

Ahed submission branch#17
AhedALbarhi wants to merge 1 commit into
CodelineAtyab:mainfrom
AhedALbarhi:ahedAlbarhi-submission-Oraclequantapi

Conversation

@AhedALbarhi

Copy link
Copy Markdown

The application is a Spring Boot–based Measurement Conversion API that parses encoded input strings, converts them into numeric values, and stores every request in an Oracle database for tracking and history management.

At its core, the app receives a specially formatted measurement string through a REST endpoint (/convert-measurements). It then uses a custom parsing engine to break the input into logical packages based on a counter-based system. Each package is decoded using a rule set where letters map to numeric values (a = 1 to z = 26, _ = 0), including a special chaining behavior for 'z', which extends the value calculation.

After processing, the API returns a list of computed integer results representing each package. In parallel, every request is persisted into an Oracle XE database as a history record containing the input, output, timestamp, and client IP address.

The system is structured using a clean layered architecture:

-Controllers: handle HTTP requests
-Services: contain parsing and business logic
-Repositories: manage database and in-memory storage
-Models: represent sequences and persistent history entities

Additionally, a history management API (/input) allows retrieval, updating, and deletion of past conversion records, making the system both computational and auditable.

Overall, the project is a combination of a custom encoding/decoding engine + RESTful API + database-backed audit system, built for processing structured measurement sequences efficiently and traceably.

@AhedALbarhi AhedALbarhi changed the title Convert measurments API Ahed submission branch May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant