Code Monkey home page Code Monkey logo

app-services-guides's People

Contributors

aedinc avatar b1zzu avatar bhardesty avatar bibryam avatar bredamc avatar btison avatar carlesarnal avatar duncandoyle avatar ericwittmann avatar fmcdonal avatar grdryn avatar hemahg avatar jackdelahunt avatar jbyrne-redhat avatar jschuler avatar machi1990 avatar melissaflinn avatar pacostas avatar paulrmellor avatar pmuir avatar renovate[bot] avatar riccardo-forina avatar ritz303 avatar rkpattnaik780 avatar rkubis avatar secondsun avatar smccarthy-ie avatar sterobin avatar tiffanynolan avatar wtrocki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

app-services-guides's Issues

Add step to add ACLs to service account as a prerequisite to running `rhoas cluster connect`

By default, new Kafka instances are only accessible by their owner, and the owner must grant additional access to the instance via ACL creation in order to do so.

Since rhoas cluster connect uses a service account to create a Kafka binding, we need to ensure that this account has the necessary ACLs, otherwise it will fail.

There should be a step showing how to add ACLs for the created service account. This can be achieved using the rhoas kafka acl grant-access command.

Give a service account produce and consume access on all topics:

rhoas kafka acl grant-access --producer --consumer --service-account <client-id> --topic "*" --group "*"

This command should be run after running rhoas cluster connect.

Bootstrap server replacement in "bin script" quickstart

The "bin scripts" quickstart expects to replace <bootstrap_server> with the actual URL. But it does not say that explicitly so people might not notice and just use a command and get an error (the error message is descriptive enough though). Also, it does not say where to look at to see what the URL actually is.

Provide Node.js community guide and example

Refactoring done in the #82 will enable us to link also other guide (as subthree or commit it directly here)
this way we could provide both Node.js and Quarkus examples.

What can be done:

  1. Create Node.js SBO guide for Kafka
  2. Link or commit sample Node.js Kafka application

CC @mhdawson

README file urls are broken

End user reported for us that guides repository (it is returned in google search/acces.redhat.com resources are not) are broken so users cannot reach proper guides from repo:

FYI @redhat-developer/app-services-docs

List ALL Kafka commands in

In Commands for managing Kafka we only list the commands which were not covered in previous sections.

It makes sense to list all Kafka commands here, regardless of whether or not they've been covered already. Users would like to see these at a glance.

Additionally, if we changed the code examples from in-line snippets to code blocks then GitHub Asciidoc rendering should display a button to copy the content, which it does not currently.

Small changes to RHOSR quarkus app

Here are a few suggestions to change in the app. I haven't tried them to see if they break the app or not.
cc @carlesarnal

  • Provide a default value for ${OAUTH_REALM} such as ${OAUTH_REALM:rhoas}
  • Change io.apicurio.registry.serde.avro.strategy.RecordIdStrategy to io.apicurio.registry.serde.strategy.TopicIdStrategy The latter is what the UI will display if the strategy is used. This changes should be in both producer and processor application.properties

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Repository problems

These problems occurred while renovating this repository. View logs.

  • WARN: Update versions are not valid

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm npm-run-all Available

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

  • fix(deps): update dependency @redhat-cloud-services/frontend-components-config to v4.7.3
  • fix(deps): update shared components packages (@patternfly/quickstarts, @patternfly/react-core, @rhoas/app-services-ui-shared, @webpack-cli/serve, JamesIves/github-pages-deploy-action, ajv, asciidoctor, copy-webpack-plugin, css-loader, css-minimizer-webpack-plugin, fs-extra, glob, html-webpack-plugin, jest, maven, mini-css-extract-plugin, node, node-fetch, npm-run-all, patternfly, registry.access.redhat.com/ubi8/ubi-minimal, style-loader, sync-fetch, terser-webpack-plugin, ts-loader, tsconfig-paths-webpack-plugin, tslib, typescript, webpack, webpack-bundle-analyzer, webpack-cli, webpack-dev-server, webpack-merge, io.strimzi:kafka-oauth-client, io.apicurio:apicurio-common-rest-client-vertx, org.testcontainers:kafka, org.apache.maven.plugins:maven-failsafe-plugin, org.apache.maven.plugins:maven-surefire-plugin, io.quarkus:quarkus-maven-plugin, io.quarkus:quarkus-bom, io.quarkus:quarkus-universe-bom, org.apache.maven.plugins:maven-compiler-plugin)
  • fix(deps): update dependency @redhat-cloud-services/frontend-components-config to v6
  • fix(deps): update shared components packages (major) (@patternfly/quickstarts, @patternfly/react-core, @webpack-cli/serve, actions/checkout, actions/setup-java, actions/setup-node, asciidoctor, copy-webpack-plugin, css-loader, css-minimizer-webpack-plugin, fs-extra, gh-pages, glob, jest, jsdom, mkdirp, node, node-fetch, quay.io/quarkus/quarkus-distroless-image, rimraf, style-loader, svg-url-loader, tsconfig-paths-webpack-plugin, typescript, webpack-cli, webpack-dev-server, webpack-merge, yaml, io.quarkus:quarkus-maven-plugin, io.quarkus:quarkus-bom, io.quarkus:quarkus-universe-bom)
  • Click on this checkbox to rebase all open PRs at once

