GithubHelp home page GithubHelp logo

isabella232 / analytics-skeleton-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gocd-contrib/analytics-skeleton-plugin

0.0 0.0 0.0 214 KB

A skeleton starting point for users wanting to implement analytics plugins for GoCD

Home Page: https://plugin-api.gocd.org/

License: Apache License 2.0

JavaScript 0.83% Java 93.53% HTML 5.64%

analytics-skeleton-plugin's Introduction

Analytics plugin skeleton

This is merely a skeleton plugin that plugin developers can fork to get quickly started with writing analytics plugins for GoCD.

Getting started

  • Edit the file build.gradle
  • Edit the GetPluginConfigurationExecutor.java class to add any configuration fields that should be shown in the view.
  • Edit the plugin-settings.template.html file which contains the view for the plugin settings page of your plugin.
  • Edit the PluginSettings.java file which contains the model for your settings.
  • Implement the following classes to get a basic analytics plugin working:
    • GetCapabilitiesExecutor.java
    • GetStaticAssetsExecutor.java
    • AnalyticsExecutorSelector.java

Building the code base

To build the jar, run ./gradlew clean test assemble

License

Copyright 2018 ThoughtWorks, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About the license and releasing your plugin under a different license

The skeleton code in this repository is licensed under the Apache 2.0 license. The license itself specifies the terms under which derivative works may be distributed (the license also defines derivative works). The Apache 2.0 license is a permissive open source license that has minimal requirements for downstream licensors/licensees to comply with.

This does not prevent your plugin from being licensed under a different license as long as you comply with the relevant clauses of the Apache 2.0 license (especially section 4). Typically, you clone this repository and keep the existing copyright notices. You are free to add your own license and copyright notice to any modifications.

This is not legal advice. Please contact your lawyers if needed.

analytics-skeleton-plugin's People

Contributors

dependabot-support avatar ganeshspatil avatar ketan avatar kritika-singh3 avatar marques-work 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.