Skip to content

Commit

Permalink
Merge pull request #125 from pwei1018/main
Browse files Browse the repository at this point in the history
Fixed a typo.
  • Loading branch information
pwei1018 authored Jul 17, 2024
2 parents 4a9d497 + 8c14085 commit 6a182fa
Show file tree
Hide file tree
Showing 22 changed files with 31 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ on:
- prod

jobs:
devloper-connect-api-cd:
developer-connect-api-cd:
uses: bcgov/bcregistry-sre/.github/workflows/backend-cd.yaml@main
with:
target: ${{ inputs.target }}
app_name: "devloper-connect-api"
app_name: "developer-connect-api"
working_directory: "./api"
secrets:
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ defaults:
working-directory: ./api

jobs:
devloper-connect-api-ci:
developer-connect-api-ci:
uses: bcgov/bcregistry-sre/.github/workflows/backend-ci.yaml@main
with:
app_name: devloper-connect-api"
app_name: developer-connect-api"
working_directory: "./api"
codecov_flag: "devloperconnectapi"
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ on:
- prod

jobs:
devloper-connect-ui-cd:
developer-connect-ui-cd:
uses: bcgov/bcregistry-sre/.github/workflows/frontend-cd.yaml@main
with:
target: ${{ inputs.target }}
app_name: "devloper-connect-ui"
app_name: "developer-connect-ui"
working_directory: "./web/site"
secrets:
WORKLOAD_IDENTIFY_POOLS_PROVIDER: ${{ secrets.WORKLOAD_IDENTIFY_POOLS_PROVIDER }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ defaults:
working-directory: ./web/site

jobs:
devloper-connect-ui-ci:
developer-connect-ui-ci:
uses: bcgov/bcregistry-sre/.github/workflows/frontend-ci.yaml@main
with:
app_name: "devloper-connect-ui"
app_name: "developer-connect-ui"
working_directory: "./web/site"
codecov_flag: "devloperconnectui"
18 changes: 9 additions & 9 deletions api/devops/gcp/clouddeploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
apiVersion: deploy.cloud.google.com/v1
kind: DeliveryPipeline
metadata:
name: devloper-connect-api-pipeline
name: developer-connect-api-pipeline
description: Deployment pipeline
serialPipeline:
stages:
Expand All @@ -28,8 +28,8 @@ serialPipeline:
- values:
deploy-env: "development"
deploy-project-id: "gtksf3-dev"
service-name: "devloper-connect-api-dev"
container-name: "devloper-connect-api-dev"
service-name: "developer-connect-api-dev"
container-name: "developer-connect-api-dev"
cloudsql-instances: ""
service-account: "[email protected]"
- targetId: gtksf3-test
Expand All @@ -41,8 +41,8 @@ serialPipeline:
- values:
deploy-env: "test"
deploy-project-id: "gtksf3-test"
service-name: "devloper-connect-api-test"
container-name: "devloper-connect-api-test"
service-name: "developer-connect-api-test"
container-name: "developer-connect-api-test"
app-env: "test"
cloudsql-instances: ""
service-account: "[email protected]"
Expand All @@ -55,8 +55,8 @@ serialPipeline:
- values:
deploy-env: "sandbox"
deploy-project-id: "gtksf3-tools"
service-name: "devloper-connect-api-sandbox"
container-name: "devloper-connect-api-sandbox"
service-name: "developer-connect-api-sandbox"
container-name: "developer-connect-api-sandbox"
cloudsql-instances: ""
service-account: "[email protected]"
- targetId: gtksf3-prod
Expand All @@ -68,8 +68,8 @@ serialPipeline:
- values:
deploy-env: "production"
deploy-project-id: "gtksf3-prod"
service-name: "devloper-connect-api-prod"
container-name: "devloper-connect-api-prod"
service-name: "developer-connect-api-prod"
container-name: "developer-connect-api-prod"
cloudsql-instances: ""
service-account: "[email protected]"
max-scale: "10"
Expand Down
4 changes: 2 additions & 2 deletions api/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tool.poetry]
name = "devloper-connect-api"
name = "developer-connect-api"
version = "1.0.0"
description = ""
authors = ["thorwolpert <[email protected]>"]
license = "BSD 3-Clause"
readme = "README.md"
packages = [{include = "devloper-connect-api", from = "src"}]
packages = [{include = "developer-connect-api", from = "src"}]

[tool.poetry.dependencies]
python = "^3.12.4"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
from flask import has_app_context
from flask import Flask

import devloper-connect-api
import developer-connect-api


class Flags:
Expand Down Expand Up @@ -115,9 +115,9 @@ def get_anonymous_user():
return {"key": "anonymous"}

@staticmethod
def flag_user(user: devloper-connect-api.models.User, account_id: int = None):
def flag_user(user: developer-connect-api.models.User, account_id: int = None):
"""Convert User into a Flag user dict."""
if not isinstance(user, devloper-connect-api.models.User):
if not isinstance(user, developer-connect-api.models.User):
return None

_user = {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
from flask_cors import cross_origin

from http import HTTPStatus
from devloper-connect-api.common.auth import jwt as _jwt
from developer-connect-api.common.auth import jwt as _jwt
from auth_api.exceptions import BusinessException
from auth_api.schemas import utils as schema_utils
from devloper-connect-api.services.api_gateway import ApiGateway as ApiGatewayService
from developer-connect-api.services.api_gateway import ApiGateway as ApiGatewayService
from auth_api.utils.roles import Role

bp = Blueprint("KEYS", __name__, url_prefix=f"/v1/orgs/<int:org_id>/api-keys")
Expand Down
8 changes: 4 additions & 4 deletions api/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
from ldclient.integrations.test_data import TestData
from sqlalchemy import event, text

from devloper-connect-api import create_app
from devloper-connect-api import jwt as _jwt
from devloper-connect-api.models import db as _db
from devloper-connect-api.config import Testing
from developer-connect-api import create_app
from developer-connect-api import jwt as _jwt
from developer-connect-api.models import db as _db
from developer-connect-api.config import Testing

def create_test_db(user: str = None,
password: str = None,
Expand Down
2 changes: 1 addition & 1 deletion api/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"""
import os

from devloper-connect-api import create_app
from developer-connect-api import create_app

app = create_app() # pylint: disable=invalid-name

Expand Down
2 changes: 1 addition & 1 deletion web/site/firebase.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"hosting":
{
"site": "devloper-connect-dev",
"site": "developer-connect-dev",
"public": "dist",
"ignore": ["**/devops/**", "**/.*", "**/node_modules/**"],
"rewrites": [
Expand Down
2 changes: 1 addition & 1 deletion web/site/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "devloper-connect-site",
"name": "developer-connect-site",
"private": true,
"type": "module",
"version": "1.0.3",
Expand Down

0 comments on commit 6a182fa

Please sign in to comment.