{"id":13409167,"url":"https://github.com/stcarrez/ada-servlet","last_synced_at":"2025-07-18T23:03:28.186Z","repository":{"id":41516253,"uuid":"116228151","full_name":"stcarrez/ada-servlet","owner":"stcarrez","description":"Ada Servlet - Web Servlet Library following JSR 154, JSR 315","archived":false,"fork":false,"pushed_at":"2024-09-08T08:26:39.000Z","size":9782,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-08T09:38:21.460Z","etag":null,"topics":["ada","servlet","servlet-filter","web"],"latest_commit_sha":null,"homepage":"","language":"Ada","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stcarrez.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-04T07:18:12.000Z","updated_at":"2024-09-08T08:26:44.000Z","dependencies_parsed_at":"2024-02-01T20:08:39.942Z","dependency_job_id":"69e7da91-0f85-484c-8b15-7be4406a4152","html_url":"https://github.com/stcarrez/ada-servlet","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stcarrez%2Fada-servlet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stcarrez%2Fada-servlet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stcarrez%2Fada-servlet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stcarrez%2Fada-servlet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stcarrez","download_url":"https://codeload.github.com/stcarrez/ada-servlet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241924465,"owners_count":20043222,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ada","servlet","servlet-filter","web"],"created_at":"2024-07-30T20:00:58.496Z","updated_at":"2025-07-18T23:03:28.175Z","avatar_url":"https://github.com/stcarrez.png","language":"Ada","funding_links":[],"categories":["Frameworks"],"sub_categories":["Web"],"readme":"# Ada Servlet\n\n[![Alire](https://img.shields.io/endpoint?url=https://alire.ada.dev/badges/servletada.json)](https://alire.ada.dev/crates/servletada)\n[![Ada 2012](https://img.shields.io/badge/2012-inside-green?logo=ada\u0026logoColor=white\u0026logoSize=auto)](https://adaic.org/ada-resources/standards/ada12)\n[![Build Status](https://img.shields.io/endpoint?url=https://porion.vacs.fr/porion/api/v1/projects/ada-servlet/badges/build.json)](https://porion.vacs.fr/porion/projects/view/ada-servlet/summary)\n[![Test Status](https://img.shields.io/endpoint?url=https://porion.vacs.fr/porion/api/v1/projects/ada-servlet/badges/tests.json)](https://porion.vacs.fr/porion/projects/view/ada-servlet/xunits)\n[![Coverage](https://img.shields.io/endpoint?url=https://porion.vacs.fr/porion/api/v1/projects/ada-servlet/badges/coverage.json)](https://porion.vacs.fr/porion/projects/view/ada-servlet/summary)\n[![Download](https://img.shields.io/badge/download-1.7.1-brightgreen.svg)](http://download.vacs.fr/ada-servlet/ada-servlet-1.7.1.tar.gz)\n[![License](https://img.shields.io/badge/license-APACHE2-blue.svg)](LICENSE)\n[![GitLab](https://img.shields.io/badge/repo-GitLab-6C488A.svg)](https://gitlab.com/stcarrez/ada-servlet)\n[![Commits](https://img.shields.io/github/commits-since/stcarrez/ada-servlet/1.7.1.svg)](Commits)\n\nAda Servlet allows to create web applications using the same pattern\nas the Java Servlet (See JSR 154, JSR 315). \n\nThe Ada Servlet library is used by the [Ada Server Faces](https://gitlab.com/stcarrez/ada-asf) framework,\nthe [OpenAPI Ada library](https://github.com/stcarrez/swagger-ada)\nand [Ada Web Application](https://gitlab.com/stcarrez/ada-awa)\nto provide server web requests.\n\n## Version 1.8.0   - Jul 2025\n  - Fix #15: wrong client_secret initialization in OAuth servlet: copy paste error\n  - Feature #16: Better control of response types in REST servlet from the operation\n  - Allow to build and install without Alire\n\n[List all versions](https://gitlab.com/stcarrez/ada-servlet/blob/master/NEWS.md)\n\n## Using with Alire\n\nIf you are using [Alire](https://alire.ada.dev/) in your project, run the following command\nwithin your [Alire](https://alire.ada.dev/) project to use the library:\n\n```\nalr with servletada\n```\n\nFor the web server, you have the choice between:\n\n* [AWS](https://github.com/AdaCore/aws)\n* [EWS](https://github.com/simonjwright/ews)\n\nChoose one of the following crates:\n\n```\nalr with servletada_aws\nalr with servletada_ews\n```\n\n## Using without Alire\n\nIf you don't have [Alire](https://alire.ada.dev/) or want to build and install the library\non a specific place, run a `setup` command to configure the build as well as installation\ndirectory.\n\nThe `HAVE_ALIRE` configuration allows you to disable the build with [Alire](https://alire.ada.dev/),\nthe `HAVE_AWS` controls the support for AWS and the `HAVE_EWS` controls the support for EWS.\n\n```\nmake setup BUILD=debug PREFIX=/build/install HAVE_ALIRE=no HAVE_EWS=no HAVE_AWS=yes\n```\n\nSince this build method does not verify that all dependencies are met, make sure that you\nhave already built and install the following components and they are available to `gprbuild`\nthrough `ADA_PROJECT_PATH` if needed:\n\n* [Ada Security Library](https://gitlab.com/stcarrez/ada-security/)\n* [Ada EL Library](https://gitlab.com/stcarrez/ada-el/)\n* [Ada Utility Library](https://gitlab.com/stcarrez/ada-util/)\n\nThen build, run the unit tests and install by using:\n\n```\nmake\nmake test\nmake install\n```\n\nTo use the installed libraries, make sure your `ADA_PROJECT_PATH` contains the directory\nwhere you installed the libraries (configured by the `PREFIX=\u003cpath\u003e` option in the setup phase).\nThe installed GNAT projects are the same as those used when using [Alire](https://alire.ada.dev/).\n\n## Samples\n\nThe samples can be built using:\n\n```\nmake samples\n```\n\nor\n\n```\ncd samples\nalr build\n```\n\n## Documentation\n\nThe Ada Server Faces sources as well as a wiki documentation is provided on:\n\n   https://github.com/stcarrez/ada-asf/wiki\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstcarrez%2Fada-servlet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstcarrez%2Fada-servlet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstcarrez%2Fada-servlet/lists"}