Giter Site home page Giter Site logo

chassis_aws_analytics's Introduction

Local AWS Analytics

This extension sets up two minimal services, one for Cognito and one for Pinpoint to allow you to test Pinpoint analytics locally.

It is based on the humanmade/local-cognito and humanmade/local-pinpoint docker images.

The plugin for using AWS analytics with WordPress is humanmade/analytics.

Cognito

The Cognito service runs at http://vagrant.local:33670 unless you have modified your hosts.

Supported endpoints are:

  • GetId
  • GetCredentialsForId

Pinpoint

The Cognito service runs at http://vagrant.local:33671 unless you have modified your hosts.

Supported endpoints are:

  • UpdateEndpoint
  • PutEvents

chassis_aws_analytics's People

Contributors

bronsonquick avatar kadamwhite avatar rmccue avatar roborourke avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bronsonquick

chassis_aws_analytics's Issues

Template paths are outdated

Looking at cogito.service and pinpoint.service in the templates folder, I see outdated paths with the dashes instead of underscores:

  • WorkingDirectory=/vagrant/extensions/chassis-aws-analytics/local-cognito/
  • WorkingDirectory=/vagrant/extensions/chassis-aws-analytics/local-pinpoint/

I assume we should update these in light of #4

Use node to run services directly

We could submodule in the local-cognito and local-pinpoint repos and run those services via node directly. This means we can drop the docker requirement but we'll need to ensure we can set the ports for the services appropriately first.

Error on initial provision

Error: Could not find template 'chassis-aws-analytics/cognito.service' at /vagrant/extensions/chassis_aws_analytics/modules/chassis_aws_analytics/manifests/analytics_service.pp:27 on node my-project.local

Update this extension for Bionic Beaver

I heard from a Human Made employee that this extension doesn't work with the Bionic Beaver updates as it gives this error:

Error: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'analytics_service' (file: /vagrant/extensions/chassis_aws_analytics/modules/chassis_aws_analytics/manifests/init.pp, line: 17, column: 2) on node standard-chartered-nr.local

I haven't used the extension but I'll do a PR with a fix for it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.