GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - udkumar/CloudOps: Fetch the Amazon Cloud-front On-Demand pricing from API

BranchesTags
Open more actions menu

Latest commit

 

History

106 Commits
106 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
bin
bin
 
 
config
config
 
 
db
db
 
 
lib/tasks
lib/tasks
 
 
log
log
 
 
public
public
 
 
spec
spec
 
 
storage
storage
 
 
test
test
 
 
tmp
tmp
 
 
vendor
vendor
 
 
.gitignore
.gitignore
 
 
.rspec
.rspec
 
 
.ruby-version
.ruby-version
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
README.md
README.md
 
 
Rakefile
Rakefile
 
 
config.ru
config.ru
 
 

Repository files navigation

Prerequisite

  • Rails 5+
  • Ruby 5+
  • Postgressql 10+

System Ability

  • Fetch the Amazon CLoudFront On-Demand price from link API daily at midnight
  • System will provide one API GET /api/v1/amazon_cloud_front/region/us-east-1. List of all On-Demand price from given region.
  • API has ability to search by date /api/v1/amazon_cloud_front/region/us-east-1?date="2019-12-01".
  • Syncing only new record in the database from Amazon CLoudFront On-Demand price APIs.

highlighting which I covered in my code

  • Sync CLoudFront On-Demand in services/AwsServices/cloud_front_price_sync_json.rb as module.
  • Added worker to perform sync and running worker through sidekiq-cron yml
  • Exception handling and API response handling controllers/concerns/*
  • Manual mapping AWS CLoudFront On-Demand in model as function name aws_region_mapping
  • Used FastJsonApi for serializing JSON responses.

About

Fetch the Amazon Cloud-front On-Demand pricing from API

Topics

api-restawscloudfrontcloudfront-originpostgresqlrails6

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.