{"id":25394090,"url":"https://github.com/sivalabs/spring-utils","last_synced_at":"2026-05-09T15:16:12.795Z","repository":{"id":57722818,"uuid":"150858455","full_name":"sivalabs/spring-utils","owner":"sivalabs","description":"Utilities commonly used in Spring applications","archived":false,"fork":false,"pushed_at":"2023-05-18T16:08:51.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-27T14:55:46.015Z","etag":null,"topics":["spring","spring-boot"],"latest_commit_sha":null,"homepage":null,"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/sivalabs.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":"2018-09-29T11:39:40.000Z","updated_at":"2023-05-18T15:58:21.000Z","dependencies_parsed_at":"2025-02-15T18:58:37.624Z","dependency_job_id":"16d899f0-cb8f-4744-b634-91f153cef09e","html_url":"https://github.com/sivalabs/spring-utils","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivalabs%2Fspring-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivalabs%2Fspring-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivalabs%2Fspring-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sivalabs%2Fspring-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sivalabs","download_url":"https://codeload.github.com/sivalabs/spring-utils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248157180,"owners_count":21056968,"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":["spring","spring-boot"],"created_at":"2025-02-15T18:58:31.060Z","updated_at":"2026-05-09T15:16:12.784Z","avatar_url":"https://github.com/sivalabs.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-utils\n\nThis is a tiny utilities library with commonly used features in Spring applications.\n\n## How to use?\n\n### Add the dependency\n\n**Maven** \n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.sivalabs\u003c/groupId\u003e\n    \u003cartifactId\u003espring-utils\u003c/artifactId\u003e\n    \u003cversion\u003e0.0.3\u003c/version\u003e\n\u003c/dependency\u003e\n\n\u003c!-- To use SNAPSHOT version --\u003e\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cname\u003eCentral Portal Snapshots\u003c/name\u003e\n        \u003cid\u003ecentral-portal-snapshots\u003c/id\u003e\n        \u003curl\u003ehttps://central.sonatype.com/repository/maven-snapshots/\u003c/url\u003e\n        \u003creleases\u003e\n            \u003cenabled\u003efalse\u003c/enabled\u003e\n        \u003c/releases\u003e\n        \u003csnapshots\u003e\n            \u003cenabled\u003etrue\u003c/enabled\u003e\n        \u003c/snapshots\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.sivalabs\u003c/groupId\u003e\n    \u003cartifactId\u003espring-utils\u003c/artifactId\u003e\n    \u003cversion\u003e0.0.4-SNAPSHOT\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n**Gradle**\n\n```groovy\nimplementation 'io.github.sivalabs:spring-utils:0.0.3'\n\n// To use SNAPSHOT version\n\nrepositories {\n    mavenCentral()\n    //Groovy DSL\n    maven { url = \"https://central.sonatype.com/repository/maven-snapshots\" }\n    //Kotlin DSL\n    maven { url = uri(\"https://central.sonatype.com/repository/maven-snapshots/\") }\n}\n\nimplementation 'io.github.sivalabs:spring-utils:0.0.4-SNAPSHOT'\n\n```\n\n### LoggingAspect\n\nAdd `io.github.sivalabs.springutils` package to ComponentScan\n\n```java\n@Configuration\n@ComponentScan(basePackages={\"io.github.sivalabs.springutils\"})\npublic class AppConfig {\n\n}\n```\n\nUse `@Loggable` annotation to Class or Method that you want to log.\n\n```java\n@Controller\n@Loggable\npublic class MyController {\n\n}\n\n@Service\npublic class MyService {\n    @Loggable\n    public void doIt() {\n    \n    }\n}\n```\n\nEnable `DEBUG` log level to `io.github.sivalabs.springutils` in `application.properties`.\n\n`logging.level.io.github.sivalabs.springutils=debug`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsivalabs%2Fspring-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsivalabs%2Fspring-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsivalabs%2Fspring-utils/lists"}