Skip to content

Commit 2d20af9

Browse files
committed
Correct JSON documentation references
1 parent 68c9bc6 commit 2d20af9

File tree

10 files changed

+18429
-238
lines changed

10 files changed

+18429
-238
lines changed

documentation/domains/Cluster.json

Lines changed: 17 additions & 63 deletions
Large diffs are not rendered by default.

documentation/domains/Cluster.md

Lines changed: 18 additions & 33 deletions
Large diffs are not rendered by default.

documentation/domains/Domain.json

Lines changed: 36 additions & 82 deletions
Large diffs are not rendered by default.

documentation/domains/Domain.md

Lines changed: 36 additions & 51 deletions
Large diffs are not rendered by default.

documentation/domains/k8s1.28.2.md

Lines changed: 538 additions & 0 deletions
Large diffs are not rendered by default.

json-schema-generator/src/main/java/oracle/kubernetes/json/KubernetesSchemaReference.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2019, 2023, Oracle and/or its affiliates.
1+
// Copyright (c) 2019, 2024, Oracle and/or its affiliates.
22
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
33

44
package oracle.kubernetes.json;
@@ -10,7 +10,7 @@
1010

1111
public class KubernetesSchemaReference {
1212
private static final String K8S_SCHEMA_URL =
13-
"https://github.com/garethr/kubernetes-json-schema/blob/master/v%s/_definitions.json";
13+
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v%s/_definitions.json";
1414
private static final String K8S_SCHEMA_CACHE = "caches/kubernetes-%s.json";
1515
private static final String K8S_MARKDOWN_LINK = "k8s%s.md";
1616

json-schema-generator/src/main/resources/oracle/kubernetes/json/caches/kubernetes-1.28.2.json

Lines changed: 17775 additions & 0 deletions
Large diffs are not rendered by default.

json-schema-generator/src/test/java/oracle/kubernetes/json/SchemaGeneratorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2018, 2023, Oracle and/or its affiliates.
1+
// Copyright (c) 2018, 2024, Oracle and/or its affiliates.
22
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
33

44
package oracle.kubernetes.json;
@@ -27,7 +27,7 @@
2727
class SchemaGeneratorTest {
2828

2929
private static final String K8S_SCHEMA_URL =
30-
"https://github.com/garethr/kubernetes-json-schema/blob/master/v1.9.0/_definitions.json";
30+
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.9.0/_definitions.json";
3131
private static final String K8S_CACHE_FILE = "caches/kubernetes-1.9.0.json";
3232
private final SchemaGenerator generator = new SchemaGenerator();
3333

json-schema-generator/src/test/java/oracle/kubernetes/json/YamlDocGeneratorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2019, 2023, Oracle and/or its affiliates.
1+
// Copyright (c) 2019, 2024, Oracle and/or its affiliates.
22
// Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
33

44
package oracle.kubernetes.json;
@@ -20,7 +20,7 @@
2020
import static org.hamcrest.junit.MatcherAssert.assertThat;
2121

2222
class YamlDocGeneratorTest {
23-
private static final String K8S_VERSION = "1.13.5";
23+
private static final String K8S_VERSION = "1.28.2";
2424
private final SchemaGenerator schemaGenerator = new SchemaGenerator();
2525
@SuppressWarnings("unused")
2626
@Description("An annotated field")

operator/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- Copyright (c) 2017, 2023, Oracle and/or its affiliates.
1+
<!-- Copyright (c) 2017, 2024, Oracle and/or its affiliates.
22
Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. -->
33
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -170,7 +170,7 @@
170170
<configuration>
171171
<rootClass>oracle.kubernetes.weblogic.domain.model.DomainResource</rootClass>
172172
<outputFile>oracle/kubernetes/weblogic/domain/model/Domain.json</outputFile>
173-
<kubernetesVersion>1.13.5</kubernetesVersion>
173+
<kubernetesVersion>1.28.2</kubernetesVersion>
174174
<generateMarkdown>true</generateMarkdown>
175175
</configuration>
176176
</execution>
@@ -183,7 +183,7 @@
183183
<configuration>
184184
<rootClass>oracle.kubernetes.weblogic.domain.model.ClusterResource</rootClass>
185185
<outputFile>oracle/kubernetes/weblogic/domain/model/Cluster.json</outputFile>
186-
<kubernetesVersion>1.13.5</kubernetesVersion>
186+
<kubernetesVersion>1.28.2</kubernetesVersion>
187187
<generateMarkdown>true</generateMarkdown>
188188
</configuration>
189189
</execution>

0 commit comments

Comments
 (0)