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

Lex v2 integration #17

Merged
merged 61 commits into from
Jul 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
aa1d4eb
In progress
tehzwen Jun 7, 2021
8ace824
In progress
tehzwen Jun 8, 2021
6553557
Darko in progress...
darkodosenovic Jun 9, 2021
a87b247
Work in Progress
tehzwen Jun 10, 2021
2ce1a01
Work in Progress
darkodosenovic Jun 10, 2021
29f6de5
Work in progress
tehzwen Jun 11, 2021
fe5c5be
Lex-V2-Integration-Work
tehzwen Jun 23, 2021
32e86b3
Organize V1/V2/CDK Folders
tehzwen Jun 25, 2021
cfb4d7b
Update Readme
tehzwen Jun 25, 2021
64c8107
Add linting
tehzwen Jun 25, 2021
aceaa60
feat(test-coverage): Bot V2 Handler
Jun 28, 2021
f2e6484
Merge pull request #2 from amaabca/test-coverage
tehzwen Jun 28, 2021
5ffdfcc
Use NodejsFunction for handlers
tehzwen Jun 28, 2021
55c256e
chore(test-coverage): Bot V2 Handler
Jun 29, 2021
fb9a7cb
chore(test-coverage): Bot V2 Handler
Jun 30, 2021
e0bfcf1
Merge pull request #3 from amaabca/test-coverage-bot-handler
Jun 30, 2021
33cb782
Adding test for bot-alias.
darkodosenovic Jun 30, 2021
cda485f
Merge branch 'lex-v2-integration' into lex-v2-integration-test-alias
darkodosenovic Jun 30, 2021
3052832
chore(test-coverage): Intent V2 Handler
tehzwen Jun 30, 2021
c795e18
Refactoring tests for bot-alias.
darkodosenovic Jun 30, 2021
c2799a5
WIP: adding bot-alias tests.
darkodosenovic Jun 30, 2021
8aba7fb
chore(test-coverage): Slot Resources
Jul 2, 2021
caf2da5
chore(test-coverage): Slot Resources
Jul 2, 2021
166d18b
Merge pull request #5 from amaabca/test-coverage-slot
Jul 2, 2021
75e68c2
Resolve conflict.
darkodosenovic Jul 5, 2021
6b22a9e
Merge branch 'lex-v2-integration' into test-coverage-v2-bot-intent
tehzwen Jul 5, 2021
c8342b3
Merge pull request #4 from amaabca/test-coverage-v2-bot-intent
tehzwen Jul 5, 2021
f42ce07
chore(test-coverage): Slot Type Resources
Jul 2, 2021
b6b96c2
chore(test-coverage): Slot Type Resources
Jul 5, 2021
ebc8ab4
Merge pull request #6 from amaabca/test-coverage-slot-type
Jul 5, 2021
4a39abb
Update bot-alias tests to 100%.
darkodosenovic Jul 5, 2021
45954dc
Refactoring bot-alias handler to be consistent with other handlers.
darkodosenovic Jul 5, 2021
819a142
Resolving conflict.
darkodosenovic Jul 5, 2021
5bc831d
chore(test-coverage): Intent Priority Resources
tehzwen Jul 5, 2021
4d468b0
Merge branch 'lex-v2-integration' of github.com:amaabca/aws-lex-custo…
tehzwen Jul 5, 2021
9ef6524
Merge pull request #7 from amaabca/lex-v2-integration-test-alias
darkodosenovic Jul 5, 2021
b8e65df
Adding 100% coverage fro bot locale handler v2.
darkodosenovic Jul 5, 2021
0f702be
Refactor lex-bot-locale handler to be consistent with the other handl…
darkodosenovic Jul 5, 2021
3afdc1d
Merge pull request #9 from amaabca/lex-v2-integration-bot-locale-test
darkodosenovic Jul 6, 2021
5003574
Merge pull request #8 from amaabca/test-coverage-v2-intent-priority
tehzwen Jul 6, 2021
8526e6b
Add V2 bot version handler test.
darkodosenovic Jul 6, 2021
b61b320
Merge pull request #10 from amaabca/lex-v2-integration-bot-version-test
darkodosenovic Jul 6, 2021
8cf6a51
chore(test-coverage): CDK Custom Resource Class Testing
tehzwen Jul 6, 2021
73cbc0a
Merge branch 'lex-v2-integration' of github.com:amaabca/aws-lex-custo…
tehzwen Jul 6, 2021
3c2f83d
Merge pull request #11 from amaabca/test-coverage-cdk-classes-bot-ver…
tehzwen Jul 6, 2021
b46e807
Delete V1 Resources
tehzwen Jul 6, 2021
b233c32
Merge pull request #12 from amaabca/v1-removal
tehzwen Jul 6, 2021
658d6e1
chore(yarn): Use Yarn as Dev Package Manager
Jul 7, 2021
00153bf
Merge pull request #13 from amaabca/yarnify
Jul 7, 2021
1ba29bb
chore(testing): CDK tests for stacks
tehzwen Jul 7, 2021
e35a50d
Merge branch 'lex-v2-integration' of github.com:amaabca/aws-lex-custo…
tehzwen Jul 7, 2021
7cec717
Merge Changes, Add CDK Assert
tehzwen Jul 7, 2021
78e3c00
Fix License Change
tehzwen Jul 7, 2021
61f6e9c
Merge pull request #15 from amaabca/testing-cdk-stack
tehzwen Jul 7, 2021
3fe00f3
ADO-25882 - Lex V2 Provisioning Tooling
zoiec Jul 7, 2021
63741d4
fix(export): Fix Function Export Name
Jul 7, 2021
277c3e8
Merge pull request #14 from amaabca/lex-v2-integration-eslint
zoiec Jul 7, 2021
f5515de
ADO-25882 Fix lint issues
zoiec Jul 7, 2021
ab423e2
Merge pull request #16 from amaabca/lex-v2-integration-fix-lint-issue
zoiec Jul 7, 2021
4a3e0ab
chore(fixtures): Remove Names
Jul 7, 2021
87306e2
Address Comments on PR
tehzwen Jul 8, 2021
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
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
lib
31 changes: 31 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"env": {
"browser": true,
"node": true
},
"root": true,
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended"
],
"overrides": [
{
"files": ["**/*.ts", "**/*.tsx"],
"env": { "browser": true, "es6": true, "node": true },
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"rules": {
"indent": ["error", 2, { "SwitchCase": 1 }],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"comma-dangle": ["error", "always-multiline"],
"@typescript-eslint/no-explicit-any": 0
}
}
]
}
36 changes: 36 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Unit Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
- lex-v2-integration
jobs:
unit-tests:
defaults:
run:
shell: bash
working-directory: ${{ github.workspace }}
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 100
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('../yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('../yarn.lock') }}
- name: Yarn Install
run: yarn install
- name: EsLint
run: yarn lint
- name: Run Tests
run: yarn test --color --verbose true --silent
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
lib
.DS_Store
coverage
23 changes: 23 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
=====================
The MIT License (MIT)
=====================

Copyright (c) 2021 Alberta Motor Association

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Loading