{"id":39605352,"url":"https://github.com/ksmpartners/domino-java-client","last_synced_at":"2026-01-18T07:59:44.155Z","repository":{"id":175936905,"uuid":"654735094","full_name":"ksmpartners/domino-java-client","owner":"ksmpartners","description":"Domino Data Lab API Client to connect to Domino web services using Java HTTP Client.","archived":false,"fork":false,"pushed_at":"2026-01-12T02:30:18.000Z","size":1086,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-12T07:56:54.553Z","etag":null,"topics":["domino","java","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ksmpartners.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-16T20:23:54.000Z","updated_at":"2026-01-12T02:30:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"71a58385-a08d-44a6-834a-d9d071349c26","html_url":"https://github.com/ksmpartners/domino-java-client","commit_stats":null,"previous_names":["ksmpartners/domino-java-client"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/ksmpartners/domino-java-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksmpartners%2Fdomino-java-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksmpartners%2Fdomino-java-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksmpartners%2Fdomino-java-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksmpartners%2Fdomino-java-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksmpartners","download_url":"https://codeload.github.com/ksmpartners/domino-java-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksmpartners%2Fdomino-java-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28533694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["domino","java","rest-api"],"created_at":"2026-01-18T07:59:44.076Z","updated_at":"2026-01-18T07:59:44.129Z","avatar_url":"https://github.com/ksmpartners.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Domino Data Lab Java Client\n\n[![Maven](https://img.shields.io/maven-central/v/com.ksmpartners/domino-java-client.svg?style=for-the-badge)](https://repo1.maven.org/maven2/com/ksmpartners/domino-java-client/)\n[![License](https://img.shields.io/github/license/ksmpartners/domino-java-client?style=for-the-badge\u0026logo=mit)](https://opensource.org/licenses/MIT)\n[![Java CI with Maven](https://img.shields.io/github/actions/workflow/status/ksmpartners/domino-java-client/build.yml?branch=main\u0026logo=GitHub\u0026style=for-the-badge)](https://github.com/ksmpartners/domino-java-client/actions/workflows/build.yml)\n\n\n[Domino Data Lab](https://www.dominodatalab.com/) Java Client is a library that wrappers the REST API calls for Domino using a Java native HTTP client.\n\n# Requirements\n\nTo use this library you will need the following:\n\n- JDK 11+\n- Domino API Key to an active Domino instance\n\n# Usage\n\nThe library is available on Maven Central for use in Maven/Gradle/Ivy etc.\n\n**Apache Maven (javax):**\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.ksmpartners\u003c/groupId\u003e\n    \u003cartifactId\u003edomino-java-client\u003c/artifactId\u003e\n    \u003cversion\u003e${domino.version}\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n**Apache Maven (jakarta):**\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.ksmpartners\u003c/groupId\u003e\n    \u003cartifactId\u003edomino-java-client\u003c/artifactId\u003e\n    \u003cversion\u003e${domino.version}\u003c/version\u003e\n    \u003cclassifier\u003ejakarta\u003c/classifier\u003e\n\u003c/dependency\u003e\n```\n\n**Gradle:**\n```groovy\nimplementation group: 'com.ksmpartners', name: 'domino-java-client', version: '${domino.version}'\n```\n\n**Example:**\nUsing the library is simple, you just need a Domino API Key and URL.\n\n```java\nimport com.dominodatalab.api.invoker.ApiClient;\nimport com.dominodatalab.api.invoker.ApiException;\nimport com.dominodatalab.api.model.DominoCommonUserPerson;\nimport com.dominodatalab.api.rest.UsersApi;\nimport com.dominodatalab.client.DominoApiClient;\nimport com.fasterxml.jackson.core.JsonProcessingException;\nimport com.fasterxml.jackson.databind.ObjectMapper;\n\npublic class DominoTest {\n\n    private static final String API_URL = \"https://domino.cloud.com/v4\";\n    private static final String API_KEY = \"74b86eaa8c3e8310748de7714926b0b6a3866d8eb8c493fdf2d8fed7a520b842\";\n\n    public static void main(String... args) {\n        try {\n            // initialize client with key\n            final ApiClient client = DominoApiClient.createApiClient();\n            client.updateBaseUri(API_URL);\n            client.setRequestInterceptor(builder -\u003e builder.setHeader(\"X-Domino-Api-Key\", API_KEY));\n\n            // call the get current user API\n            UsersApi api = new UsersApi(client);\n            DominoCommonUserPerson user = api.getCurrentUser();\n\n            // print response as JSON\n            ObjectMapper mapper = DominoApiClient.createDefaultObjectMapper();\n            String result = mapper.writerWithDefaultPrettyPrinter().writeValueAsString(user);\n            System.out.println(result);\n        } catch (ApiException | JsonProcessingException e) {\n            e.printStackTrace();\n        }\n    }\n}\n```\n\n**Resulting JSON output:**\n\n```json\n{\n  \"firstName\": \"Homer\",\n  \"lastName\": \"Simpson\",\n  \"fullName\": \"Homer Simpson\",\n  \"id\": \"6124ffbfa7db86282dde302a\",\n  \"userName\": \"hs12345\",\n  \"email\": \"homer.simpson@springfield.org\"\n}\n```\n\n# Build and Test\n\nBuild the project with Apache Maven:\n\n```shell\n$ mvn clean package\n```\n\nInstall it to your local Maven repository with:\n\n```shell\n$ mvn install\n```\n\n## Running Integration Tests\n\nThere are multiple test suites defined under this project. The default tests that run when running `mvn test` are the tests tagged \"Unit\". \n\nThere are two other groups of tests: \"Integration\" and \"Stateful\". The Stateful tests are designed to return to the initial state, but if the tests fail or get shut down in the midst of running, the pre-condition will no longer be met. It will require logging into Domino and reconfiguring whatever project configuration, etc. to match the pre-condition. For this reason, Stateful tests are always excluded by default since they incur changing the state of Domino away from the pre-condition assumption.\n\nThese tests are configured to use a particular account for a particular instance of Domino that has been set up with certain projects and configuration. Running the integration tests requires configuration of specific secrets under the `src/test/resources/application.properties` file.\n\nThe tests tagged as Integration can be run with the following command:\n\n```shell\n$ mvn -Dtests=\"Integration\" test\n```\n\nTo run all tests in the project including the tests tagged as Stateful:\n\n```shell\n$ mvn -Dtests=\"any()\" -DexcludeTests=\"\" test\n```\n\n# Release\n\nRun in `GitHub Actions` the `Release` workflow and enter version number and next SNAPSHOT number.\n\n# \"Slim\" Domino API\nThis is a subset of the v4 API currently used by KSM. The endpoints used are listed in `src/conf/domino-internal-api-usage.csv`. The `src/conf/slim-api.json` file is created from copying from the `src/conf/domino-openapi.json` file and filtering for the endpoints listed in the CSV. This can be regenerated and compiled using the following commands:\n- Run `./src/conf/generate-slim-api.py \u003e ./src/conf/slim-api.json` to update the slim spec file from the CSV and source spec\n- Run `mvn compile` to ensure the slim spec file is valid\n\n# License\n\nLicensed under the [MIT](https://en.wikipedia.org/wiki/MIT_License) license.\n\n`SPDX-License-Identifier: MIT`\n\n# Copyright\n\nDomino and Domino Data Lab are © 2023 Domino Data Lab, Inc. Made in San Francisco. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksmpartners%2Fdomino-java-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksmpartners%2Fdomino-java-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksmpartners%2Fdomino-java-client/lists"}