{"id":49576952,"url":"https://github.com/panastasiadis/openwhisk-actions","last_synced_at":"2026-05-03T17:36:23.027Z","repository":{"id":300263236,"uuid":"1005717672","full_name":"panastasiadis/openwhisk-actions","owner":"panastasiadis","description":"Serverless functions for a cloud computing course project using OpenWhisk and MinIO. Includes actions for email services, data storage, and retrieval — built to demonstrate serverless architecture in practice","archived":false,"fork":false,"pushed_at":"2025-06-20T17:42:36.000Z","size":690,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-20T18:39:17.267Z","etag":null,"topics":["cloud-computing","educational-project","email-service","minio","nodemailer","object-storage","openwhisk","serverless","serverless-functions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/panastasiadis.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-20T17:32:09.000Z","updated_at":"2025-06-20T17:44:42.000Z","dependencies_parsed_at":"2025-06-20T18:51:26.191Z","dependency_job_id":null,"html_url":"https://github.com/panastasiadis/openwhisk-actions","commit_stats":null,"previous_names":["panastasiadis/openwhisk-actions"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/panastasiadis/openwhisk-actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panastasiadis%2Fopenwhisk-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panastasiadis%2Fopenwhisk-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panastasiadis%2Fopenwhisk-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panastasiadis%2Fopenwhisk-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/panastasiadis","download_url":"https://codeload.github.com/panastasiadis/openwhisk-actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panastasiadis%2Fopenwhisk-actions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32579066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cloud-computing","educational-project","email-service","minio","nodemailer","object-storage","openwhisk","serverless","serverless-functions"],"created_at":"2026-05-03T17:36:21.951Z","updated_at":"2026-05-03T17:36:23.021Z","avatar_url":"https://github.com/panastasiadis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenWhisk Actions | Cloud Computing Course Project\n\nA simple collection of functions implemented for a cloud computing course project demonstrating serverless architecture, object storage that utilize technologies such as OpenWhisk and MinIO.\n\n## 🏗️ Project Overview\n\nThis repository contains a complete cloud computing solution that demonstrates:\n\n- **Serverless Functions**: OpenWhisk actions for data processing and email services\n\n## 🚀 Services\n\n### 1. Send Mail Action (`send-mail-action/`)\n\n**Purpose**: Email service as OpenWhisk serverless application\n\n**Features**:\n\n- Send emails using Nodemailer\n- Configured for MailHog development environment\n- SMTP integration with error handling\n- Promise-based implementation\n\n**Technologies**: Nodemailer, MailHog\n\n### 2. Save to MinIO (`save-to-minio/`)\n\n**Purpose**: Storing temperature data in MinIO object storage as OpenWhisk serverless application\n\n**Features**:\n\n- Upload JSON data to MinIO bucket\n- Automatic timestamp generation\n- Error handling and response formatting\n\n**Technologies**: MinIO SDK\n\n### 3. Get Data from MinIO (`get-data-minio/`)\n\n**Purpose**: Retrieveing and filtering data from MinIO storage as OpenWhisk serverless application\n\n**Features**:\n\n- Date-range filtering for data retrieval\n- JSON data parsing and aggregation\n- Stream-based data processing\n- Error handling for malformed data\n\n**Technologies**: MinIO SDK\n\n### 2. Deploy OpenWhisk Actions\n\n```bash\n# Deploy send-mail action\ncd send-mail-action\nwsk action create send-mail-action index.js --kind nodejs:18\n\n# Deploy save-to-minio action\ncd ../save-to-minio\nwsk action create save-to-minio index.js --kind nodejs:18\n\n# Deploy get-data-minio action\ncd ../get-data-minio\nwsk action create get-data-minio index.js --kind nodejs:18\n```\n\n### 3. Test the Services\n\n```bash\n# Test email service\nwsk action invoke send-mail-action \\\n  --param from \"test@example.com\" \\\n  --param to \"user@example.com\" \\\n  --param subject \"Test\" \\\n  --param text \"Hello World\" \\\n  --result\n\n# Test data storage\nwsk action invoke save-to-minio \\\n  --param temperature 25.5 \\\n  --result\n\n# Test data retrieval\nwsk action invoke get-data-minio \\\n  --param startDate \"2023-01-01\" \\\n  --param endDate \"2023-12-31\" \\\n  --result\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanastasiadis%2Fopenwhisk-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpanastasiadis%2Fopenwhisk-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanastasiadis%2Fopenwhisk-actions/lists"}