Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: continue updating repo links and corrections #14

Merged
merged 2 commits into from
Sep 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Merge

on:
pull_request:
workflow_run:
workflows: [PR Closed]
types: [completed]
Expand Down Expand Up @@ -83,11 +82,11 @@ jobs:
name: [quarkus, fiber, fastapi]
include:
- name: quarkus
baseUrl: https://quickstart-openshift-test-backend-java.apps.silver.devops.gov.bc.ca
baseUrl: https://quickstart-openshift-backends-test-backend-java.apps.silver.devops.gov.bc.ca
- name: fiber
baseUrl: https://quickstart-openshift-test-backend-go.apps.silver.devops.gov.bc.ca
baseUrl: https://quickstart-openshift-backends-test-backend-go.apps.silver.devops.gov.bc.ca
- name: fastapi
baseUrl: https://quickstart-openshift-test-backend-py.apps.silver.devops.gov.bc.ca
baseUrl: https://quickstart-openshift-backends-test-backend-py.apps.silver.devops.gov.bc.ca
steps:
- uses: actions/checkout@v4
name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

## OpenShift, Go, Java, Python

These are pluggable backends intended for use with the [QuickStart for Openshift](https://github.com/bcgov/quickstart-openshift), which defaults to JavaScript/TypeScripts. They follow the same patterns and can be copied over.
These are pluggable backends intended for use with the [QuickStart for Openshift](https://github.com/bcgov/quickstart-openshift-backends), which defaults to JavaScript/TypeScripts. They follow the same patterns and can be copied over.

* Pluggable backends:
* Backend: Java, Quarkus, Cloud Native
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ This product currently has no support and is experimental. That could change in

## Reporting a Vulnerability

Please report any issues or vulerabilities with an [issue](https://github.com/bcgov/quickstart-openshift/issues).
Please report any issues or vulerabilities with an [issue](https://github.com/bcgov/quickstart-openshift-backends/issues).
2 changes: 1 addition & 1 deletion backend-go/go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/bcgov/quickstart-openshift/backend-go
module github.com/bcgov/quickstart-openshift-backends/backend-go

go 1.21

Expand Down
6 changes: 3 additions & 3 deletions backend-go/main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package main

import (
_ "github.com/bcgov/quickstart-openshift/backend-go/docs"
"github.com/bcgov/quickstart-openshift/backend-go/src"
"github.com/bcgov/quickstart-openshift/backend-go/src/v1/structs"
_ "github.com/bcgov/quickstart-openshift-backends/backend-go/docs"
"github.com/bcgov/quickstart-openshift-backends/backend-go/src"
"github.com/bcgov/quickstart-openshift-backends/backend-go/src/v1/structs"
"github.com/devfeel/mapper"
_ "github.com/golang-migrate/migrate/v4/database/postgres"
_ "github.com/golang-migrate/migrate/v4/source/file"
Expand Down
6 changes: 3 additions & 3 deletions backend-go/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Template
parameters:
- name: NAME
description: Module name
value: quickstart-openshift
value: quickstart-openshift-backends
- name: COMPONENT
description: Component name
value: backend-go
Expand Down Expand Up @@ -45,10 +45,10 @@ parameters:
value: bcgov
- name: PROMOTE
description: Image (namespace/name:tag) to promote/import
value: bcgov/quickstart-openshift/backend-go:test
value: bcgov/quickstart-openshift-backends/backend-go:test
- name: PROMOTE_MIGRATION
description: Image (namespace/name:tag) for migration to promote/import
value: bcgov/quickstart-openshift/migrations-go:test
value: bcgov/quickstart-openshift-backends/migrations-go:test
- name: COMPONENT_DB_MIGRATION
description: Component name for database migrations
value: migrations-go
Expand Down
6 changes: 3 additions & 3 deletions backend-go/src/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package src

import (
"fmt"
_ "github.com/bcgov/quickstart-openshift/backend-go/docs"
"github.com/bcgov/quickstart-openshift/backend-go/src/database"
"github.com/bcgov/quickstart-openshift/backend-go/src/v1/routes"
_ "github.com/bcgov/quickstart-openshift-backends/backend-go/docs"
"github.com/bcgov/quickstart-openshift-backends/backend-go/src/database"
"github.com/bcgov/quickstart-openshift-backends/backend-go/src/v1/routes"
"github.com/gofiber/fiber/v2"
"github.com/gofiber/fiber/v2/middleware/cors"
"github.com/gofiber/fiber/v2/middleware/favicon"
Expand Down
2 changes: 1 addition & 1 deletion backend-go/src/database/connections.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package database

import (
"fmt"
"github.com/bcgov/quickstart-openshift/backend-go/src/utils"
"github.com/bcgov/quickstart-openshift-backends/backend-go/src/utils"
"gorm.io/driver/postgres"
"gorm.io/gorm"
"strconv"
Expand Down
2 changes: 1 addition & 1 deletion backend-go/src/v1/repositories/user-repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package repositories

import (
"errors"
"github.com/bcgov/quickstart-openshift/backend-go/src/v1/entities"
"github.com/bcgov/quickstart-openshift-backends/backend-go/src/v1/entities"
"gorm.io/gorm"
)

Expand Down
2 changes: 1 addition & 1 deletion backend-go/src/v1/routes/user-routes.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package routes

import (
"github.com/bcgov/quickstart-openshift/backend-go/src/v1/services"
"github.com/bcgov/quickstart-openshift-backends/backend-go/src/v1/services"
"github.com/gofiber/fiber/v2"
)

Expand Down
8 changes: 4 additions & 4 deletions backend-go/src/v1/services/user-service.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"strconv"
"strings"

"github.com/bcgov/quickstart-openshift/backend-go/src/database"
"github.com/bcgov/quickstart-openshift/backend-go/src/v1/entities"
"github.com/bcgov/quickstart-openshift/backend-go/src/v1/repositories"
"github.com/bcgov/quickstart-openshift/backend-go/src/v1/structs"
"github.com/bcgov/quickstart-openshift-backends/backend-go/src/database"
"github.com/bcgov/quickstart-openshift-backends/backend-go/src/v1/entities"
"github.com/bcgov/quickstart-openshift-backends/backend-go/src/v1/repositories"
"github.com/bcgov/quickstart-openshift-backends/backend-go/src/v1/structs"
"github.com/devfeel/mapper"
"github.com/gofiber/fiber/v2"
"gorm.io/gorm"
Expand Down
4 changes: 2 additions & 2 deletions backend-java/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# quickstart-openshift
# quickstart-openshift-backends

This project uses Quarkus, the Supersonic Subatomic Java Framework.

Expand Down Expand Up @@ -47,7 +47,7 @@ Or, if you don't have GraalVM installed, you can run the native executable build
./mvnw package -Pnative -Dquarkus.native.container-build=true
```

You can then execute your native executable with: `./target/quickstart-openshift-1.0.0-SNAPSHOT-runner`
You can then execute your native executable with: `./target/quickstart-openshift-backends-1.0.0-SNAPSHOT-runner`

If you want to learn more about building native executables, please consult https://quarkus.io/guides/maven-tooling.

Expand Down
4 changes: 2 additions & 2 deletions backend-java/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Template
parameters:
- name: NAME
description: Module name
value: quickstart-openshift
value: quickstart-openshift-backends
- name: COMPONENT
description: Component name
value: backend-java
Expand Down Expand Up @@ -37,7 +37,7 @@ parameters:
value: bcgov
- name: PROMOTE
description: Image (namespace/name:tag) to promote/import
value: bcgov/quickstart-openshift/backend-java:test
value: bcgov/quickstart-openshift-backends/backend-java:test
objects:
- apiVersion: v1
kind: ImageStream
Expand Down
2 changes: 1 addition & 1 deletion backend-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>ca.bc.gov.nrs.api</groupId>
<artifactId>quickstart-openshift</artifactId>
<artifactId>quickstart-openshift-backends</artifactId>
<version>1.0.0-SNAPSHOT</version>
<properties>
<compiler-plugin.version>3.11.0</compiler-plugin.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>quickstart-openshift - 1.0.0-SNAPSHOT</title>
<title>quickstart-openshift-backends - 1.0.0-SNAPSHOT</title>
<style>
body {
margin: 0;
Expand Down Expand Up @@ -236,7 +236,7 @@
<h5>Application</h5>
<ul>
<li>GroupId: <code>ca.bc.gov.nrs.api</code></li>
<li>ArtifactId: <code>quickstart-openshift</code></li>
<li>ArtifactId: <code>quickstart-openshift-backends</code></li>
<li>Version: <code>1.0.0-SNAPSHOT</code></li>
<li>Quarkus Version: <code>3.0.4.Final</code></li>
</ul>
Expand Down
6 changes: 3 additions & 3 deletions backend-py/openshift.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Template
parameters:
- name: NAME
description: Module name
value: quickstart-openshift
value: quickstart-openshift-backends
- name: COMPONENT
description: Component name
value: backend-py
Expand Down Expand Up @@ -45,10 +45,10 @@ parameters:
value: bcgov
- name: PROMOTE
description: Image (namespace/name:tag) to promote/import
value: bcgov/quickstart-openshift/backend-py:test
value: bcgov/quickstart-openshift-backends/backend-py:test
- name: PROMOTE_MIGRATION
description: Image (namespace/name:tag) for migration to promote/import
value: bcgov/quickstart-openshift/migrations-py:test
value: bcgov/quickstart-openshift-backends/migrations-py:test
- name: COMPONENT_DB_MIGRATION
description: Component name for database migrations
value: migrations-py
Expand Down
Loading