This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
NAMESPACE=$1 | |
TOKEN=$(oc whoami -t) | |
#OC_URL=https://api.crc.testing:6443 | |
OC_URL=$(oc config view --minify -o jsonpath='{.clusters[*].cluster.server}') | |
oc get namespace $NAMESPACE -o json > $NAMESPACE-namespace.json | |
jq 'del(.spec.finalizers[])' $NAMESPACE-namespace.json > $NAMESPACE-namespace-finalizers.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apiVersion": "camel.apache.org/v1", | |
"kind": "Integration", | |
"metadata": { | |
"creationTimestamp": "2020-07-08T09:20:24Z", | |
"generation": 1, | |
"name": "timed-greeter", | |
"namespace": "knativetutorial", | |
"resourceVersion": "638666", | |
"selfLink": "/apis/camel.apache.org/v1/namespaces/knativetutorial/integrations/timed-greeter", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.jey</groupId> | |
<artifactId>jey-kogito</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<description>Generated project jey-kogito</description> | |
<properties> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.redhat.piidmigration; | |
import java.io.ByteArrayInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.io.ObjectInputStream; | |
import java.io.ObjectOutputStream; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.sql.Connection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" | |
xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.diligesoft</groupId> | |
<artifactId>sheelon</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<properties> | |
<compiler-plugin.version>3.8.1</compiler-plugin.version> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" | |
xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.diligesoft</groupId> | |
<artifactId>sheelon</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<properties> | |
<compiler-plugin.version>3.8.1</compiler-plugin.version> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
java --add-opens=java.base/sun.nio.ch=ALL-UNNAMED \ | |
-jar target/kafdrop-3.24.0.jar \ | |
--kafka.brokerConnect=localhost:9092 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"knapsack": { | |
"maxWeight": 10 | |
}, | |
"ingots" : [ | |
{ | |
"weight": 4, | |
"value": 15 | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2020-04-06 19:08:50.866 ERROR 25689 --- [nio-8080-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.IllegalStateException: Solving failed.] with root cause | |
java.lang.NullPointerException: null | |
at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.ensureObj(UnsafeFieldAccessorImpl.java:57) ~[na:na] | |
at java.base/jdk.internal.reflect.UnsafeObjectFieldAccessorImpl.get(UnsafeObjectFieldAccessorImpl.java:36) ~[na:na] | |
at java.base/java.lang.reflect.Field.get(Field.java:418) ~[na:na] | |
at org.optaplanner.core.impl.domain.common.accessor.ReflectionFieldMemberAccessor.executeGetter(ReflectionFieldMemberAccessor.java:59) ~[optaplanner-core-7.35.0.Final.jar!/:7.35.0.Final] | |
at org.optaplanner.core.impl.domain.constraintweight.descriptor.ConstraintWeightDescriptor.lambda$createExtractor$0(ConstraintWeightDescriptor.java:82) ~[optaplan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"processes" : [ | |
{ | |
"id": 0, | |
"requiredCpuPower": 1, | |
"requiredMemory": 1, | |
"requiredNetworkBandwidth": 1 | |
}, | |
{ | |
"id": 1, |
NewerOlder