{"id":18608754,"url":"https://github.com/activeviam/pivot-spring-boot","last_synced_at":"2025-04-10T22:30:53.455Z","repository":{"id":48056270,"uuid":"171116639","full_name":"activeviam/pivot-spring-boot","owner":"activeviam","description":"Template for running ActivePivot as a Spring Boot application","archived":true,"fork":false,"pushed_at":"2024-10-14T15:09:57.000Z","size":22205,"stargazers_count":13,"open_issues_count":2,"forks_count":5,"subscribers_count":25,"default_branch":"6.1.0","last_synced_at":"2025-03-04T03:29:31.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/activeviam.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":"2019-02-17T11:57:42.000Z","updated_at":"2024-11-20T21:24:50.000Z","dependencies_parsed_at":"2023-11-21T18:25:55.039Z","dependency_job_id":"78d1095e-6735-4b2c-9b62-d3bc8d127266","html_url":"https://github.com/activeviam/pivot-spring-boot","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activeviam%2Fpivot-spring-boot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activeviam%2Fpivot-spring-boot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activeviam%2Fpivot-spring-boot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/activeviam%2Fpivot-spring-boot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/activeviam","download_url":"https://codeload.github.com/activeviam/pivot-spring-boot/tar.gz/refs/heads/6.1.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248309368,"owners_count":21082199,"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-07T03:04:08.152Z","updated_at":"2025-04-10T22:30:53.443Z","avatar_url":"https://github.com/activeviam.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"80\" src=\"./activeviam.svg\" /\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003ePivot Spring Boot\u003c/h1\u003e\n\u003cp align=\"center\"\u003eA minimalist ActivePivot project built with Spring Boot for you to edit, customize and use as a base for your ActivePivot projects.\u003c/p\u003e\n\n---\n## ❗❗❗ IMPORTANT ❗❗❗\nFrom now on use [https://github.com/activeviam/atoti-spring-boot-template](https://github.com/activeviam/atoti-spring-boot-template) instead of this repository.\n\n## 📋 Details\n\nThis project aims to be an example of how to run ActivePivot as a [Spring Boot](https://spring.io/guides/gs/spring-boot)\napplication. ActivePivot was already a *Spring* application, but with the power of *Spring Boot* we can simplify our\ndependency management, deployment model, and many other goodies that come with Spring Boot.\n\nThis project is a starting point for your own projects and implementations. You should be able to take this, customize\nit and get a cube up and running in a few minutes.\n\n## 📦 Installation\n\n#### Requirements\n\n- Java 21\n- Maven 3\n- ActivePivot jar files (commercial software)\n- Running the application requires a license for the ActivePivot software.\n\nClone or download this repository and run `mvn clean install`. This will generate a jar file, which can be run using\nstandard java commands.\n\n**Note:** If your build is unsuccessful, try skipping tests: `mvn clean install -DskipTests`\n\n## 💻 Usage\n\n### Running the fat jar\n\nThe project contains, out of the box, an extremely simple datastore schema and small `trades.csv` file. You can find\nthis file in `src/main/resources/data`.\u003cbr\u003e\n\n### Running on macOS\n\nAdd the following\nargument `-Dactiveviam.chunkAllocatorClass=com.qfs.chunk.direct.allocator.impl.MmapDirectChunkAllocator` to your JVM, so\nit then becomes:\n\n```bash\njava -Dactiveviam.chunkAllocatorClass=com.qfs.chunk.direct.allocator.impl.MmapDirectChunkAllocator -Dfile.trades=\u003cabsolute path of trades.csv\u003e -jar \u003cfat jar path\u003e\n```\n\n**Note:** If unable to start the ActivePivot Spring Boot application, you may need to add some additional arguments as\nwell, try the following:\n\n```bash\njava --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED -Dactiveviam.chunkAllocatorClass=com.qfs.chunk.direct.allocator.impl.MmapDirectChunkAllocator -Dfile.trades=\u003cabsolute path of trades.csv\u003e -jar \u003cfat jar path\u003e\n```\n\n### Connecting to the ActivePivot\n\n- Excel: you can connect to the cube from Excel, by connecting to an 'Analysis Services' source. The default URL to use\n  when running locally is `http://localhost:9090/xmla`\n\n- ActiveUI, ActiveViam's user interface for exploring the cube, will be available from `http://localhost:9090/ui`\n\n- List of REST endpoints provided can be found at `http://localhost:9090/activeviam/swagger-ui/index.html`\n\nThe default security credentials are `admin:admin`, but can be modified in the `SecurityConfig` class (we use Spring\nSecurity). You should change this before going into production.\u003cbr\u003e\n\nIt is also recommended that you change the JWT key pair in `application.yaml` by running the class `JwtUtil` and\ngenerating a new key pair.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factiveviam%2Fpivot-spring-boot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factiveviam%2Fpivot-spring-boot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factiveviam%2Fpivot-spring-boot/lists"}