kubectl exec --stdin --tty [POD_NAME] -- /bin/bash
https://developers.redhat.com/articles/2023/08/16/how-implement-kubernetes-operators-java-operator-sdk Go operator-sdk をインストールする時は v1.32.0 (See https://github.com/operator-framework/operator-sdk/issues/6645) (as of 2024/03/29) -…
Windows でエラー jobs: drools-build: ... strategy: matrix: os: [ubuntu-latest, windows-latest] ... steps: ... - name: Backward Compatibility Test run: | CURRENT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) ech…
Use benchmark! String.replace("A", "B") -> String.replace('A', 'B') : char is faster String.format("%s.%s", strA, strB) -> StringBuilder.append(strA).append(".").append(strB) : format is better for maintenance, but StringBuilder would be f…
oc exec -it my-cluster-kafka-0 -- bash bin/kafka-topics.sh --bootstrap-server localhost:9092 --describe bin/kafka-console-producer.sh --bootstrap-server localhost:9092 --topic my-topic bin/kafka-console-consumer.sh --bootstrap-server local…
https://minikube.sigs.k8s.io/docs/start/
リモートデバッグ https://codehaus-cargo.github.io/cargo/Debugging.html
基本 https://www.rk-k.com/archives/3836 conf修正 https://www.rk-k.com/archives/3838 Basic認証 https://www.rk-k.com/archives/3832 HTTPS https://www.engilaboo.com/nginx-docker-https/
RHEL で nodejs のストリームを変えるとき sudo dnf module reset nodejs sudo dnf module install nodejs:12
mvn clean install -Dquickly mvn verify mvn clean install -DskipTests -Dvalidate-formatting debug log mvn clean package -Dorg.slf4j.simpleLogger.log.io.quarkus=debug -Dorg.slf4j.simpleLogger.log.org.kie.kogito=debug system property quarkus:…
executable model の java コードダンプ (Since 7.56.0.Final) mvn clean package -DgenerateModel=YES -DdumpKieSourcesFolder=dump
kie-karaf-itests jdk8 mvn clean install -Dtest=KieCamelRemoteIntegrationTest は使わない方がいい pax.exam ログは target/paxexam/unpack/2eea7aa9-0eb2-444d-8b9c-57cd179d5f62/data/log/karaf.log に出る
add-user.sh -a --user kieserver --password kieserver1! --role kie-server,admin,rest-all
14 KieLive Drools は Kogito, jBPM, OptaPlanner を含めた KIE コミュニティ (https://kie.org/)の仲間です。KIE コミュニティでは KieLive というストリーミング配信を行っており、様々な技術的なトピックを語っています。過去の動画はこちらから観ること…
maven で kotlin compile を先に実行する 既存の Java Maven Project に Kotlin を導入する - Qiita
Prometheus prometheus.yml を編集(targets とか)して ./prometheus http://localhost:9090/ にアクセス Status -> Target で接続しているターゲットを確認 Graph の Expression のボックスにメトリクスの名前を入れる、「Execute」クリック。その後Graphタ…
*** remote debug java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000 -Dxxx=xxx -jar xxx.jar or java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=n -Dxxx=xxx -jar xxx.jar agentlib を後ろの方につけ…
Hello : Cześć Thank you : Dziękuję! My name is Toshiya Kobayashi : Nazywam się Toshiya Kobayashi
13 DMN DMN (Decision Model and Notation) とは OMG (Object Management Group) で策定されたビジネスルールについての仕様です。 https://www.omg.org/dmn/ ビジネスプロセス仕様 BPMN (Business Process Model and Notation) のルール版だと思ってよいで…
dot -Tpng example01.dot -o example01.png dot -Tps example01.dot -o example01.ps
Logging 起動ログ etc/system.properties org.ops4j.pax.logging.DefaultServiceLog.level = TRACE fuse.log etc/org.ops4j.pax.logging.cfg log4j2.rootLogger.level = TRACE ... # add log4j2.logger.karaf.name = org.apache.karaf log4j2.logger.karaf.l…
基本 https://code.visualstudio.com/docs/getstarted/tips-and-tricks ショートカット コマンド(shift+ctrl+p)から "Preference: Open Keyboard Shortcuts" Remote Debug https://code.visualstudio.com/docs/java/java-debugging Create launch.json Add C…
https://hub.docker.com/r/jboss/business-central-workbench-showcase/ https://hub.docker.com/r/jboss/kie-server-showcase/
Failure in creating/running a workspace Failed to pull image "registry.redhat.io/codeready-workspaces/theia-rhel8 nvalid username/password: unauthorized: -> change tag via plugins / editor etc. plugin Introduction to Eclipse Che | Eclipse …
java -jar target/benchmarks.jar -h でコマンドラインオプションのリスト表示 -f: fork -wi: warmup iteration -i : number of iterations など If you hit the error when running in Eclipse/JBDS ERROR: Unable to find the resource: /META-INF/Benchma…
bin/zookeeper-server-start.sh -daemon config/zookeeper.properties bin/kafka-server-start.sh -daemon config/server.properties tail -f logs/server.log bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-factor 1 --pa…
12 Kogito Examples Kogito 0.9.1 がリリースされました! 別に切りのいい数字じゃないって? や、そうなんですけど、0.9.1 はドキュメントや examples を整備して「いい感じに仕上げました」マイルストーンリリースなのです。今後もバージョン自体はどんど…
11 Kie Server ここまでルールエンジンを実行するために直接 Java コードを書いてましたが、REST API での実行も可能です。その場合 REST エンドポイントを公開するための Web アプリが必要です。そのために Kie Server という Web アプリが提供されています…
インストール developers.redhat.com crc setup crc config set memory 12000 crc start eval $(crc oc-env) crc config は crc start の前にする。すでに作っていたら、一回 crc delete する必要がある(v 1.4.0 現在) [BUG] The crc start -m option only w…
10 Business Central Drools には Business Central という強力な Web UI ツールが付いています。以下、機能を列挙しますと ルール、デシジョンテーブル、データオブジェクト、プロセスなど、ファイルの管理 プロジェクトの管理 ルール、デシジョンテーブル…