{"id":15349525,"url":"https://github.com/ravening/cloudstack-automation-java","last_synced_at":"2025-04-06T13:42:46.962Z","repository":{"id":38709461,"uuid":"203979888","full_name":"ravening/CloudStack-Automation-Java","owner":"ravening","description":"Java Web Application to automate the CloudStack operations","archived":false,"fork":false,"pushed_at":"2023-01-07T08:59:32.000Z","size":2431,"stargazers_count":3,"open_issues_count":25,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T19:48:35.004Z","etag":null,"topics":["angular","apache","apache-cloudstack","automation","cloudmonkey","cloudstack","docker","java","maven","spring-boot","web-application"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ravening.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-23T10:45:43.000Z","updated_at":"2025-01-18T09:22:06.000Z","dependencies_parsed_at":"2023-02-06T17:47:02.699Z","dependency_job_id":null,"html_url":"https://github.com/ravening/CloudStack-Automation-Java","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravening%2FCloudStack-Automation-Java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravening%2FCloudStack-Automation-Java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravening%2FCloudStack-Automation-Java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravening%2FCloudStack-Automation-Java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ravening","download_url":"https://codeload.github.com/ravening/CloudStack-Automation-Java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247492463,"owners_count":20947541,"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":["angular","apache","apache-cloudstack","automation","cloudmonkey","cloudstack","docker","java","maven","spring-boot","web-application"],"created_at":"2024-10-01T11:54:53.458Z","updated_at":"2025-04-06T13:42:46.924Z","avatar_url":"https://github.com/ravening.png","language":"Java","readme":"# CloudStack Automation in Java\n\nA Spring Boot project to automate the frequently used CloudStack operations\n\n## Getting Started\n\nSteps mentioned below will tell you how to automate the common tasks done in CloudStack from UI which could save lot of your time.\n\n### Prerequisites\n\nWhat things you need to install the software and how to install them\n\n```\nJava 8+\nApache Maven\nAny IDE to import the project\nAngular CLI\n```\n\n### Installing\n\nA step by step series of instructions that tell you how to start the project\n\nDownload the project from github\n\n```\ngit clone \u003crepo url\u003e\n```\n\nImport the project into any IDE as a Maven project.\n\nTo talk to CloudStack, you need the URL endpoint, ApiKey and SecretKey.\nYou need to enter these values in \"application.properties\" file.\n\nIt can connect to multiple CLoudStack endpoints simultaneously.\nIf you have 5 data centers with CloudStack installed\nin different regions then you need to enter the above\nmentioned three parameters corresponding to the location\nname.\n\nFor ex: If you have CloudStack instance running in USA,\nEUROPE and ASIA location, below is the configuration\nyou need to enter\n\n\n```\nusa.url=\u003chttps://...\u003e\nusa.apiKey=\nusa.secretKey=\n\neurope.url=\neurope.apiKey=\neurope.secretKey=\n\nasia.url=\nasia.apiKey=\nasia.secretKey=\n```\n\nOnce these changes are done, you are all good to go.\nOnly steps left is to build the packages and start the project\n\nMake sure that the file \"frontend/angular.json\" contains the following line\n\n```bash\n\"outputPath\": \"../src/main/resources/public\",\n```\n\nThe \"outputPath\" tells the maven to build frontend packages and put\nthose templates files into public folder of java project\n\nInstall the necessary angular dependencies\n```bash\ncd frontend\nnpm install --save-dev @angular-devkit/build-angular\n```\n\nBuild the project from the top directory using the command\n\n```bash\nmvn package -DskipTests\n```\n\nThis will generate the jar file in the target directory\nNow run the project using\n\n```bash\njava -jar target/cloudstack-automation.jar\n```\n\nNavigate to the following link in your browser\n\n```\nhttp://localhost:8080\n```\n\n## Building a docker image\n\nRun the below command to create a docker image\n\n```\n./mvnw install dockerfile:build\n```\n\nThis will create a docker image with name\n\n```\ncloudstack-automation\n```\n\nRun the docker image using the command\n\n```bash\ndocker run -p 8080:8080 -t cloudstack-automation\n```\n\n## Authors\n\n* **Rakesh Venkatesh** - *Initial work* - [ravening](https://github.com/ravening)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravening%2Fcloudstack-automation-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravening%2Fcloudstack-automation-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravening%2Fcloudstack-automation-java/lists"}