diff --git a/CHANGES_NEXT_RELEASE b/CHANGES_NEXT_RELEASE index fa20464f70..656f28c5a6 100644 --- a/CHANGES_NEXT_RELEASE +++ b/CHANGES_NEXT_RELEASE @@ -1,3 +1,4 @@ - Fix: custom notification ngsi patching evaluation priority based in evalPriority builtin metadata (#4556) - Fix: wrong date values should not allowed in subscription's expires field (#4541) -- Fix: do not raise DB alarm in case of wrong GeoJSON in client request \ No newline at end of file +- Fix: do not raise DB alarm in case of wrong GeoJSON in client request +- Upgrade Debian version from 12.4 to 12.6 in Dockerfile \ No newline at end of file diff --git a/ci/deb/Dockerfile b/ci/deb/Dockerfile index 93c38a5cf9..afe1fbe778 100644 --- a/ci/deb/Dockerfile +++ b/ci/deb/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:12.4-slim +FROM debian:12.6-slim ADD build.sh /opt/bin/ ADD build-dep.sh /opt/bin/ diff --git a/doc/manuals.jp/admin/build_source.md b/doc/manuals.jp/admin/build_source.md index b5464ae4ea..54e7c19e36 100644 --- a/doc/manuals.jp/admin/build_source.md +++ b/doc/manuals.jp/admin/build_source.md @@ -13,7 +13,7 @@ Orion Context Broker は、以下のライブラリをビルドの依存関係 * boost: 1.74 * libmicrohttpd: 0.9.76 (ソースから) * libcurl: 7.88.1 -* openssl: 3.0.9 +* openssl: 3.0.13 * libuuid: 2.38.1 * libmosquitto: 2.0.15 (ソースから) * Mongo C driver: 1.24.3 (ソースから) diff --git a/doc/manuals.jp/admin/install.md b/doc/manuals.jp/admin/install.md index 07cfba626f..06a4c2a5c7 100644 --- a/doc/manuals.jp/admin/install.md +++ b/doc/manuals.jp/admin/install.md @@ -26,7 +26,7 @@ Docker hub で公式の Orion docker コンテナを使用してインストー 必要なソースから ビルドした Orion をインストールする場合: -* オペレーティングシステム: Debian。リファレンス・オペレーティングシステムは Debian 12.4 ですが、それ以降の +* オペレーティングシステム: Debian。リファレンス・オペレーティングシステムは Debian 12.6 ですが、それ以降の Debian 12 バージョンでも動作するはずです * データベース: MongoDB は、Orion Context Broker がインストールされるのと同じホストで実行するか、ネットワーク経由で アクセスできる別のホストで実行する必要があります。推奨される MongoDB バージョンは 6.0 です (Orion は古いバージョンで diff --git a/doc/manuals/admin/build_source.md b/doc/manuals/admin/build_source.md index 3292e71d32..e86a146047 100644 --- a/doc/manuals/admin/build_source.md +++ b/doc/manuals/admin/build_source.md @@ -13,7 +13,7 @@ The Orion Context Broker uses the following libraries as build dependencies: * boost: 1.74 * libmicrohttpd: 0.9.76 (from source) * libcurl: 7.88.1 -* openssl: 3.0.9 +* openssl: 3.0.13 * libuuid: 2.38.1 * libmosquitto: 2.0.15 (from source) * Mongo C driver: 1.24.3 (from source) diff --git a/doc/manuals/admin/install.md b/doc/manuals/admin/install.md index 5efbe8d65c..f8ef9489f5 100644 --- a/doc/manuals/admin/install.md +++ b/doc/manuals/admin/install.md @@ -23,7 +23,7 @@ In the case you install using the official Orion docker container at Dockerhub, In the case you are installing Orion building from sources you need: -* Operating system: Debian. The reference operating system is Debian 12.4 +* Operating system: Debian. The reference operating system is Debian 12.6 but it should work also in any later Debian 12 version. * Database: MongoDB is required to run either in the same host where Orion Context Broker is to be installed or in a different host accessible through the network. The recommended MongoDB version is 6.0 (Orion may work with older versions but we don't recommend it at all!). diff --git a/docker/Dockerfile b/docker/Dockerfile index 0b2ad28fa7..73d0501729 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -20,7 +20,7 @@ # ARG IMAGE_NAME=debian -ARG IMAGE_TAG=12.4-slim +ARG IMAGE_TAG=12.6-slim FROM ${IMAGE_NAME}:${IMAGE_TAG} ARG GITHUB_ACCOUNT=telefonicaid diff --git a/docker/README.jp.md b/docker/README.jp.md index e1080f2888..bd77c4f967 100644 --- a/docker/README.jp.md +++ b/docker/README.jp.md @@ -28,7 +28,7 @@ Orion Context Broker を試してみたいし、データベースについて services: orion: - image: fiware/orion + image: telefonicaiot/fiware-orion ports: - "1026:1026" depends_on: @@ -49,7 +49,7 @@ Orion Context Broker を試してみたいし、データベースについて curl localhost:1026/version -この方法で行ったことは、[Docker Hub](https://hub.docker.com/) というイメージの公開リポジトリから [Orion Context Broker](https://hub.docker.com/r/fiware/orion/) と [MongoDB](https://hub.docker.com/_/mongo/) 用のイメージをダウンロードすることです。次に、両方のイメージに基づいて2つのコンテナを作成しました。 +この方法で行ったことは、[Docker Hub](https://hub.docker.com/) というイメージの公開リポジトリから [Orion Context Broker](https://hub.docker.com/r/telefonicaiot/fiware-orion/) と [MongoDB](https://hub.docker.com/_/mongo/) 用のイメージをダウンロードすることです。次に、両方のイメージに基づいて2つのコンテナを作成しました。 このシナリオを停止したい場合は、docker-compose が実行されているターミナルで Control+C を押す必要があります。このメソッドを使用して Orion で使用されていたデータはすべて失われます。 @@ -60,13 +60,13 @@ Orion Context Broker を試してみたいし、データベースについて > ヒント : これらの方法を試しているか、複数回実行していて、コンテナがすでに存在しているというエラーが表示された場合は、`docker rm orion1` で削除できます。コンテナを停止しなければならない場合は、まず `docker stop orion1` を実行して、止めてください。 -これらのコマンドを使用すると、Orion のタグと特定のバージョンにアクセスできます。たとえば、特定のバージョンが必要な場合は、次のコマンドで `fiware/orion` の代わりに `fiware/orion:0.22` を使用できます。バージョンを指定しない場合は、デフォルトで ` 最新 ` のものから取得します。 +これらのコマンドを使用すると、Orion のタグと特定のバージョンにアクセスできます。たとえば、特定のバージョンが必要な場合は、次のコマンドで `telefonicaiot/fiware-orion` の代わりに `telefonicaiot/fiware-orion:4.0.0` を使用できます。バージョンを指定しない場合は、デフォルトで ` 最新 ` のものから取得します。 ### 2A. MongoDB はローカルホスト上にある場合 これを実行するには、このコマンドを実行します。 - sudo docker run -d --name orion1 -p 1026:1026 fiware/orion + sudo docker run -d --name orion1 -p 1026:1026 telefonicaiot/fiware-orion すべてが動作することを確認します。 @@ -79,7 +79,7 @@ Orion Context Broker を試してみたいし、データベースについて そして、このコマンドで Orion を実行します - sudo docker run -d --name orion1 --link mongodb:mongodb -p 1026:1026 fiware/orion -dbURI mongodb://mongodb + sudo docker run -d --name orion1 --link mongodb:mongodb -p 1026:1026 telefonicaiot/fiware-orion -dbURI mongodb://mongodb すべてが動作することを確認します。 @@ -91,7 +91,7 @@ Orion Context Broker を試してみたいし、データベースについて 別の MongoDB インスタンスに接続する場合は、前のコマンドの**代わりに**、次のコマンドを実行します - sudo docker run -d --name orion1 -p 1026:1026 fiware/orion -dbURI mongodb:// + sudo docker run -d --name orion1 -p 1026:1026 telefonicaiot/fiware-orion -dbURI mongodb:// すべてが動作することを確認します。 @@ -186,6 +186,6 @@ sudo を使用したくない場合は、[以下の手順](http://askubuntu.com/ ### 4.4 Orion の追加パラメータ -コンテナイメージの名前 (ビルドしている場合は `orion`、リポジトリからプルしている場合は `fiware/orion`) の後ろは、Orion Context Broker のパラメータとして解釈されます。ここでは、MongoDB ホストがどこにあるかを broker に伝えています。これは、他の MongoDB コンテナの名前で表されます。他のコマンドライン・オプションの [ドキュメント](https://github.com/telefonicaid/fiware-orion)を見てください。 +コンテナイメージの名前 (ビルドしている場合は `orion`、リポジトリからプルしている場合は `telefonicaiot/fiware-orion`) の後ろは、Orion Context Broker のパラメータとして解釈されます。ここでは、MongoDB ホストがどこにあるかを broker に伝えています。これは、他の MongoDB コンテナの名前で表されます。他のコマンドライン・オプションの [ドキュメント](https://github.com/telefonicaid/fiware-orion)を見てください。 Orion は [マルチテナントモード](https://fiware-orion.readthedocs.io/en/master/user/multitenancy/index.html)で動作します。 diff --git a/docker/README.md b/docker/README.md index 31f7ccf9a1..0a3e30fdf6 100644 --- a/docker/README.md +++ b/docker/README.md @@ -30,7 +30,7 @@ Follow these steps: services: orion: - image: fiware/orion + image: telefonicaiot/fiware-orion ports: - "1026:1026" depends_on: @@ -51,7 +51,7 @@ Check that everything works with curl localhost:1026/version -What you have done with this method is download images for [Orion Context Broker](https://hub.docker.com/r/fiware/orion/) and [MongoDB](https://hub.docker.com/_/mongo/) from the public repository of images called [Docker Hub](https://hub.docker.com/). Then you have created two containers based on both images. +What you have done with this method is download images for [Orion Context Broker](https://hub.docker.com/r/telefonicaiot/fiware-orion/) and [MongoDB](https://hub.docker.com/_/mongo/) from the public repository of images called [Docker Hub](https://hub.docker.com/). Then you have created two containers based on both images. If you want to stop the scenario you have to press Control+C on the terminal where docker-compose is running. Note that you will lose any data that was being used in Orion using this method. @@ -62,13 +62,13 @@ This method will launch a container running Orion Context Broker, but it is up t > TIP: If you are trying these methods or run them more than once and come across an error saying that the container already exists you can delete it with `docker rm orion1`. If you have to stop it first do `docker stop orion1`. -Keep in mind that if you use these commands you get access to the tags and specific versions of Orion. For example, you may use `fiware/orion:0.22` instead of `fiware/orion` in the following commands if you need that particular version. If you do not specify a version you are pulling from `latest` by default. +Keep in mind that if you use these commands you get access to the tags and specific versions of Orion. For example, you may use `telefonicaiot/fiware-orion:4.0.0` instead of `telefonicaiot/fiware-orion` in the following commands if you need that particular version. If you do not specify a version you are pulling from `latest` by default. ### 2A. MongoDB is on localhost To do this run this command - sudo docker run -d --name orion1 -p 1026:1026 fiware/orion + sudo docker run -d --name orion1 -p 1026:1026 telefonicaiot/fiware-orion Check that everything works with @@ -81,7 +81,7 @@ In case you want to run MongoDB on another container you can launch it like this And then run Orion with this command - sudo docker run -d --name orion1 --link mongodb:mongodb -p 1026:1026 fiware/orion -dbURI mongodb://mongodb + sudo docker run -d --name orion1 --link mongodb:mongodb -p 1026:1026 telefonicaiot/fiware-orion -dbURI mongodb://mongodb Check that everything works with @@ -93,7 +93,7 @@ This method is functionally equivalent as the one described in section 1, but do If you want to connect to a different MongoDB instance do the following command **instead of** the previous one - sudo docker run -d --name orion1 -p 1026:1026 fiware/orion -dbURI mongodb:// + sudo docker run -d --name orion1 -p 1026:1026 telefonicaiot/fiware-orion -dbURI mongodb:// Check that everything works with @@ -189,7 +189,7 @@ on your machine you should change this value to something else, for example `-p ### 4.4 Extra parameters for Orion -Anything after the name of the container image (`orion` if you are building, or `fiware/orion` if you are pulling from the repository) is interpreted as a parameter for the Orion Context Broker. In this case we are telling the broker where the MongoDB host is, represented by the name of our other MongoDB container. Take a look at the [documentation](https://github.com/telefonicaid/fiware-orion) for other command-line options. +Anything after the name of the container image (`orion` if you are building, or `telefonicaiot/fiware-orion` if you are pulling from the repository) is interpreted as a parameter for the Orion Context Broker. In this case we are telling the broker where the MongoDB host is, represented by the name of our other MongoDB container. Take a look at the [documentation](https://github.com/telefonicaid/fiware-orion) for other command-line options. Orion will be running on [multi-tenant](https://fiware-orion.readthedocs.io/en/master/user/multitenancy/index.html) mode. diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 81b78922e7..ccfbda083b 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -2,7 +2,7 @@ version: "3" services: orion: - image: fiware/orion + image: telefonicaiot/fiware-orion ports: - "1026:1026" depends_on: