Giter Club home page Giter Club logo

docker-addon's People

Contributors

devanshu911 avatar gastaldi avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-addon's Issues

Implement a Dockerfile Linter.

A rule based 'linter' Dockerfiles .The linter rules can be used to check file syntax as well as arbitrary semantic and best practice attributes determined by the rule file writer.Rule files are written in YAML.

Implement DockerFileResource for managing Resources that are Dockerfiles.

The Docker Addon has to provide APIs and services for interacting with real and virtual Dockerfile Resources, typically for the purpose of reading and manipulating Dockerfiles.
The addon should use Shrinkwrap Descriptors Docker, that provide reading,parsing,manipulating
and writing Dockerfile commands to real and virtual Dockerfile resources provided by the addon.

DockerfileValidationImpl should not be accessed directly

DockerfileValidationImpl should be hidden from the API consumer and therefore should only be accessed through DockerFileResource.verify(). The tests should be changed to use that. Maybe the class name should be changed as well.

Add Javadoc to API

Specifically the APIs should all have clear javadocs.
Implementation classes on the other hand should only have comments when you need to explain "why" a decision was made.

Test deployments should not declare specific addon dependencies

I noticed that in your tests, the @Deployment method contains specific @AddonDependency entries. Is there any reason to do so? Normally you should only declare @AddonDependency entries if they are not declared in the pom.xml or you need a different environment for testing your addon (I believe this is not the case).
This is how a @Deployment method should look like in most cases:

   @Deployment
   @AddonDependencies
   public static AddonArchive getDeployment()
   {
      return ShrinkWrap.create(AddonArchive.class).addBeansXML();
   }

This will make sure that the addon to be tested uses the dependencies declared in your pom.xml

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.