Skip to content

Commit

Permalink
Update endpoint-redirect name to be consistent with JetBrains-based IDEs
Browse files Browse the repository at this point in the history
Signed-off-by: Vladyslav Zhukovskyi <[email protected]>
  • Loading branch information
vzhukovs committed Jun 23, 2022
1 parent 3c53116 commit 485c9df
Show file tree
Hide file tree
Showing 23 changed files with 67 additions and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fun isPublicDevfilePortOffline(endpoint: Endpoint?): Boolean {
}

fun isNameStartsFromRedirectPattern(name: String): Boolean {
return name.startsWith("code-redirect-")
return name.startsWith("intellij-redirect-")
}

fun isPathNullOrEmpty(path: String?): Boolean {
Expand Down
6 changes: 3 additions & 3 deletions devfiles/latest/che-idea/latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/latest/che-pycharm/latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/next/che-idea/2020.3-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/next/che-idea/2021.1-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/next/che-idea/2021.2-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/next/che-idea/2021.3-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/next/che-idea/2022.1-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/next/che-pycharm/2020.3-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/next/che-pycharm/2021.1-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/next/che-pycharm/2021.2-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/next/che-pycharm/2021.3-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/next/che-pycharm/2022.1-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/released/che-idea/2020.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/released/che-idea/2021.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
6 changes: 3 additions & 3 deletions devfiles/released/che-idea/2021.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,21 @@ components:
path: '/?backgroundColor=434343&wss'
secure: false
protocol: http
- name: code-redirect-1
- name: intellij-redirect-1
targetPort: 13131
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-2
- name: intellij-redirect-2
targetPort: 13132
exposure: public
protocol: http
attributes:
discoverable: false
urlRewriteSupported: true
- name: code-redirect-3
- name: intellij-redirect-3
targetPort: 13133
exposure: public
protocol: http
Expand Down
Loading

0 comments on commit 485c9df

Please sign in to comment.