Detected dependencies

dockerfile
code-examples/kafka-avro-schema-quickstart/src/main/docker/Dockerfile.jvm
  • registry.access.redhat.com/ubi8/ubi-minimal 8.4
code-examples/kafka-avro-schema-quickstart/src/main/docker/Dockerfile.legacy-jar
  • registry.access.redhat.com/ubi8/ubi-minimal 8.4
code-examples/kafka-avro-schema-quickstart/src/main/docker/Dockerfile.native
  • registry.access.redhat.com/ubi8/ubi-minimal 8.4
code-examples/kafka-avro-schema-quickstart/src/main/docker/Dockerfile.native-distroless
  • quay.io/quarkus/quarkus-distroless-image 1.0
code-examples/quarkus-kafka-quickstart/src/main/docker/Dockerfile.jvm
  • registry.access.redhat.com/ubi8/ubi-minimal 8.4
code-examples/quarkus-kafka-quickstart/src/main/docker/Dockerfile.legacy-jar
  • registry.access.redhat.com/ubi8/ubi-minimal 8.4
code-examples/quarkus-kafka-quickstart/src/main/docker/Dockerfile.native
  • registry.access.redhat.com/ubi8/ubi-minimal 8.4
code-examples/quarkus-kafka-quickstart/src/main/docker/Dockerfile.native-distroless
  • quay.io/quarkus/quarkus-distroless-image 1.0
github-actions
.github/workflows/code-examples-kafka-avro-schema-quickstart.yml
  • actions/checkout v2
  • actions/setup-java v2
.github/workflows/code-examples-kafka-quickstart.yml
  • actions/checkout v2
  • actions/setup-java v2
.github/workflows/generation.yml
  • actions/checkout v2
  • actions/setup-node v2
.github/workflows/modular-docs-check.yml
  • actions/checkout v2
  • actions/setup-node v2
  • actions/setup-java v2
.github/workflows/modular-docs-publish.yml
  • actions/checkout v2
  • actions/setup-node v2
  • actions/setup-java v2
  • JamesIves/github-pages-deploy-action 4.1.5
.github/workflows/node.js.yml
  • actions/checkout v2
  • actions/setup-node v2
html
code-examples/kafka-avro-schema-quickstart/src/main/resources/META-INF/resources/movies.html
  • patternfly 3.59.5
  • patternfly 3.59.5
code-examples/quarkus-kafka-quickstart/src/main/resources/META-INF/resources/prices.html
  • patternfly 3.59.5
  • patternfly 3.59.5
code-examples/quarkus-service-registry-quickstart/consumer/src/main/resources/META-INF/resources/quotes.html
  • patternfly 3.24.0
  • patternfly 3.24.0
maven
code-examples/kafka-avro-schema-quickstart/pom.xml
  • io.quarkus:quarkus-bom 2.7.0.Final
  • io.quarkus:quarkus-maven-plugin 2.7.0.Final
  • org.apache.maven.plugins:maven-compiler-plugin 3.8.1
  • org.apache.maven.plugins:maven-surefire-plugin 3.0.0-M5
  • org.apache.maven.plugins:maven-failsafe-plugin 3.0.0-M5
code-examples/quarkus-kafka-quickstart/pom.xml
  • io.quarkus:quarkus-universe-bom 2.2.1.Final
  • org.testcontainers:kafka 1.16.0
  • io.strimzi:kafka-oauth-client 0.8.1
  • io.quarkus:quarkus-maven-plugin 2.2.1.Final
  • org.apache.maven.plugins:maven-surefire-plugin 3.0.0-M5
  • io.quarkus:quarkus-maven-plugin 2.2.1.Final
  • org.apache.maven.plugins:maven-failsafe-plugin 3.0.0-M5
