Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Commit

Permalink
[CD] Update docs following 2.2.100 release
Browse files Browse the repository at this point in the history
  • Loading branch information
fusesource-ci committed Mar 22, 2016
1 parent 6e95f66 commit 89259f8
Show file tree
Hide file tree
Showing 29 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion components/fabric8-arquillian/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To be able to use this library add this to your [Apache Maven](http://maven.apac
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-arquillian</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion components/fabric8-camel/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-camel</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
</dependency>


Expand Down
2 changes: 1 addition & 1 deletion components/fabric8-devops-connector/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-devops-connector</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
</dependency>

### API Overview
Expand Down
2 changes: 1 addition & 1 deletion components/fabric8-devops/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-devops</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
</dependency>

### API Overview
Expand Down
2 changes: 1 addition & 1 deletion components/fabric8-selenium/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To be able to use this library add this to your [Apache Maven](http://maven.apac
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-selenium</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion components/gitrepo-api/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>gitrepo-api</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
</dependency>

### Building
Expand Down
2 changes: 1 addition & 1 deletion components/hubot-api/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>hubot-api</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
</dependency>

### Building
Expand Down
2 changes: 1 addition & 1 deletion components/jolokia-assertions/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>jolokia-assertions</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
<scope>test</scope>
</dependency>
2 changes: 1 addition & 1 deletion components/kubernetes-api/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-api</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
</dependency>

### Try an example
Expand Down
2 changes: 1 addition & 1 deletion components/kubernetes-assertions/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-assertions</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
<scope>test</scope>
</dependency>
2 changes: 1 addition & 1 deletion components/kubernetes-jolokia/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-jolokia</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
</dependency>


Expand Down
2 changes: 1 addition & 1 deletion components/letschat-api/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>letschat-api</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
</dependency>

### Environment variables
Expand Down
2 changes: 1 addition & 1 deletion components/mq/camel-amq/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8.mq</groupId>
<artifactId>camel-amq</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
</dependency>

2 changes: 1 addition & 1 deletion components/mq/mq-client/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8.mq</groupId>
<artifactId>mq-client</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
</dependency>

2 changes: 1 addition & 1 deletion components/swagger-model/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>swagger-model</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
</dependency>
2 changes: 1 addition & 1 deletion components/taiga-api/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To be able to use the Java code in your [Apache Maven](http://maven.apache.org/)
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>taiga-api</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
</dependency>

### Building
Expand Down
2 changes: 1 addition & 1 deletion docs/apimanImportService.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The fragment below is taken from the service section of the kubernetes.json were
},
...

The [fabric8-maven-plugin](http://fabric8.io/gitbook/mavenPlugin.html) makes it easy to define these annotations as properties in your project's pom. Simply add a property that is prefixed with 'fabric8.annotations.service.'. In the [CdiCxf project](https://github.com/fabric8io/ipaas-quickstarts/blob/v2.2.99/quickstart/cdi/cxf/pom.xml#L59-L62) mentioned above this looks like
The [fabric8-maven-plugin](http://fabric8.io/gitbook/mavenPlugin.html) makes it easy to define these annotations as properties in your project's pom. Simply add a property that is prefixed with 'fabric8.annotations.service.'. In the [CdiCxf project](https://github.com/fabric8io/ipaas-quickstarts/blob/v2.2.100/quickstart/cdi/cxf/pom.xml#L59-L62) mentioned above this looks like

...
<fabric8.annotations.service.apiman.io.servicePath>cxfcdi</fabric8.annotations.service.apiman.io.servicePath>
Expand Down
4 changes: 2 additions & 2 deletions docs/attic/appLibrary.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you start [fabric8 using these instructions](openShiftDocker.html) then it sh

If not you can run the App Library on any kubernetes environment as follows:

kube apply -f http://central.maven.org/maven2/io/fabric8/jube/images/fabric8/app-library/2.2.99/app-library-2.2.99-kubernetes.json
kube apply -f http://central.maven.org/maven2/io/fabric8/jube/images/fabric8/app-library/2.2.100/app-library-2.2.100-kubernetes.json

Then make sure you have [run the console](console.html)

Expand All @@ -41,4 +41,4 @@ For example, the default App Library config file contains the following IMPORT_A
Download one of the above zips to see the structure used:

http://central.maven.org/maven2/io/fabric8//quickstarts/fabric8-quickstarts-parent/2.2.99/fabric8-quickstarts-parent-2.2.99-app.zip
http://central.maven.org/maven2/io/fabric8//quickstarts/fabric8-quickstarts-parent/2.2.100/fabric8-quickstarts-parent-2.2.100-app.zip
20 changes: 10 additions & 10 deletions docs/getStarted/apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ export KUBERNETES_DOMAIN=vagrant.f8

#### Downloading all templates

Download and unzip the [fabric8 templates 2.2.99 distribution](http://repo1.maven.org/maven2/io/fabric8/devops/distro/distro/2.2.99/distro-2.2.99-templates.zip).
Download and unzip the [fabric8 templates 2.2.100 distribution](http://repo1.maven.org/maven2/io/fabric8/devops/distro/distro/2.2.100/distro-2.2.100-templates.zip).

e.g.

```
curl -o fabric8.zip http://repo1.maven.org/maven2/io/fabric8/devops/distro/distro/2.2.99/distro-2.2.99-templates.zip
curl -o fabric8.zip http://repo1.maven.org/maven2/io/fabric8/devops/distro/distro/2.2.100/distro-2.2.100-templates.zip
unzip fabric8.zip
cd main
```
Expand All @@ -60,7 +60,7 @@ Once you have found the `kubernetes.json` file for the [app](fabric8Apps.html) y

For example to install the [fabric8 console](console.html) then type:

oc process -v DOMAIN=$KUBERNETES_DOMAIN -f console-2.2.99.json | oc create -f -
oc process -v DOMAIN=$KUBERNETES_DOMAIN -f console-2.2.100.json | oc create -f -

#### Download templates individually

Expand All @@ -86,7 +86,7 @@ gofabric8 secrets -y
Provides centralised [Logging](logging.html) and [Metrics](metrics.html)

oc process -v DOMAIN=$KUBERNETES_DOMAIN -f \
http://repo1.maven.org/maven2/io/fabric8/devops/packages/management/2.2.99/management-2.2.99-kubernetes.json \
http://repo1.maven.org/maven2/io/fabric8/devops/packages/management/2.2.100/management-2.2.100-kubernetes.json \
| oc create -f -

Then [setup the OpenShift Routes](#creating-routes)
Expand All @@ -96,7 +96,7 @@ Then [setup the OpenShift Routes](#creating-routes)
Provides just the centralised [Logging](../logging.html)

oc process -v DOMAIN=$KUBERNETES_DOMAIN -f \
http://repo1.maven.org/maven2/io/fabric8/devops/packages/logging/2.2.99/logging-2.2.99-kubernetes.json \
http://repo1.maven.org/maven2/io/fabric8/devops/packages/logging/2.2.100/logging-2.2.100-kubernetes.json \
| oc create -f -

Then [setup the OpenShift Routes](#creating-routes)
Expand All @@ -106,7 +106,7 @@ Then [setup the OpenShift Routes](#creating-routes)
Provides just the centralised [Metrics](../metrics.html)

oc process -v DOMAIN=$KUBERNETES_DOMAIN -f \
http://repo1.maven.org/maven2/io/fabric8/devops/packages/metrics/2.2.99/metrics-2.2.99-kubernetes.json \
http://repo1.maven.org/maven2/io/fabric8/devops/packages/metrics/2.2.100/metrics-2.2.100-kubernetes.json \
| oc create -f -

Then [setup the OpenShift Routes](#creating-routes)
Expand All @@ -116,7 +116,7 @@ Then [setup the OpenShift Routes](#creating-routes)
Provides the [fabric8 console](../console.html) and the [Integration Platform As A Service](../ipaas.html)

oc process -v DOMAIN=$KUBERNETES_DOMAIN -f \
http://central.maven.org/maven2/io/fabric8/apps/ipaas/2.2.99/ipaas-2.2.99-kubernetes.json \
http://central.maven.org/maven2/io/fabric8/apps/ipaas/2.2.100/ipaas-2.2.100-kubernetes.json \
| oc create -f -

Then [setup the OpenShift Routes](#creating-routes)
Expand All @@ -128,7 +128,7 @@ Provides a Continuous Integration and [Continuous Delivery](../cdelivery.html) s
The complete [Continuous Delivery](../cdelivery.html) installation.

oc process -v DOMAIN=$KUBERNETES_DOMAIN -f \
http://repo1.maven.org/maven2/io/fabric8/devops/packages/cd-pipeline/2.2.99/cd-pipeline-2.2.99-kubernetes.json \
http://repo1.maven.org/maven2/io/fabric8/devops/packages/cd-pipeline/2.2.100/cd-pipeline-2.2.100-kubernetes.json \
| oc create -f -

Then [setup the OpenShift Routes](#creating-routes)
Expand All @@ -148,11 +148,11 @@ and setup the environment variables etc.

If you have defined the [$KUBERNETES_DOMAIN](#setup-domain) environment variable then you can use the following command:

mvn io.fabric8:fabric8-maven-plugin:2.2.99:create-routes
mvn io.fabric8:fabric8-maven-plugin:2.2.100:create-routes

Otherwise you can be specific and specify the domain you wish to use:

mvn io.fabric8:fabric8-maven-plugin:2.2.99:create-routes -Dfabric8.domain=my.acme.com
mvn io.fabric8:fabric8-maven-plugin:2.2.100:create-routes -Dfabric8.domain=my.acme.com

You could then setup a wildcard DNS rule on `*.$KUBERNETES_DOMAIN` to point to the IP address of your OpenShift
master or HAProxy installation. Or you could add custom entries to your `/etc/hosts` file for each service.
Expand Down
2 changes: 1 addition & 1 deletion docs/getStarted/develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Now when in a shell on your host (OS X / Windows) you can type `docker ps` and t

This then means that your host (OS X / Windows) will use the same docker daemon as the Kubernetes running inside the fabric8 vagrant image. Because of this you don't need to use a docker registry; a docker daemon is kinda like a local registry anyway - provided you don't try to push or pull the image!

**NOTE** you need to make sure that your kubernetes JSON uses the imagePullPolicy of `PullIfAbsent` (via the maven property `fabric8.imagePullPolicy`); as any attempt to pull an image just built locally that isn't pushed to a docker registry won't work; since the image isn't public yet. In fabric8 2.2.99 the default in `mvn fabric8:json` is to now omit this value which means it uses the kubernetes default which is `PullIfAbsent`.
**NOTE** you need to make sure that your kubernetes JSON uses the imagePullPolicy of `PullIfAbsent` (via the maven property `fabric8.imagePullPolicy`); as any attempt to pull an image just built locally that isn't pushed to a docker registry won't work; since the image isn't public yet. In fabric8 2.2.100 the default in `mvn fabric8:json` is to now omit this value which means it uses the kubernetes default which is `PullIfAbsent`.


### Build and apply
Expand Down
2 changes: 1 addition & 1 deletion docs/getStarted/local.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ is kinda like a local registry anyway - provided you don't try to push or pull t

> **NOTE** you need to make sure that your Kubernetes JSON uses the imagePullPolicy of `PullIfAbsent`
> (via the maven property `fabric8.imagePullPolicy`); as any attempt to pull an image just built locally that
> isn't pushed to a docker registry won't work; since the image isn't public yet. In fabric8 2.2.99 the default in
> isn't pushed to a docker registry won't work; since the image isn't public yet. In fabric8 2.2.100 the default in
> `mvn fabric8:json` is to now omit this value which means it uses the Kubernetes default which is `PullIfAbsent`.
You now should be able to [build and use docker images locally](../developLocally.html) without pushing or pulling.
Expand Down
2 changes: 1 addition & 1 deletion docs/getStarted/vagrant.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ on your installation.
or other Kubernetes resources just drag and drop the JSON file onto
the `Apps` tab!
* You can download the
[fabric8 templates 2.2.99 distribution](http://repo1.maven.org/maven2/io/fabric8/devops/distro/distro/2.2.99/distro-2.2.99-templates.zip)
[fabric8 templates 2.2.100 distribution](http://repo1.maven.org/maven2/io/fabric8/devops/distro/distro/2.2.100/distro-2.2.100-templates.zip)
unzip and drag the JSON files you want to install onto the
[fabric8 console](http://fabric8.io/guide/console.html) and they
should appear on the `Run...` page
Expand Down
2 changes: 1 addition & 1 deletion docs/mavenFabric8CreateRoutes.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To generate any missing routes for services use the following goal:

Note if you are not in a maven project which has the [fabric8 maven plugin enabled](mavenPlugin.html) then you can use the more verbose version:

mvn io.fabric8:fabric8-maven-plugin:2.2.99:create-routes
mvn io.fabric8:fabric8-maven-plugin:2.2.100:create-routes

To specify an explicit namespace and domain in recreate mode:

Expand Down
6 changes: 3 additions & 3 deletions docs/quickstarts/archetypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ a new project based on the archetype easily:
mvn archetype:generate \
-DarchetypeGroupId=io.fabric8.archetypes \
-DarchetypeArtifactId=cdi-camel-archetype \
-DarchetypeVersion=2.2.99
-DarchetypeVersion=2.2.100

You will be asked for some project parameters like the `groupId` or
the `artifactId`:

```
[INFO] --- maven-archetype-plugin:2.3:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] Archetype repository not defined. Using the one from [io.fabric8.archetypes:cdi-camel-archetype:2.2.99] found in catalog remote
[INFO] Archetype repository not defined. Using the one from [io.fabric8.archetypes:cdi-camel-archetype:2.2.100] found in catalog remote
Define value for property 'groupId': : myf8
Define value for property 'artifactId': : cdi-demo
Define value for property 'version': 1.0-SNAPSHOT: :
Expand All @@ -37,7 +37,7 @@ parameters as Maven properties:
-DarchetypeArtifactId=cdi-camel-archetype \
-DgroupId=myf8 \
-DartifactId=d2 \
-DarchetypeVersion=2.2.99
-DarchetypeVersion=2.2.100

The name of the `archetypeArtifactId` consists of the category
(`cdi`,`java`,`karaf`,`spring-boot` or `war`), the subproject
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstarts/walkthrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ You can use `ctrl + c` to stop the application.

As this quickstart is a _fat jar_ type of application you can also run it using `java -jar` as shown:

java -jar target/quickstart-java-simple-fatjar-2.2.99.jar
java -jar target/quickstart-java-simple-fatjar-2.2.100.jar

Now lets try to build and deploy this application to docker and kubernetes.

Expand Down
2 changes: 1 addition & 1 deletion docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,6 @@ To be able to use this library add this to your [Apache Maven](http://maven.apac
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-arquillian</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
<scope>test</scope>
</dependency>
2 changes: 1 addition & 1 deletion fabric8-apt/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ To enable the fabric8 API tool then add the following to your [Apache Maven](htt
<groupId>io.fabric8</groupId>
<artifactId>fabric8-apt</artifactId>
<scope>provided</scope>
<version>2.2.99</version>
<version>2.2.100</version>
</dependency>

4 changes: 2 additions & 2 deletions hawt-app-maven-plugin/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ Usage
You can use it on any maven module which contains a class that can be run from the CLI. You just need to let it know
which main class to use. For example:

mvn package io.fabric8:hawt-app-maven-plugin:2.2.99:build -Dhawt-app.javaMainClass=org.apache.camel.cdi.Main
mvn package io.fabric8:hawt-app-maven-plugin:2.2.100:build -Dhawt-app.javaMainClass=org.apache.camel.cdi.Main

(replace the version number with the current version). To create the app as part of you default build for the module,
add the a plugin configuration similar to the following in your maven module:

<plugin>
<groupId>io.fabric8</groupId>
<artifactId>hawt-app-maven-plugin</artifactId>
<version>2.2.99</version>
<version>2.2.100</version>
<executions>
<execution>
<goals>
Expand Down
4 changes: 2 additions & 2 deletions website/src/docs/index.page
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: read up on fabric8!
<div class="row">
<!-- begin column -->
<div class="col-md-12">
<h1>Documentation for version 2.2.99</h1>
<h1>Documentation for version 2.2.100</h1>
<dl>
<dt>
<a href="http://fabric8.io/guide/getStarted/index.html">Getting Started</a>
Expand All @@ -18,7 +18,7 @@ title: read up on fabric8!
</dl>
<dl>
<dt>
<a href="http://fabric8.io/guide/index.html">User Guide (2.2.99)</a>
<a href="http://fabric8.io/guide/index.html">User Guide (2.2.100)</a>
</dt>
<dd>
Read the user guide of fabric8 V2 which is based on <a href="http://docker.io/">Docker</a> and <a href="http://kubernetes.io">Kubernetes</a>. You can see the <a href="http://fabric8.io/guide/v2-changes.html">version 2.x differences here</a>.
Expand Down

0 comments on commit 89259f8

Please sign in to comment.