{"id":19748888,"url":"https://github.com/project-ncl/pp-integrator","last_synced_at":"2025-04-30T08:34:11.789Z","repository":{"id":37835501,"uuid":"246835412","full_name":"project-ncl/pp-integrator","owner":"project-ncl","description":"Service to integrate with Product Pages","archived":false,"fork":false,"pushed_at":"2024-10-23T19:58:36.000Z","size":495,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-24T07:02:23.234Z","etag":null,"topics":["bootstrap3","html","jquery","quarkus","resteasy"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"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/project-ncl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-03-12T13:01:06.000Z","updated_at":"2024-10-23T19:58:38.000Z","dependencies_parsed_at":"2024-04-02T17:34:12.196Z","dependency_job_id":"369e8bd4-eb00-4a6f-9392-7b29f647115f","html_url":"https://github.com/project-ncl/pp-integrator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-ncl%2Fpp-integrator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-ncl%2Fpp-integrator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-ncl%2Fpp-integrator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-ncl%2Fpp-integrator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/project-ncl","download_url":"https://codeload.github.com/project-ncl/pp-integrator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224204158,"owners_count":17273064,"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":["bootstrap3","html","jquery","quarkus","resteasy"],"created_at":"2024-11-12T02:24:06.775Z","updated_at":"2024-11-12T02:24:07.395Z","avatar_url":"https://github.com/project-ncl.png","language":"Java","readme":"# pp-integrator\n\nPP (Product Pages) Integrator is a RESTful Web Service that integrates\nwith Product Pages.\n\nIt is currently not intended to be a full implementation of the PP API\nin Java. It is meant to be used as a microservice for obtaining the\nsupport status (phase) of a product. Therefore, it currently supports\nonly Products, Releases, and Phases internally, and externally exposes\nan endpoint to get the phase of a product or release using,\nrespectively:\n\n`/api/phases/products?shortname=jbossfoo`\n\nor\n\n`/api/phases/releases?shortname=jbossfoo-1-0.0`\n\nAssuming it has been given a valid shortname, the service will return\none of the phase names listed below in `text/plain` format:\n\n- Concept\n- Planning\n- Planning / Development / Testing\n- CI / CD Development\n- Development / Testing\n- Testing\n- Launch\n- Maintenance\n- Unsupported\n\nAdditionally, the endpoints `/api/products` and `/api/releases` return\nsets of strings representing all product shortnames and all release\nshortnames, respectively.\n\n## Running the application in dev mode\n\nYou can run your application in dev mode that enables live coding using:\n\n```\nmvn quarkus:dev\n```\n\n## Packaging and running the application\n\nThe application can be packaged using `mvn package -DskipTests`. It\nproduces the `pp-integrator-runner.jar` file in the `./target` directory\nwhich is an _über-jar_.\n\nThe application is now runnable using `java\n-Dorg.jboss.pnc.ppitegrator.pp.rest.ProductPagesService/mp-rest/url=\u003cpp_url\u003e\n-jar target/pp-integrator-runner.jar`.\n\n## Creating a native executable\n\nYou can create a native executable using: `mvn package -Pnative`.\n\nOr, if you don't have GraalVM installed, you can run the native\nexecutable build in a container using: `mvn package -Pnative\n-Dquarkus.native.container-build=true`.\n\nYou can then execute your native executable with:\n`./target/pp-integrator-runner`.\n\n## Running the tests\n\nTo run the tests, you must set a few properties.\n\n```\n$ mvn clean install -Dpp.url=https://\u003cpp_host\u003e/pp/api -Dtest.product_shortname=\u003cproduct_shortname\u003e -Dtest.release_shortname=\u003crelease_shortname\u003e\n```\n\nThe `org.jboss.pnc.ppitegrator.pp.rest.ProductPagesService/mp-rest/url`\nproperty is used at runtime and during the tests and should be set to\nthe base URL of the Product Pages server (without the version).\n\nThe `test.product_shortname` property should be set to a valid product\nshortname, e.g., `jbossfoo`.\n\nThe `test.release_shortname` property should be set to valid release\nshortname. e.g., `jbossfoo-\u003cmajor_version\u003e-\u003cminor_version\u003e.\u003cmicro_version\u003e`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-ncl%2Fpp-integrator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproject-ncl%2Fpp-integrator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-ncl%2Fpp-integrator/lists"}