Coder Social home page Coder Social logo

circle-sync's Introduction

circle-sync

Author: Mark Bush, Ocado Ltd

The circle-sync application is an example of how to use the Google+ Domains API. The application provides a way of managing the members of one or more Circles based on an external source.

This application is set up as an Eclipse project, however you can import it into your preferred development environment.

Builing the application

I have used Maven to manage the build process. If you are using an IDE, then there will be a plugin available which will help with building and running projects. You can build on the command line using:

mvn package appassembler:assemble

The "package" goal compiles the source and then packages it into a JAR file. The "appassembler:assemble" goal creates an application setup in the project's "target/appassembler" folder containing all the dependant JARs and scripts (for both Windows and UNIX based systems) that enable you to run it easily.

Configuring the Application

By default, the application looks for a file called "circle-sync.conf" in the current directory. This file should have lines of the form:

:

All white space in the file is significant. The base application expects

to be the name of a group to be looked up in LDAP (such as Active Directory).

NOTE: the group name should be fully qualified, such as: CN=Marketing,OU=Groups,DC=example,DC=com

The Circle will be created if it doesn't already exist.

You can specify an alternate configuration file as an argument to the application when you run it.

If you replace the definition of "sourceLoader" in CircleSync with an instance of FileSourceLoader, then the source identifier can be the name of a file containing email addresses (one per line).

Running the Application

On Windows, use the generated script: target/appassembler/bin/circle-sync.bat

On UNIX based systems (Mac, Linux, etc), use the alternate script: target/appassembler/bin/circle-sync

circle-sync's People

Contributors

markbush avatar

Watchers

 avatar  avatar

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.