Skip to content

Commit ebfaa95

Browse files
author
Kairo de Araujo
committed
Fix typos, wrong date and release details
This commit fix typos across the project, license year, and some version wrong information. Signed-off-by: Kairo de Araujo <[email protected]>
1 parent 923f390 commit ebfaa95

19 files changed

+27
-27
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@ tern reports can take a while to be generated.
2323
sequenceDiagram
2424
participant User
2525
participant API
26-
participant Term
26+
participant Tern
2727
User->>API: GET /api/v1/version
2828
API-->>User: 200 OK, JSON with version data
2929
User->>API: GET /api/v1/reports
3030
API-->>User: 200 OK, JSON with request id
3131
User->>API: GET /api/v1/reports/status
3232
API-->>User: 200 OK, JSON with status RUNNING
33-
API->>Term: Process the request caling asynchronous
34-
Term->>Term: Processing
33+
API->>Tern: Process the request caling asynchronous
34+
Tern->>Tern: Processing
3535
loop
3636
User->>API: GET /api/v1/reports/status
37-
Term->>Term: Processing
37+
Tern->>Tern: Processing
3838
API-->>User: 200 OK, JSON with status RUNNING or UNKOWN
3939
end
40-
Term->>API: Provides the answer for the id
40+
Tern->>API: Provides the answer for the id
4141
User->>API: GET /api/v1/reports/status
4242
API-->>User: 200 OK, JSON with status FAILED with error or DONE with report
4343
```

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (c) 2019 VMware, Inc. All Rights Reserved.
3+
# Copyright (c) 2022 VMware, Inc. All Rights Reserved.
44
# SPDX-License-Identifier: BSD-2-Clause
55
import json
66
import logging
77

88
from flask_restx import Api
99

1010
from tern_api import __version__, tern_api
11-
from tern_api.api.v1.commom_models import api_models_namespace
11+
from tern_api.api.v1.common_models import api_models_namespace
1212
from tern_api.api.v1.reports import ns as report_v1
1313
from tern_api.api.v1.version import ns as version_v1
1414

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
4-
# Copyright (c) 2019 VMware, Inc. All Rights Reserved.
4+
# Copyright (c) 2022 VMware, Inc. All Rights Reserved.
55
# SPDX-License-Identifier: BSD-2-Clause
66
from setuptools import find_packages, setup
77

88
setup(
99
name="tern-rest-api",
10-
version="1.0.0",
10+
version="0.0.1",
1111
url="https://github.com/tern/tern-rest-api",
1212
author="VMware Inc",
1313
author_email="",

tern_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (c) 2019 VMware, Inc. All Rights Reserved.
3+
# Copyright (c) 2022 VMware, Inc. All Rights Reserved.
44
# SPDX-License-Identifier: BSD-2-Clause
55
from flask import Flask
66

tern_api/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (c) 2019 VMware, Inc. All Rights Reserved.
3+
# Copyright (c) 2022 VMware, Inc. All Rights Reserved.
44
# SPDX-License-Identifier: BSD-2-Clause
55
version = "0.0.1-dev"

tern_api/api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (c) 2019 VMware, Inc. All Rights Reserved.
3+
# Copyright (c) 2022 VMware, Inc. All Rights Reserved.
44
# SPDX-License-Identifier: BSD-2-Clause

tern_api/api/v1/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (c) 2019 VMware, Inc. All Rights Reserved.
3+
# Copyright (c) 2022 VMware, Inc. All Rights Reserved.
44
# SPDX-License-Identifier: BSD-2-Clause

tern_api/api/v1/commom_models.py renamed to tern_api/api/v1/common_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (c) 2019 VMware, Inc. All Rights Reserved.
3+
# Copyright (c) 2022 VMware, Inc. All Rights Reserved.
44
# SPDX-License-Identifier: BSD-2-Clause
55
from flask_restx import Namespace, fields
66

tern_api/api/v1/reports.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (c) 2019 VMware, Inc. All Rights Reserved.
3+
# Copyright (c) 2022 VMware, Inc. All Rights Reserved.
44
# SPDX-License-Identifier: BSD-2-Clause
55
from flask_restx import Namespace, Resource, fields
66

7-
from tern_api.api.v1.commom_models import (
7+
from tern_api.api.v1.common_models import (
88
async_response_model,
99
error_model,
1010
report_model,

tern_api/api/v1/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Copyright (c) 2019 VMware, Inc. All Rights Reserved.
3+
# Copyright (c) 2022 VMware, Inc. All Rights Reserved.
44
# SPDX-License-Identifier: BSD-2-Clause
55
from flask_restx import Namespace, Resource, fields
66

7-
from tern_api.api.v1.commom_models import error_model
7+
from tern_api.api.v1.common_models import error_model
88
from tern_api.version import get_version
99

1010
ns = Namespace("/version", description="Tern REST API Version")

0 commit comments

Comments
 (0)