Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add build version as system info. #13

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

EdwinBetanc0urt
Copy link
Contributor

@EdwinBetanc0urt EdwinBetanc0urt commented Jun 17, 2024

cargo run --bin server
    Finished dev [unoptimized + debuginfo] target(s) in 0.09s
     Running `target/debug/server`
2024-06-17T16:08:25.361Z INFO  [server] Server Address: "0.0.0.0:7878"
2024-06-17T16:08:25.362Z INFO  [server] └──!NULL!
    └──api
        ├──[OPTIONS] -> server::options_response
        ├──[GET] -> server::get_system_info
        ├──resources
        │   ├──[OPTIONS] -> server::options_response
        │   ├──[GET] -> server::get_resources_file_container_based
        │   └──<**file_name>
        │       ├──[OPTIONS] -> server::options_response
        │       ├──[GET] -> server::get_resource
        │       └──[DELETE] -> server::delete_resource
        ├──download-url/<**file_name>
        │   ├──[OPTIONS] -> server::options_response
        │   └──[GET] -> server::get_presigned_url_download_file
        └──presigned-url/<client_id>
            ├──<file_name>
            │   ├──[OPTIONS] -> server::options_response
            │   └──[GET] -> server::get_presigned_url_put_file_container_based
            └──<container_id>/<file_name>
                ├──[OPTIONS] -> server::options_response
                └──[GET] -> server::get_presigned_url_put_file_container_based

2024-06-17T16:08:25.362Z INFO  [salvo_core::server] listening [HTTP/1.1] on http://0.0.0.0:7878

Request

curl 'http://0.0.0.0:7878/api/'

Response

{
	"version": "1.0.0-dev"
}

Additional context

fixes https://github.com/solop-develop/frontend-core/issues/2337

@yamelsenih yamelsenih merged commit 6ff9e5f into adempiere:main Jun 17, 2024
1 check passed
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.

Agregar soporte para ver la versión del S3 Gateway RS.
2 participants