Skip to content

Commit

Permalink
Merge pull request #54 from kube-HPC/domain_fix
Browse files Browse the repository at this point in the history
Domain fix
  • Loading branch information
Adir111 authored Nov 10, 2024
2 parents 11d3696 + 9f7385e commit 16ca461
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 31 deletions.
2 changes: 1 addition & 1 deletion site/Home/Hero/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const HeroButtons = () => (
<a className="button" href={config.base_url + "/learn/"}>
Get Started
</a>
<a className="button" target="_blank" href="https://playground.hkube.io/">
<a className="button" target="_blank" href="https://playground.hkube.org/">
Playground
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion site/_core/HeaderLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const links = [
{
section: "playground",
text: "Playground",
href: "https://playground.hkube.io/",
href: "https://playground.hkube.org/",
},
{ section: "gitHub", text: "GitHub", href: "https://github.com/kube-HPC" },
{ section: "spec", text: "Spec", href: config.base_url + "/spec/", target: "_blank" },
Expand Down
23 changes: 11 additions & 12 deletions site/_core/Site.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default ({
content="Hkube - HPC over Kubernetes, cloud native open source framework to run distributed pipeline of algorithms"
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="http://hkube.io/" />
<meta property="og:url" content="http://hkube.org/" />
<meta property="og:image" content={config.base_url + "/img/home/og_image.png"} />
<meta property="og:image:type" content="image/png" />
<meta name="twitter:card" content="summary" />
Expand All @@ -57,7 +57,7 @@ export default ({
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css"
href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"
/>
</head>
<body className={className}>
Expand All @@ -70,19 +70,19 @@ export default ({
<a href="/learn/">Learn</a>
</h5>
<a href={config.base_url + "/learn/"}>Introduction</a>
<a href={config.base_url + "/learn/pipeline/"}>Pipeline</a>
<a href={config.base_url + "/learn/pipelines/"}>Pipeline</a>
<a href={config.base_url + "/learn/nodes/"}>Nodes</a>
<a href={config.base_url + "/learn/input/"}>Input</a>
<a href={config.base_url + "/learn/execution/"}>Execution</a>
<a href={config.base_url + "/learn/webhooks/"}>Webhooks</a>
</div>
<div className="sitemap-group">
<h5>
<a href={config.base_url + "/dashboard/"}>Dashboard</a>
<a href={config.base_url + "/tech/dashboard/"}>Dashboard</a>
</h5>
<a href={config.base_url + "/dashboard/#overview"}>Overview</a>
<a href={config.base_url + "/dashboard/#tables"}>Tables</a>
<a href={config.base_url + "/dashboard/#operations"}>Operations</a>
<a href={config.base_url + "/tech/dashboard/#overview"}>Overview</a>
<a href={config.base_url + "/tech/dashboard/#tables"}>Tables</a>
<a href={config.base_url + "/tech/dashboard/#operations"}>Operations</a>
</div>
<div className="sitemap-group">
<h5>
Expand Down Expand Up @@ -114,16 +114,15 @@ export default ({
</section>
</footer>

<script
type="text/javascript"
src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"
/>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>

<script type="text/javascript" src={config.base_url + "/vendor/scroller.js"} />
<script
dangerouslySetInnerHTML={{
__html: `
docsearch({
apiKey: '4709879ecaf211280c35079f7ebe052a',
appId: 'BQD9PBVIWN',
apiKey: '1866dee8e47cc3f926114008ed8f7756',
indexName: 'hkube',
inputSelector: '#algolia-search-input',
debug: false
Expand Down
8 changes: 4 additions & 4 deletions site/blog/rss.xml.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ export default function BlogRSS({ site }) {
return (
<feed>
<title>Blog | Hkube</title>
<link href="http://hkube.io/blog/" />
<id>http://hkube.io/blog/</id>
<link href="http://hkube.org/blog/" />
<id>http://hkube.org/blog/</id>
<updated>{new Date(posts[0].date).toISOString()}</updated>

{posts.map(post =>
<entry key={post.permalink}>
<title>{post.title}</title>
<link href={'http://hkube.io' + post.url} />
<id>http://hkube.io{post.url}</id>
<link href={'http://hkube.org' + post.url} />
<id>http://hkube.org{post.url}</id>
<updated>{new Date(post.date).toISOString()}</updated>
<summary>{post.title}</summary>
<content>{post.title}</content>
Expand Down
2 changes: 1 addition & 1 deletion site/learn/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Hkube support two types of APIs, Restful and Cli

### Restful API

Please check out the full Rest API [documentation](http://hkube.io/spec).
Please check out the full Rest API [documentation](http://hkube.org/spec).
Also check the [Swagger-UI](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/kube-HPC/hkube/master/core/api-server/api/rest-api/swagger.json).


Expand Down
4 changes: 2 additions & 2 deletions site/learn/Algorithms.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ The **data** argument contains the following keys:
- lastRunResult <Object>


If the response contains a buildId, it means that a build was triggered, and you can follow the [build status](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/kube-HPC/api-server/master/api/rest-api/swagger.json#/Webhooks/get_webhooks_status__jobId_)
If the response contains a buildId, it means that a build was triggered, and you can follow the [build status](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/kube-HPC/hkube/master/core/api-server/api/rest-api/swagger.json#/Webhooks/get_webhooks_status__jobId_)

You can do the same using our [API](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/kube-HPC/api-server/master/api/rest-api/swagger.json#/StoreAlgorithms/post_store_algorithms)
You can do the same using our [API](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/kube-HPC/hkube/master/core/api-server/api/rest-api/swagger.json#/StoreAlgorithms/post_store_algorithms)


## The long way
Expand Down
4 changes: 2 additions & 2 deletions site/learn/Debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ main()
| Name | Description |
|--|--|
|ALGORITHM_ENTRY_POINT|The name of the class you wrote implementing IAlgorithm.|
|WORKER_SOCKET_URL|path obtained from a the debug algorithm defined on hkube deployment. e.g. `ws://playground.hkube.io/hkube/debug/something`|
|WORKER_SOCKET_URL|path obtained from a the debug algorithm defined on hkube deployment. e.g. `ws://playground.hkube.org/hkube/debug/something`|

Instead of setting these environment variables, you can also add a config.properties file to the running classpath root directory and set these environment variable names as keys.

WORKER_SOCKET_URL=ws://playground.hkube.io/hkube/debug/something
WORKER_SOCKET_URL=ws://playground.hkube.org/hkube/debug/something
ALGORITHM_ENTRY_POINT=Algorithm

- **Program argument 'debug'**
Expand Down
4 changes: 2 additions & 2 deletions site/learn/IntroductionV2.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ next: /learn/advancedPipeline/
> In order to add algorithm manually to HKube, you need to wrap your algorithm with HKube. HKube already has a wrappers for `python`,`javaScript`, and `java`.
- Via a packaged file - You must pack your algorithm using
```Console
$ tar -zcvf MyAlgo.tar.gz *
tar -zcvf MyAlgo.tar.gz *
```
>To further elaborate, the "Packaged file" option requires a package containing all of the necessary files for the project to work, with your algorithms name serving as the "Entry point" in the wizard.
You may package all of your algorithms in one package, and choose different algorithm files as different "Entry Points", or choose to package each algorithm separately.
Expand Down Expand Up @@ -266,7 +266,7 @@ For more pipeline descriptor options, see [Advanced](../learn/advancedPipeline/)

#### Node dependencies - Legend

HKube allows special [signs](http://hkube.io/learn/execution/#batch) in node `input` for defining the pipeline execution flow.
HKube allows special [signs](http://hkube.org/learn/execution/#batch) in node `input` for defining the pipeline execution flow.

In our case we used:

Expand Down
2 changes: 1 addition & 1 deletion site/learn/openshift.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The openshift cluster need to support dynamic storage provisioning
These instructions are for helm v3.
1. add hkube helm repo
```console
helm repo add hkube http://hkube.io/helm/
helm repo add hkube http://hkube.org/helm/
```
2. set env for username (developer in this example)
```export USERNAME=developer```
Expand Down
2 changes: 1 addition & 1 deletion site/learn/openshift_old.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ next: /learn/api/
1. add hkube helm repo

```console
helm repo add hkube http://hkube.io/helm/
helm repo add hkube http://hkube.org/helm/
```

### general setup
Expand Down
8 changes: 4 additions & 4 deletions site/tech/dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ permalink: /tech/dashboard/

Dashboard is an implementation of **Hkube Restful API**.

> Check Full Rest API [documentation](http://hkube.io/spec), and
> [Swagger-UI](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/kube-HPC/api-server/master/api/rest-api/swagger.json).
> Check Full Rest API [documentation](http://hkube.org/spec), and
> [Swagger-UI](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/kube-HPC/hkube/master/core/api-server/api/rest-api/swagger.json).
Use Dashboard for **deploying** and **monitoring** user
[algorithms](http://hkube.io/learn/algorithms/)
and [pipelines](http://hkube.io/learn/pipelines/).
[algorithms](http://hkube.org/learn/algorithms/)
and [pipelines](http://hkube.org/learn/pipelines/).

### Accessing the Dashboard UI

Expand Down

0 comments on commit 16ca461

Please sign in to comment.