code-examples/quarkus-service-registry-quickstart/consumer/pom.xml
  • io.quarkus:quarkus-bom 2.8.0.Final
  • io.apicurio:apicurio-common-rest-client-vertx 0.1.9.Final
  • io.quarkus:quarkus-maven-plugin 2.8.0.Final
  • org.apache.maven.plugins:maven-surefire-plugin 3.0.0-M5
  • org.apache.maven.plugins:maven-failsafe-plugin 3.0.0-M5
code-examples/quarkus-service-registry-quickstart/pom.xml
code-examples/quarkus-service-registry-quickstart/producer/pom.xml
  • io.quarkus:quarkus-bom 2.8.0.Final
  • io.apicurio:apicurio-common-rest-client-vertx 0.1.9.Final
  • io.quarkus:quarkus-maven-plugin 2.8.0.Final
  • org.apache.maven.plugins:maven-surefire-plugin 3.0.0-M5
  • org.apache.maven.plugins:maven-failsafe-plugin 3.0.0-M5
maven-wrapper
code-examples/kafka-avro-schema-quickstart/.mvn/wrapper/maven-wrapper.properties
  • maven 3.6.3
code-examples/quarkus-kafka-quickstart/.mvn/wrapper/maven-wrapper.properties
  • maven 3.6.3
code-examples/quarkus-service-registry-quickstart/.mvn/wrapper/maven-wrapper.properties
  • maven 3.8.1
npm
.build/package.json
  • @patternfly/quickstarts 2.3.3
  • @patternfly/react-core 4.135.0
  • @patternfly/transform-adoc 0.1.3
  • @redhat-cloud-services/frontend-components-config 4.3.5
  • @rhoas/app-services-ui-shared 0.12.2
  • react 17.0.2
  • react-dom 17.0.2
  • sync-request 6.1.0
  • yaml 1.10.2
  • @webpack-cli/serve 1.6.0
  • ajv 8.6.2
  • asciidoctor 2.2.5
  • assets-webpack-plugin 7.1.1
  • copy-dir 1.3.0
  • copy-webpack-plugin 9.0.1
  • css-loader 6.2.0
  • css-minimizer-webpack-plugin 3.0.2
  • file-loader 6.2.0
  • fs-extra 10.0.0
  • gh-pages 3.2.3
  • glob 7.1.7
  • html-webpack-plugin 5.3.2
  • jest ^27.5.1
  • js-yaml 4.1.0
  • jsdom 17.0.0
  • jsonpath 1.1.1
  • mini-css-extract-plugin 2.2.1
  • mkdirp 1.0.4
  • node-fetch 2.6.1
  • node-wget 0.4.3
  • npm-run-all 4.1.5
  • null-loader 4.0.1
  • optimize-css-assets-webpack-plugin 6.0.1
  • raw-loader 4.0.2
  • rimraf 3.0.2
  • style-loader 3.2.1
  • svg-url-loader 7.1.1
  • sync-fetch 0.3.0
  • terser-webpack-plugin 5.2.0
  • ts-loader 9.2.5
  • tsconfig-paths-webpack-plugin 3.5.1
  • tslib 2.3.1
  • typescript 4.4.2
  • url-loader 4.1.1
  • webpack 5.51.1
  • webpack-bundle-analyzer 4.4.2
  • webpack-cli 4.9.1
  • webpack-dev-server 4.2.1
  • webpack-merge 5.8.0
nvm
.build/.nvmrc
  • node 16.6.2
.nvmrc
  • node 16.6.2

  • Check this box to trigger a request for Renovate to run again on this repository

Proposed folder structure to make repo usable in upstream

Hi

Repository is being used for different purposes and I would like to see if we can clean up it little bit.
Also I think we might simply have different folder for the guide that is not quickstarts. etc.

  1. All guides that are cloudmosaic quickstarts should be in the quickstarts folder
  2. Documentation like cli guide should be in the docs folder
  3. Code samples should be in the examples folder (already agreed as part of the other issue ).
  4. Openshift guides - temp - should be in console-quickstarts

This will need some tooling changes but it might be very good to clear things out for community to understand what comes where etc.

Having documentation in the docs folder will also allow us to render github pages for it if needed etc. while quickstarts will be typically in cloud.redhat.com etc.

