{"id":19593966,"url":"https://github.com/jonatan-ivanov/dn24-boot3-workshop","last_synced_at":"2025-08-02T07:36:38.599Z","repository":{"id":228448228,"uuid":"770551747","full_name":"jonatan-ivanov/dn24-boot3-workshop","owner":"jonatan-ivanov","description":"Spring Boot 3 workshop for Devnexus 2024","archived":false,"fork":false,"pushed_at":"2024-05-30T12:51:37.000Z","size":2145,"stargazers_count":1,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-24T20:56:47.977Z","etag":null,"topics":["devnexus","distributed-tracing","docker","java","logging","metrics","micrometer","observability","spring","spring-boot"],"latest_commit_sha":null,"homepage":"https://devnexus.com/presentations/spring-boot-3-workshop","language":"Java","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/jonatan-ivanov.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":"2024-03-11T18:41:27.000Z","updated_at":"2024-04-22T22:34:17.000Z","dependencies_parsed_at":"2024-11-11T08:42:44.360Z","dependency_job_id":"d96895ca-a330-44c0-9996-3a34cd1a1be2","html_url":"https://github.com/jonatan-ivanov/dn24-boot3-workshop","commit_stats":null,"previous_names":["jonatan-ivanov/dn24-boot3-workshop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonatan-ivanov/dn24-boot3-workshop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonatan-ivanov%2Fdn24-boot3-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonatan-ivanov%2Fdn24-boot3-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonatan-ivanov%2Fdn24-boot3-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonatan-ivanov%2Fdn24-boot3-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonatan-ivanov","download_url":"https://codeload.github.com/jonatan-ivanov/dn24-boot3-workshop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonatan-ivanov%2Fdn24-boot3-workshop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268348680,"owners_count":24236301,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"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":["devnexus","distributed-tracing","docker","java","logging","metrics","micrometer","observability","spring","spring-boot"],"created_at":"2024-11-11T08:41:55.196Z","updated_at":"2025-08-02T07:36:38.556Z","avatar_url":"https://github.com/jonatan-ivanov.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Workshop Setup\nThis file can be used to check that you have correctly installed everything that you need for the workshop.\n\n### Java\nYou will need at least Java 17 with to run this workshop but we will use Java 21 since it's the latest LTS.\n\nWe recommend using SDKMAN! to manage installed Java versions, but you're free to use whatever you prefer as long as at least Java 17 is available. On Windows, you will need bash to use SDKMAN! (Git Bash, MinGW, Cygwin, WSL, etc.), if you don't want to install it you can try CHOCOLATEY! too.\n\n\n\n#### SDKMAN!\nThe following instructions can be used if you are using SDKMAN!\n\n1. Install SDKMAN! for your system by following instructions at https://sdkman.io/\n2. Install Java by typing `sdk install java 23.1.2.r21-nik`\n\nCheck the Java version:\n\n```shell\nsdk use java 23.1.2.r21-nik\njava --version\n```\n\nYou should see a similar output:\n\n```\nopenjdk 21.0.2 2024-01-16 LTS\nOpenJDK Runtime Environment Liberica-NIK-23.1.2-1 (build 21.0.2+14-LTS)\nOpenJDK 64-Bit Server VM Liberica-NIK-23.1.2-1 (build 21.0.2+14-LTS, mixed mode, sharing)\n```\n\n\n\n#### CHOCOLATEY! (Windows)\nThe following instructions can be used if you are using CHOCOLATEY!\n\n1. Install CHOCOLATEY! for your system by following instructions at https://community.chocolatey.org/\n2. Install Java by running the following in a PowerShell as Administrator:\n\n```shell\nchoco install graalvm-java21\n```\n\nCheck that you can use Java:\n\n\n1. Open `System Properties`\n2. Click `Environment Variables...` and verify the `PATH` and `JAVA_HOME` System Variables to use the right JDK paths\n3. Open a new PowerShell window and check the Java version\n```shell\njava --version\n```\n\n#### Without SDKMAN! or CHOCOLATEY!\nIf you prefer not to use SKDMAN! or CHOCOLATEY! you can install Java whichever way you're most comfortable with.\nAs long as you have at least Java 17, you should be fine.\n\nPlease check your installation by checking the output of `java --version`:\n\n```shell\njava --version\n```\n\nYou should see a similar output:\n\n```\nopenjdk 21.0.2 2024-01-16 LTS\nOpenJDK Runtime Environment Liberica-NIK-23.1.2-1 (build 21.0.2+14-LTS)\nOpenJDK 64-Bit Server VM Liberica-NIK-23.1.2-1 (build 21.0.2+14-LTS, mixed mode, sharing)\n```\n\n\n\n### Maven\nThis workshop uses `mvnw` so you shouldn't need to install Maven directly.\n\nTo check that Maven works run the following command from this directory.\n\nOn Linux/Mac\n\n```shell\n./mvnw --version\n```\n\nOn Windows\n\n```shell\nmvnw.cmd --version\n```\n\nIf you want to ensure your local Maven cache has most of the files we'll need, you can build the pom files in this directory:\n\n```shell\n./mvnw package\n```\n\nYou should see a \"success\" message after these command:\n```\n[INFO] ------------------------------------------------------------------------\n[INFO] BUILD SUCCESS\n[INFO] ------------------------------------------------------------------------\n```\n\n\n\n### Docker Compose\nWe will be using Docker Compose to setup things like Postgres which we will need for the workshop.\nWe recommend Docker Desktop if possible, but any Docker installation that can run `docker compose` should work fine.\n\nDocker Desktop is free for educational purposes.\n\nPlease install Docker from https://www.docker.com or using your favorite open source distribution.\n\nTo check docker is running, you can run:\n\n```shell\ndocker run --rm hello-world\n```\n\nTo check docker compose is working, run the following from this directory:\n\n```shell\ndocker compose -f docker-compose-hello.yml up\n```\n\nOnce you see the \"hello world\" output, you can destroy the containers using:\n\n```shell\ndocker compose -f docker-compose-hello.yml down\n```\n\nTIP: Depending on your installation, you might need to use the command `docker-compose` rather than `docker compose` (this usually means that you are using an older version, please consider upgrading).\n\nIf the hello world example works, then you can try starting the full docker compose configuration that we'll be using:\n\n```shell\ncd dog-service\ndocker compose up\n```\n\nNOTE: it will take some time to initially start the containers\n\nCheck that the following links work:\n\nhttp://localhost:9090 (Prometheus)\nhttp://localhost:3000 (Grafana)\n\nIf everything works you can hit `ctrl-c` to stop docker compose and you can destroy the containers using:\n\n```shell\ndocker compose down\n```\n\n\n\n### HTTPie\nWe'll need to make some REST calls to our application.\nYou can use whatever tool you like, but if you have no preference we recommend HTTPie.\n\nYou can install it from https://httpie.io/\n\n\n\n### IDE\nYou can use any Java IDE you like to work with the code, just check that it can work with Maven projects.\n\nPlease import the `dog-service` project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonatan-ivanov%2Fdn24-boot3-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonatan-ivanov%2Fdn24-boot3-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonatan-ivanov%2Fdn24-boot3-workshop/lists"}