Code Monkey home page Code Monkey logo

noe-core's Introduction

NOE core

Description

It is a library containing functionality and abstraction to work with servers (start/stop/kill/configuration) in a unified way. It also provides workspace management abstraction which is used to prepare the servers for further testing. It also contains common libraries such as file manipulation (copy, move, remove, unzip,..), web access and many more.

Coding standards

We use same coding standards like wildfly https://github.com/wildfly/wildfly-core/tree/master/ide-configs with these exceptions:

  • indentation size is 2
  • continuation indentation is 4
  • maximum line length is 160 chars

Versioning

Version numbering is done in accordance to http://semver.org/spec/v2.0.0.html

Release a snapshot

Release is done using maven to internal JBoss QA maven repositories mvn clean deploy

Release a new version

Before releasing, don't forget to check, that integration tests are passing on all platforms, e.g. by checking CI job if it is set up.

Releasing is done using the maven release plugin to internal JBoss QA maven repositories. To perform the release, use the following commands in a sequence:

mvn release:prepare -Pcomplete -Darguments="-DskipTests"

mvn release:perform -Pcomplete -Darguments="-DskipTests"

These commands automatically change versions, tags, and push the changes to the jbossqe-eap/noe-core repository. Note that the commands exclude running tests; run the tests yourself before releasing.

The release:prepare command generates temporary files. If you need to re-generate the temporary files without pushing new tags and versions, run the following command:

mvn -DdryRun=true release:prepare -Pcomplete -Darguments="-DskipTests"

To successfully perform the release, you must set username and password in the settings.xml file for the jboss-qa-releases server.

Running integration testsuite

mvn clean verify -Pcomplete where -Pcomplete stands for also building testsuite module

To run single test run mvn verify -Pcomplete -Dit.test=SomeTest

Java requirements

At this moment, Noe Core cannot be built with Java greater than 8. However, it is tested and used in testsuites with Java up to 11. We now support SERVER_JAVA_HOME, which means the testsuite runs with different Java than the server itself.

Simply export SERVER_JAVA_HOME to a JAVA_HOME that will be set for servers (all Tomcats are supported, some EAPs are supported). This enables you to test a server with various Javas while running the testsuite on JDK 11+.

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.