Replace CLI version numbers in rhoas Installation and Config guide

In the rhoas installation and configuration guide, the version numbers don't add much value, and they have to be updated every time there is a new rhoas release. Propose that we remove the version numbers where able. If there are any instances where it makes sense to show the version number, we can just use a standard "replaceable" (for example, <version> instead of 0.32).

For reference, see redhat-developer/app-services-cli#826.

Replace environment variables in the guides based on what CLI outputs

We going to swap both examples later in separate issues to values we have in env vars in our toolings

RHOAS_SERVICE_ACCOUNT_CLIENT_ID=srvc-a-fd-df7e-fdsf-b529-e6a24a557358
RHOAS_SERVICE_ACCOUNT_CLIENT_SECRET=asd-fsdf-4d1f-8963-6ab83de375aa
RHOAS_SERVICE_ACCOUNT_AUTH_TOKEN_URL=https://identity.api.openshift.com/auth/realms/rhoas/protocol/openid-connect/token

We need more specific envs to avoid overriding existing ones (like AWS tokens etc.)

Originally posted by @wtrocki in #322 (comment)

Broken links in the readme

Using App Services with Quarkus, Using Service Binding with App Services, Creating new guide links are broken

Document Quarkus configuration format for Kafka

Since this is a configuration very specific to Quarkus and Kafka I am not sure if it should be a generated output format in the service account commands. If so, the service accounts commands would be coupled to Kafka.
At the very least this can be documented in the guides.

quarkus.container-image.insecure=true
quarkus.kubernetes-client.trust-certs=true
quarkus.openshift.expose=true
quarkus.openshift.env.secrets=managed-kafka-credentials
quarkus.openshift.env.mapping.kafka-username.from-secret=managed-kafka-credentials
quarkus.openshift.env.mapping.kafka-username.with-key=username
quarkus.openshift.env.mapping.kafka-password.from-secret=managed-kafka-credentials
quarkus.openshift.env.mapping.kafka-password.with-key=password

%prod.kafka.bootstrap.servers=my-kafka-jdsfdfrj.kafka.devshift.org:443
%prod.kafka.security.protocol=SASL_SSL
%prod.kafka.sasl.mechanism=PLAIN
%prod.kafka.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required \
    username="${KAFKA_USERNAME}" \
    password="${KAFKA_PASSWORD}";

can we get stable UUID-free link to Getting started with the CLI doc?

OCM downloads page had a "Get started" link to
https://access.redhat.com/documentation/en-us/red_hat_openshift_streams_for_apache_kafka/1/guide/f520e427-cad2-40ce-823d-96234ccbc047 which returns 404.
I'm now updating it to
https://access.redhat.com/documentation/en-us/red_hat_openshift_streams_for_apache_kafka/1/guide/88e1487a-2a14-4b35-85b9-a7a2d67a37f3 which seems to be the current URL for same doc. But I worry the use of a UUID may cause it to change again in the future? Can we assume that link stable, or can you provide a better permalink?

CDN support for custom card icons

We're using some of the service icons multiple times on the quick start and documentation cards and this currently only supports base-64 formats. This format seems to cause some jagged edges with the icon.

This request is for:

  1. Being able to support other image formats
  2. Being able to optimize the page load by using CDN delivered images

cc: @pmuir @wtrocki

rhoas-cli: Permission denied when enabling command completion on Zsh

When I install rhoas CLI on Linux (Fedora 34, RHEL 7 Server) and I want to enable command completion on Zsh:

$ rhoas completion zsh > "${fpath[1]}/_rhoas"

I get permission denied error:

zsh: permission denied: /usr/share/zsh/site-functions/_rhoas

I get the same error when I try to enable command completion with sudo:

$ sudo rhoas completion zsh > "${fpath[1]}/_rhoas"

I am able workaround this issue when I generate command completion for rhoas into my $HOME directory and then I can move it with sudo to proper location:

$ rhoas completion zsh > _rhoas
$ mv _rhoas /usr/share/zsh/site-functions

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: renovate.json
Error type: Invalid JSON (parsing failed)
Message: Syntax error: expecting String near fig" ], }

Unify quarkus env and sbo guides

Currently we have 2 guides using the same codebase.
There is simple way to do it currently:

For env variables we can use env files rather than application properties.
This is not only better practice.

Guide for the env can require users to create env file with some content other wise quarkus kubernetes plugin config will kick in:

Reference:
https://quarkus.io/guides/config-reference

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.