{"id":19046307,"url":"https://github.com/saladtechnologies/salad-cloud-imds-sdk-java","last_synced_at":"2026-05-10T09:30:16.977Z","repository":{"id":255675015,"uuid":"853042777","full_name":"SaladTechnologies/salad-cloud-imds-sdk-java","owner":"SaladTechnologies","description":"SaladCloud IMDS SDK for Java","archived":false,"fork":false,"pushed_at":"2024-10-05T04:30:13.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-16T16:59:00.431Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/SaladTechnologies.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-05T22:08:24.000Z","updated_at":"2024-10-05T04:09:44.000Z","dependencies_parsed_at":"2025-01-02T08:44:31.115Z","dependency_job_id":"a7f95907-5476-4715-b9b9-913164d1d9ea","html_url":"https://github.com/SaladTechnologies/salad-cloud-imds-sdk-java","commit_stats":null,"previous_names":["saladtechnologies/salad-cloud-imds-sdk-java"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaladTechnologies%2Fsalad-cloud-imds-sdk-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaladTechnologies%2Fsalad-cloud-imds-sdk-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaladTechnologies%2Fsalad-cloud-imds-sdk-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaladTechnologies%2Fsalad-cloud-imds-sdk-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SaladTechnologies","download_url":"https://codeload.github.com/SaladTechnologies/salad-cloud-imds-sdk-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240103532,"owners_count":19748203,"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":[],"created_at":"2024-11-08T22:54:17.363Z","updated_at":"2026-05-10T09:30:16.905Z","avatar_url":"https://github.com/SaladTechnologies.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SaladCloudImdsSdk Java SDK 0.9.0-alpha.4\n\nWelcome to the SaladCloudImdsSdk SDK documentation. This guide will help you get started with integrating and using the SaladCloudImdsSdk SDK in your project.\n\n## Versions\n\n- API version: `0.9.0-alpha.1`\n- SDK version: `0.9.0-alpha.4`\n\n## About the API\n\nThe SaladCloud Instance Metadata Service (IMDS). Please refer to the [SaladCloud API Documentation](https://docs.salad.com/api-reference) for more details.\n\n## Table of Contents\n\n- [Setup \u0026 Configuration](#setup--configuration)\n  - [Supported Language Versions](#supported-language-versions)\n  - [Installation](#installation)\n- [Setting a Custom Timeout](#setting-a-custom-timeout)\n- [Sample Usage](#sample-usage)\n- [Services](#services)\n- [Models](#models)\n- [License](#license)\n\n# Setup \u0026 Configuration\n\n## Supported Language Versions\n\nThis SDK is compatible with the following versions: `Java \u003e= 1.8`\n\n## Installation\n\nIf you use Maven, place the following within the _dependency_ tag in your `pom.xml` file:\n\n```XML\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.salad.cloud\u003c/groupId\u003e\n    \u003cartifactId\u003eimds-sdk\u003c/artifactId\u003e\n    \u003cversion\u003e0.9.0-alpha.4\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nIf you use Gradle, paste the next line inside the _dependencies_ block of your `build.gradle` file:\n\n```Gradle\nimplementation group: com.salad.cloud, name: imds-sdk, version: 0.9.0-alpha.4\n```\n\nIf you use JAR files, package the SDK by running the following command:\n\n```shell\nmvn compile assembly:single\n```\n\nThen, add the JAR file to your project's classpath.\n\n## Setting a Custom Timeout\n\nYou can set a custom timeout for the SDK's HTTP requests as follows:\n\n```java\nimport com.salad.cloud.imdssdk.SaladCloudImdsSdk;\nimport com.salad.cloud.imdssdk.config.SaladCloudImdsSdkConfig;\n\npublic class Main {\n\n  public static void main(String[] args) {\n    SaladCloudImdsSdkConfig config = SaladCloudImdsSdkConfig.builder().timeout(10000).build();\n    SaladCloudImdsSdk saladCloudImdsSdk = new SaladCloudImdsSdk(config);\n  }\n}\n\n```\n\n# Sample Usage\n\nBelow is a comprehensive example demonstrating how to authenticate and call a simple endpoint:\n\n```java\nimport com.salad.cloud.imdssdk.SaladCloudImdsSdk;\nimport com.salad.cloud.imdssdk.models.ContainerStatus;\n\npublic class Main {\n\n  public static void main(String[] args) {\n    SaladCloudImdsSdk saladCloudImdsSdk = new SaladCloudImdsSdk();\n\n    ContainerStatus response = saladCloudImdsSdk.metadataService.getContainerStatus();\n\n    System.out.println(response);\n  }\n}\n\n```\n\n## Services\n\nThe SDK provides various services to interact with the API.\n\n\u003cdetails\u003e \n\u003csummary\u003eBelow is a list of all available services with links to their detailed documentation:\u003c/summary\u003e\n\n| Name                                                         |\n| :----------------------------------------------------------- |\n| [MetadataService](documentation/services/MetadataService.md) |\n\n\u003c/details\u003e\n\n## Models\n\nThe SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.\n\n\u003cdetails\u003e \n\u003csummary\u003eBelow is a list of all available models with links to their detailed documentation:\u003c/summary\u003e\n\n| Name                                                               | Description                                              |\n| :----------------------------------------------------------------- | :------------------------------------------------------- |\n| [ReallocateContainer](documentation/models/ReallocateContainer.md) | Represents a request to reallocate a container.          |\n| [ContainerStatus](documentation/models/ContainerStatus.md)         | Represents the health statuses of the running container. |\n| [ContainerToken](documentation/models/ContainerToken.md)           | Represents the identity token of the running container.  |\n\n\u003c/details\u003e\n\n## License\n\nThis SDK is licensed under the MIT License.\n\nSee the [LICENSE](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaladtechnologies%2Fsalad-cloud-imds-sdk-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaladtechnologies%2Fsalad-cloud-imds-sdk-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaladtechnologies%2Fsalad-cloud-imds-sdk-java/lists"}