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

Merging dev into main for v1.47.0 #1255

Merged
merged 246 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
246 commits
Select commit Hold shift + click to select a range
e9fd70d
Bump golang.org/x/net from 0.22.0 to 0.23.0 (#951)
dependabot[bot] Apr 4, 2024
393a88f
Add team to custom resolver (#950)
HemanthDogiparthi12 Apr 4, 2024
c4bc05b
Devtooling 432: Refactor Conditional Group Routing Rules into its own…
dginty4 Apr 4, 2024
8c06517
Changing target branch of dependabot PRs to dev (#956)
charliecon Apr 7, 2024
30bff7e
Fix User Resource Panics (#949)
HemanthDogiparthi12 Apr 8, 2024
cf3a00c
moving changes (#964)
kavinbalagen Apr 9, 2024
3a64074
Reverting conditional group routing resoure (#965)
dginty4 Apr 9, 2024
6ae44b5
Remove use_supported_content_profile (#962)
HemanthDogiparthi12 Apr 9, 2024
57cd942
bug/ DEVTOOLING-516: Allow Multiple inputs for BYMONTHDAY and BYMONTH…
BrianMoyles Apr 10, 2024
755a023
Bug/devtooling-530: Fixing panic during export caused by MemberGroups…
charliecon Apr 10, 2024
a9758e7
DEVTOOLING-417: Removed the go:generate git restore docs/index.md tag…
carnellj-genesys Apr 10, 2024
3aa4587
avoiding infinite loop in flow data source read (#966)
charliecon Apr 10, 2024
2aa05f4
feat/Devtooling-448 oauth cred cache (#945)
carnellj-genesys Apr 10, 2024
1e5a4b9
Fixing go.mod and running go generate (#967)
charliecon Apr 10, 2024
d8c7021
feat/Devtooling-459: Added BuildAPIDiagnosticError function calls (#959)
BrianMoyles Apr 10, 2024
4ed6305
Fix for BotFlows dependencies (#961)
HemanthDogiparthi12 Apr 11, 2024
9ab0d72
feat/Devtooling-531: Add proxy and cache to routing queue (#958)
dginty4 Apr 11, 2024
188f11b
Fix Export cyclic deps (#968)
HemanthDogiparthi12 Apr 12, 2024
7cdeea4
Added refactor label to pr-labeler-config
BrianMoyles Apr 15, 2024
a2f9e7d
Feat/devtooling-499: Added getAll Functionality to ResponseManagement…
BrianMoyles Apr 15, 2024
6fab5ef
Feat/devtooling-177: Refactored orgAuthorization_pairing (#975)
BrianMoyles Apr 15, 2024
e78c066
using resource mutexes in init_test files & linting errors (#973)
charliecon Apr 15, 2024
3d40976
Feature/devtooling 63 (#974)
HemanthDogiparthi12 Apr 16, 2024
a657dbb
Feature/devtooling 63 (#978)
HemanthDogiparthi12 Apr 16, 2024
be176c9
Feat/add flow log level resource (#948)
ben-howarth-genesys Apr 19, 2024
e3252dd
NO-JIRA: Small Change to flow log level (#984)
dginty4 Apr 19, 2024
dcfa0b4
Merge hotfix changes on main into dev (#983)
charliecon Apr 19, 2024
b3a0951
Bump github.com/hashicorp/terraform-plugin-docs from 0.18.0 to 0.19.1…
dependabot[bot] Apr 23, 2024
93b880c
Devtooling 432: Conditonal Group Routing (#970)
dginty4 Apr 23, 2024
ca5d1fa
bug/Devtooling-458: media retention policy creation failing with erro…
BrianMoyles Apr 23, 2024
18f5901
Getting rid of go vet warning about copying a lock value to a variabl…
charliecon Apr 23, 2024
e2b103b
No jira: util function for getting cursor value from next uri (#990)
charliecon Apr 23, 2024
b6f2ef9
Fix acceptance tests (#979)
monishapadmavathi Apr 24, 2024
352cefe
Bump hashicorp/setup-terraform from 3.0.0 to 3.1.0 (#995)
dependabot[bot] Apr 24, 2024
f15c683
Improvise exclude attributes to Regex (#988)
HemanthDogiparthi12 Apr 24, 2024
85673a6
Fix Media call back Read Attributes (#987)
HemanthDogiparthi12 Apr 24, 2024
6a63efe
DEVTOOLING-445: User Roles not returning duplicate roles (#989)
dginty4 Apr 24, 2024
d95d869
feat/Devtooling 496: Routing queue Outbound email address independent…
dginty4 Apr 26, 2024
560b52a
bug/devtooling-498: [CX as Code] genesyscloud_outbound_settings expor…
BrianMoyles Apr 26, 2024
c056eb1
Update Export Guide (#971)
jenissabarrera Apr 26, 2024
3ef86ee
NO-JIRA: Fixing dev (#1000)
dginty4 Apr 29, 2024
8f2ee29
Fixing flow outcome description (#998)
dginty4 Apr 29, 2024
0f5a544
Devtooling 561 - Members not being added correctly to teams (#1001)
dginty4 Apr 29, 2024
51bf459
Fix Version Problem in WebDeployments (#997)
HemanthDogiparthi12 Apr 29, 2024
514afbc
no jira: Fixing merge conflicts on dev branch (#1009)
charliecon Apr 30, 2024
e858838
Merge branch 'main' into dev
charliecon May 1, 2024
cf87936
Bump github.com/hashicorp/terraform-plugin-docs from 0.19.1 to 0.19.2…
dependabot[bot] May 1, 2024
4b97b09
DEVTOOLING-352 - provider oauth credential rate limit exceeded (#1004)
dginty4 May 1, 2024
bea9d6c
Feat/devtooling 461 - WithRetries errors include improved logging (#1…
BrianMoyles May 3, 2024
c3e9b9b
Bump golang.org/x/net from 0.23.0 to 0.25.0 (#1017)
dependabot[bot] May 7, 2024
b513b62
Fix for issue 993 : Changed message_column to optional and add verifi…
TaisukChoi May 7, 2024
dfffb81
go generate (#1018)
charliecon May 7, 2024
3ff66d4
bug/devtooling 560 - Nil error in telephony_providers_edges_phone (#1…
BrianMoyles May 7, 2024
9b3e9bf
Revert "bug/devtooling 560 - Nil error in telephony_providers_edges_p…
BrianMoyles May 7, 2024
92d3e7c
bug/devtooling 560 - CX as Code crash when creating phones (#1020)
BrianMoyles May 8, 2024
9336970
feat/devtooling 579 - Improved Logging for Non-API errors (#1021)
BrianMoyles May 8, 2024
1de6de9
Bump hashicorp/setup-terraform from 3.1.0 to 3.1.1 (#1024)
dependabot[bot] May 8, 2024
6236db7
bug/devtooling 362 - Evaluation forms incorrectly assigning published…
BrianMoyles May 8, 2024
f7b040a
Bug/devtooling 444: Custom resolver function for outbound campaign sc…
charliecon May 8, 2024
b546063
Bump github.com/nyaruka/phonenumbers from 1.3.4 to 1.3.5 (#1026)
dependabot[bot] May 9, 2024
34a964b
Devtooling-162: Refactored idp salesforce (#999)
dginty4 May 9, 2024
1424e8f
Changed Build Function Call to fix type difference (#1029)
BrianMoyles May 10, 2024
a099ce7
fixing test for published attribute (#1030)
BrianMoyles May 10, 2024
c6ec917
No jira: fixing up a few acceptance tests (#1031)
charliecon May 13, 2024
7661761
Fix routing queue (#1028)
HemanthDogiparthi12 May 13, 2024
554dc1b
README update (#1025)
charliecon May 13, 2024
702afaa
Pre-verify if the tfState is in sync with the exporter (#1027)
HemanthDogiparthi12 May 13, 2024
ec36867
Devtooling-591: Consistency Checker Refactor (#1032)
dginty4 May 13, 2024
c1a9abb
Feature/devtooling 589 1 (#1035)
HemanthDogiparthi12 May 13, 2024
302d9a7
Fix acceptance tests - TCA and Prod (#1033)
monishapadmavathi May 14, 2024
8fcd228
Bug/devtooling 597 - Routing email route test failing (#1039)
BrianMoyles May 15, 2024
7e49d48
Merge branch 'main' into dev
charliecon May 15, 2024
4443854
adding hotfix to pr labeler config file (#1042)
charliecon May 15, 2024
e338cb4
bug/DEVTOOLING-436 - Added cleanup function for webdeployments resour…
BrianMoyles May 15, 2024
2fc8289
Merge branch 'main' into dev
charliecon May 15, 2024
090d2bb
Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.33.0 to 2.34…
dependabot[bot] May 20, 2024
e052b97
Bug/devtooling 287 temp disable cchecker (#1037)
kavinbalagen May 20, 2024
7241738
Fixing up provider docs (#1046)
charliecon May 20, 2024
2e2847b
Fix Export Version problem (#1049)
HemanthDogiparthi12 May 21, 2024
263568b
Logging error in queue create/update instead of failing (#1050)
charliecon May 24, 2024
acb60f7
Refactor/devtooling 395 (#1044)
sureshperiyappan May 24, 2024
c5707a9
Report Generation & testcase fix (#1051)
monishapadmavathi May 27, 2024
079f75d
Add extra check for dependency resolution (#1052)
HemanthDogiparthi12 May 27, 2024
254254d
Devtooling 604: Infinite loop retrieving knowledge documents (#1053)
willjeuniaux-genesys May 27, 2024
ee0171b
Feat/COBROWSE-2404 add cobrowse config field (#1054)
Anpeople May 28, 2024
1e7802b
No jira: Fixing dev with go generate & go mod tidy (#1057)
charliecon May 28, 2024
976b4f0
DEVTOOLING-592: Changed team members logic (#1055)
dginty4 May 28, 2024
8e09d9a
Bump github.com/nyaruka/phonenumbers from 1.3.5 to 1.3.6 (#1056)
dependabot[bot] May 28, 2024
37a0b86
Feat/devtooling-477: Site Outbound Routes Resource (#1048)
dginty4 May 28, 2024
a91979c
No jira: fix dev (#1059)
charliecon May 28, 2024
3541827
Bump github.com/hashicorp/terraform-plugin-docs from 0.19.2 to 0.19.3…
dependabot[bot] May 30, 2024
1e61d26
Cache for Data Sources (#1064)
HemanthDogiparthi12 Jun 4, 2024
ed6e6b7
DEVTOOLING-603: Media recording poilicies missing from export (#1063)
dginty4 Jun 5, 2024
2765aa1
Bump golang.org/x/net from 0.25.0 to 0.26.0 (#1072)
dependabot[bot] Jun 5, 2024
36fda54
Bump github.com/hashicorp/terraform-plugin-docs from 0.19.3 to 0.19.4…
dependabot[bot] Jun 5, 2024
be240e6
Feat/devtooling 610 (#1065)
shrutisuryawanshigenesys Jun 6, 2024
e3d5c01
Fixing Tests By removing unsupported arguments (#1070)
BrianMoyles Jun 6, 2024
1745602
Fixing test (#1074)
dginty4 Jun 6, 2024
d681c87
Refactor/devtooling 156 (#1060)
shrutisuryawanshigenesys Jun 7, 2024
d244e6a
Bug/devtooling 584 (#1071)
kavinbalagen Jun 7, 2024
37df85e
fix api call strategy (#1075)
HemanthDogiparthi12 Jun 10, 2024
e188144
[JM-1457]: Add resource for journey views (#1067)
Rafat001 Jun 10, 2024
6dd0410
Fixes #1078 (#1079)
charliecon Jun 10, 2024
3f98821
Coverage Report and fixing tests (#1080)
monishapadmavathi Jun 10, 2024
65502f9
fixing go vet warnings/errors (#1081)
charliecon Jun 10, 2024
16285a8
refactored idp_okta resource (#1069)
shrutisuryawanshigenesys Jun 10, 2024
8fd5698
fix update issues for workType (#1076)
HemanthDogiparthi12 Jun 11, 2024
48698b9
Fix caching issue (#1082)
HemanthDogiparthi12 Jun 11, 2024
695efdd
Merge branch 'main' into dev
charliecon Jun 11, 2024
c89adcc
Merge branch 'main' into dev
charliecon Jun 11, 2024
2740f17
Feature/fix unit tests (#1090)
HemanthDogiparthi12 Jun 11, 2024
941c083
Merge branch 'main' into dev
charliecon Jun 11, 2024
95821f1
Merge branch 'main' into dev
charliecon Jun 13, 2024
5e53b21
fix exporter crash (#1101)
HemanthDogiparthi12 Jun 13, 2024
636a20d
added caching capabilities (#1088)
sureshperiyappan Jun 14, 2024
22659d5
Update Description (#1104)
HemanthDogiparthi12 Jun 17, 2024
1200096
[JM-1466]: Upgrade the platform client version (#1100)
Rafat001 Jun 18, 2024
a9f4257
Devtooling 501: Removing support for v1 and v1-http widget deployment…
charliecon Jun 18, 2024
397140d
refactor/Tidy up journey_segment resource tests/doc (#1103)
tsantos-genesys Jun 18, 2024
11d167a
Fix issues identified in DEVTOOLING-662 as a result of testing DEVTOO…
bbbco Jun 18, 2024
3ea8e24
Updating docs (#1110)
dginty4 Jun 18, 2024
cea8ce8
feat/devtooling 71: Outbound contact list contact resource (#1084)
charliecon Jun 18, 2024
dad02e4
DEVTOOLING-643 : Adds support for using sanitized names in export. (#…
bbbco Jun 18, 2024
6dc9c22
Bug/devtooling 659 (#1108)
kavinbalagen Jun 19, 2024
c4412f6
Bump github.com/hashicorp/hcl/v2 from 2.20.1 to 2.21.0 (#1113)
dependabot[bot] Jun 20, 2024
576e175
Feat/devtooling 187 - Refactor routing settings (#1089)
BrianMoyles Jun 20, 2024
933f02e
DEVTOOLING-601: Queue member assignment taking long time (#1107)
dginty4 Jun 20, 2024
b3d7234
Fixes #1086 + some minor refactoring (#1111)
charliecon Jun 20, 2024
8cc3bf4
Feat/devtooling 618 (#1083)
shrutisuryawanshigenesys Jun 20, 2024
02b93a8
commenting RefAttr in trunkbasesettings exporter to fix unit test (#1…
charliecon Jun 22, 2024
55d63ce
Merge unit tests & fix failing testcases (#1116)
monishapadmavathi Jun 24, 2024
f12909a
onholdprompt attribute added along with test case (#1114)
shrutisuryawanshigenesys Jun 24, 2024
5290a35
refactor/Devtooling-190 [routing_utilization] + Devtooling-400 [routi…
BrianMoyles Jun 24, 2024
6531e13
refactor/DEVTOOLING-158 idp_gsuite (#1099)
shrutisuryawanshigenesys Jun 25, 2024
525c6f8
Refactor/devtooling 160 idp_ping (#1102)
shrutisuryawanshigenesys Jun 25, 2024
4b3575e
Refactor/devtooling 157 - idp_generic (#1095)
shrutisuryawanshigenesys Jun 25, 2024
36b5b4e
Cleanup/Remove utilization label availability check / mentions of fea…
tsantos-genesys Jun 25, 2024
66d41dc
Bug/devtooling 681 - New attributes for IDP (#1122)
shrutisuryawanshigenesys Jun 26, 2024
ce2433e
Chore/Bump platform-client-sdk-go to v133 (#1119)
tsantos-genesys Jun 26, 2024
2a3b411
feat/COBROWSE-2427 pause field added (#1121)
Anpeople Jun 26, 2024
a490ebe
go mod tidy (#1126)
charliecon Jun 27, 2024
83762bb
added validation for ja-JP (#1127)
shrutisuryawanshigenesys Jun 27, 2024
23ffa1d
Cleanup/Use sdk to deal with utilization instead of direct public-api…
tsantos-genesys Jul 1, 2024
9da5440
Fixes DEVTOOLING-674 by allowing the sanitizeMap function to continue…
bbbco Jul 1, 2024
5d3d757
Add `make` command for generating docs (#1134)
bbbco Jul 1, 2024
fb72a00
Update latest language codes (#1130)
bbbco Jul 2, 2024
2815938
Fixed export for teams (#1140)
BrianMoyles Jul 2, 2024
d32d17a
Cleanup/Use sdk instead of direct calls to user utilization (#1136)
tsantos-genesys Jul 2, 2024
a8e863a
Refactor/devtooling 161 refactor idp_onelogin (#1125)
shrutisuryawanshigenesys Jul 2, 2024
35c11f7
feature/devtooling 608 (#1124)
kavinbalagen Jul 2, 2024
78ec240
Feat/More validation in utilization label names (#1143)
tsantos-genesys Jul 2, 2024
eac8794
Fix DEVTOOLING-703 (#1144)
bbbco Jul 8, 2024
2182905
Bump golang.org/x/net from 0.26.0 to 0.27.0 (#1146)
dependabot[bot] Jul 8, 2024
959dc00
Feat/devtooling-645: Add roles_enabled to group resource (#1145)
BrianMoyles Jul 8, 2024
f1602f7
Bug/Devtooling-677: Error Migrating routes to independent resource (#…
BrianMoyles Jul 8, 2024
f5627d6
adding missing return statement in utils function (#1148)
charliecon Jul 9, 2024
7422570
feat/GPE-14463 add support for App stream type on Journey resources (…
michalk-genesys Jul 9, 2024
793053d
Fixed merge conflicts by accepting all current changes
charliecon Jul 10, 2024
462e33d
Bug/devtooling-606 Export Managed sites as data sources (#1142)
BrianMoyles Jul 15, 2024
d4d839a
Bug/devtooling 637: Conditional group routing rules (#1155)
charliecon Jul 15, 2024
8bace1c
refactor/DEVTOOLING-183: Refactored routing email domain (#1138)
BrianMoyles Jul 15, 2024
cfb9ba0
Fixes DEVTOOLING-633 (#1135)
bbbco Jul 15, 2024
548e670
feat/GPE-14606 add support for Outcome Quantile Conditions (#1156)
michalk-genesys Jul 16, 2024
3fc2b8a
Refactor Routing language (#1141)
BrianMoyles Jul 16, 2024
ecf1054
Bump github.com/nyaruka/phonenumbers from 1.3.6 to 1.4.0 (#1157)
dependabot[bot] Jul 16, 2024
ec5ee9e
Bump github.com/zclconf/go-cty from 1.14.4 to 1.15.0 (#1158)
dependabot[bot] Jul 16, 2024
73e54eb
Merge branch 'main' into dev
charliecon Jul 16, 2024
9f180b2
Fixed journey action maps (#1161)
charliecon Jul 17, 2024
d5b6e2e
No jira: go checks (#1163)
charliecon Jul 17, 2024
651e9b8
Fix failed acceptance testcases (#1162)
monishapadmavathi Jul 17, 2024
537b9d8
Feat/devtooling 655: conversations_messaging_settings resource (#1150)
BrianMoyles Jul 18, 2024
36fd4e8
Datasoruce tfstate (#1170)
HemanthDogiparthi12 Jul 19, 2024
cdc6219
Fixes DEVTOOLING-675 (#1169)
bbbco Jul 19, 2024
f4d7fc2
added expand field to export line properties (#1174)
kavinbalagen Jul 19, 2024
4f2cb61
Devtooling 625: Adding the id fields to question_groups, questions, a…
charliecon Jul 19, 2024
5b429a9
Merge branch 'main' into dev
charliecon Jul 23, 2024
2aa318b
Devtooling 625: fix export test (#1177)
charliecon Jul 25, 2024
03a041b
Bug/devtooling 648 (#1173)
HemanthDogiparthi12 Jul 25, 2024
84a280a
NO-JIRA: Removed the test workflows as these items have been moved to…
carnellj-genesys Jul 25, 2024
abc04ab
refactor/Devtooling-189: refactor routing skill group (#1171)
BrianMoyles Jul 25, 2024
8b2f0bd
No jira: unit tests workflow (#1181)
charliecon Jul 29, 2024
925ae74
Refactor/devtooling-188: Routing Skill (#1183)
BrianMoyles Jul 29, 2024
c4182e3
feat/Devtooling 712 resource for supported content (#1159)
shrutisuryawanshigenesys Jul 29, 2024
b437ad7
Bug/devtooling 707 - Worktype status independent resource (#1164)
dginty4 Jul 29, 2024
9ceb1ad
Inspired by DEVTOOLING-741 - Hardening E.164 handling (#1178)
bbbco Jul 30, 2024
96ca58b
Increased workflow timeout
charliecon Jul 30, 2024
42307bb
Revert "Inspired by DEVTOOLING-741 - Hardening E.164 handling (#1178)…
charliecon Jul 30, 2024
ceaeeb1
Refactor users package (#1129)
sureshperiyappan Jul 31, 2024
db9af99
Revert "Refactor users package (#1129)" (#1191)
carnellj-genesys Jul 31, 2024
1fec693
Deploy back to dev (#1193)
HemanthDogiparthi12 Aug 1, 2024
a96cdae
Fix debugging issue and add docs on how to setup debugging (#1190)
bbbco Aug 5, 2024
45e4f32
Resolve merge conflict from #1191 into Refactor/DEVTOOLING-634 (#1192)
sureshperiyappan Aug 5, 2024
c7c5e52
Refactor/DEVTOOLING-191 and DEVTOOLING-646 (#1152)
sureshperiyappan Aug 6, 2024
534a977
Feat/devtooling 652 Integration Facebook resource (#1168)
shrutisuryawanshigenesys Aug 6, 2024
f45249d
Devtooling-730: Added enable_audio_monitoring to Routing Queue Resour…
BrianMoyles Aug 6, 2024
22c92d3
Bug/devtooling 749 added webrtc for fields property (#1194)
kavinbalagen Aug 6, 2024
b5ee28d
OV-2078 Added Dynamic Line Balancing Settings (#1195)
danilkulakov Aug 6, 2024
728ea46
Feat/devtooling-714: Conversations Messaging Settings Default Resourc…
BrianMoyles Aug 7, 2024
0e508ea
Bump golang.org/x/net from 0.27.0 to 0.28.0 (#1199)
dependabot[bot] Aug 7, 2024
0635e0b
Merge branch 'main' into dev
charliecon Aug 7, 2024
050555f
Fixed test (#1186)
dginty4 Aug 7, 2024
9e9579e
Fixing test (#1201)
dginty4 Aug 7, 2024
ad55c47
No jira: Fixing a few test failures (#1200)
charliecon Aug 7, 2024
d6a82ba
removed feature toggle (#1197)
kavinbalagen Aug 7, 2024
cd789d3
bug/DEVTOOLING-735: Fix bug in architect_user_prompt resource (#1198)
charliecon Aug 8, 2024
578a31d
Cleaned up docs and feature toggles package (#1205)
charliecon Aug 8, 2024
6f3aa07
Fix DEVTOOLING-780 (#1204)
bbbco Aug 8, 2024
43658ac
Fix acceptance testcases (#1206)
monishapadmavathi Aug 12, 2024
f60ea22
changed optional value (#1203)
kavinbalagen Aug 12, 2024
a97cc00
No jira: user prompt export test bug (#1210)
charliecon Aug 12, 2024
d9394f3
Re-opens #1178 Harden e164 (#1207)
bbbco Aug 14, 2024
b00083f
Adds extra Export RefAttrs that could exist and reference flows on ge…
bbbco Aug 19, 2024
5fd34db
Updating dnis numbers to fix unit tests (#1217)
charliecon Aug 19, 2024
e1b9988
Fixes DEVTOOLING-786 and DEVTOOLING-740 as well as other resources th…
bbbco Aug 19, 2024
d18ace4
Bump hashicorp/setup-terraform from 3.1.1 to 3.1.2 (#1220)
dependabot[bot] Aug 20, 2024
f4794d0
Ruleset and Skill Resource (#1218)
HemanthDogiparthi12 Aug 20, 2024
10a55ba
No jira: Added `go fmt` to Go Checks workflow (#1222)
charliecon Aug 20, 2024
020d5ed
DEVTOOLING-774: Checking uploadStatus before downloading prompt file …
charliecon Aug 21, 2024
4269446
Fixes DEVTOOLING-791 by passing in the error message so it can be pic…
bbbco Aug 21, 2024
f263682
bug/Devtooling 723 - exports filenames with spaces (#1223)
shrutisuryawanshigenesys Aug 21, 2024
0906c34
Removing ConflictsWith attrs from email_route resource schema definit…
charliecon Aug 22, 2024
63479ee
Bug/devtooling 615 - Consistency checker (#1219)
dginty4 Aug 26, 2024
fa0204e
Devtooling-175: refactored location (#1224)
BrianMoyles Aug 26, 2024
f054277
Feat/devtooling 654 Integration Instagram (#1202)
shrutisuryawanshigenesys Aug 26, 2024
a520fd9
refactor/Devtooling-186: Routing Queue (#1213)
BrianMoyles Aug 26, 2024
d2f2daa
Revert "Bug/devtooling 615 - Consistency checker (#1219)" (#1232)
charliecon Aug 27, 2024
c39f0ee
Bump github.com/hashicorp/hcl/v2 from 2.21.0 to 2.22.0 (#1231)
dependabot[bot] Aug 27, 2024
7f5c639
Fix docs issue with genesyscloud_routing_queue_outbound_email_address…
bbbco Aug 27, 2024
a03f8a7
Revert "refactor/Devtooling-186: Routing Queue (#1213)" (#1234)
BrianMoyles Aug 27, 2024
09f0d11
Fix Standalone Line Numbers (#1233)
HemanthDogiparthi12 Aug 27, 2024
0511399
Merge main into dev
charliecon Aug 27, 2024
8f4ca2f
Bug/devtooling 751: Queue resource overwriting CGR and Outbound email…
dginty4 Sep 5, 2024
b3da47a
Fixed routing email route test (#1239)
BrianMoyles Sep 5, 2024
6c77917
Bug/devtooling 804 (#1235)
kavinbalagen Sep 5, 2024
df3a3ed
DEVTOOLING-647 (#1228)
sureshperiyappan Sep 5, 2024
c129c70
DEVTOOLING-743 (#1227)
sureshperiyappan Sep 5, 2024
4a4e609
refactor/DEVTOOLING-150 [auth_division] (#1237)
BrianMoyles Sep 5, 2024
ec5077d
Bug/devtooling 642 (#1208)
HemanthDogiparthi12 Sep 5, 2024
c4a94c2
Fix Pause Criteria (#1240)
HemanthDogiparthi12 Sep 5, 2024
24f4f95
No jira devcontainers (#1244)
carnellj-genesys Sep 6, 2024
f064758
Bump golang.org/x/net from 0.28.0 to 0.29.0 (#1245)
dependabot[bot] Sep 9, 2024
4a85025
Fix acceptance tests (#1249)
monishapadmavathi Sep 9, 2024
e49397a
Bug/devtooling 752 Integration Credential Fix (#1242)
HemanthDogiparthi12 Sep 11, 2024
f06a2f3
Deleting auth divisions from cache (#1252)
charliecon Sep 12, 2024
f3d8c2c
Fixing conditional group routing test (#1254)
charliecon Sep 12, 2024
48c1680
Merge branch 'main' into dev
charliecon Sep 12, 2024
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
11 changes: 11 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM mcr.microsoft.com/vscode/devcontainers/base:ubuntu

# Install Genesys Cloud CLI
RUN curl -s https://sdk-cdn.mypurecloud.com/external/go-cli/linux/dl/install.sh | sudo bash

# Install the Archy CLI
RUN cd ~ && \
mkdir archy && \
curl https://sdk-cdn.mypurecloud.com/archy/latest/archy-linux.zip > archy-linux.zip && \
unzip archy-linux.zip -d ~/archy && \
cd ~
19 changes: 19 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Terraform and Go",
"build": {
"dockerfile": "Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/terraform:1":{},
"ghcr.io/devcontainers/features/go:1":{},
"ghcr.io/devcontainers/features/python": {}
},
"hostRequirements": {
"cpus": 4,
"memory": "16gb",
"storage": "32gb"
},
"forwardPorts": [
8080
]
}
1 change: 1 addition & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ clean:

build:
mkdir -p ${DIST_DIR}
go mod tidy
go build -o ${DIST_DIR} ./...

GOOS = $(shell go env GOOS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func TestAccResourceArchitectEmergencyGroups(t *testing.T) {
// Currently, the ivr resource cannot be registered for these tests because of a cyclic dependency issue.
ivrId := "f94e084e-40eb-470b-80d6-0f99cf22d102"
if v := os.Getenv("GENESYSCLOUD_REGION"); v == "tca" {
ivrId = "d37d14fe-1e6c-4ed6-a9bb-b6ef0dd8e9cd"
ivrId = "770e3998-11b7-4c96-beb8-215b83201c29"
}

if !ivrExists(config, ivrId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package architect_ivr

import (
"sync"
gcloud "terraform-provider-genesyscloud/genesyscloud"
authDivision "terraform-provider-genesyscloud/genesyscloud/auth_division"
didPool "terraform-provider-genesyscloud/genesyscloud/telephony_providers_edges_did_pool"
"testing"

Expand Down Expand Up @@ -33,7 +33,7 @@ func (r *registerTestInstance) registerTestResources() {
defer r.resourceMapMutex.Unlock()

providerResources[resourceName] = ResourceArchitectIvrConfig()
providerResources["genesyscloud_auth_division"] = gcloud.ResourceAuthDivision()
providerResources["genesyscloud_auth_division"] = authDivision.ResourceAuthDivision()
providerResources["genesyscloud_telephony_providers_edges_did_pool"] = didPool.ResourceTelephonyDidPool()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package architect_schedulegroups

import (
"sync"
"terraform-provider-genesyscloud/genesyscloud"
architectSchedules "terraform-provider-genesyscloud/genesyscloud/architect_schedules"
authDivision "terraform-provider-genesyscloud/genesyscloud/auth_division"
"testing"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down Expand Up @@ -32,7 +32,7 @@ func (r *registerTestInstance) registerTestResources() {

providerResources[resourceName] = ResourceArchitectSchedulegroups()
providerResources["genesyscloud_architect_schedules"] = architectSchedules.ResourceArchitectSchedules()
providerResources["genesyscloud_auth_division"] = genesyscloud.ResourceAuthDivision()
providerResources["genesyscloud_auth_division"] = authDivision.ResourceAuthDivision()
}

// registerTestDataSources registers all data sources used in the tests.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package architect_schedulegroups
import (
"fmt"
"strings"
gcloud "terraform-provider-genesyscloud/genesyscloud"
architectSchedules "terraform-provider-genesyscloud/genesyscloud/architect_schedules"
authDivision "terraform-provider-genesyscloud/genesyscloud/auth_division"
"terraform-provider-genesyscloud/genesyscloud/provider"
"terraform-provider-genesyscloud/genesyscloud/util"
"testing"
Expand Down Expand Up @@ -132,7 +132,7 @@ func TestAccResourceArchitectScheduleGroups(t *testing.T) {
},
{
// Create with new division
Config: gcloud.GenerateAuthDivisionBasic(divResource, divName) + architectSchedules.GenerateArchitectSchedulesResource( // Create Open schedule
Config: authDivision.GenerateAuthDivisionBasic(divResource, divName) + architectSchedules.GenerateArchitectSchedulesResource( // Create Open schedule
schedResource4,
openSched2,
"genesyscloud_auth_division."+divResource+".id",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package architect_schedules

import (
"sync"
gcloud "terraform-provider-genesyscloud/genesyscloud"
authDivision "terraform-provider-genesyscloud/genesyscloud/auth_division"
"testing"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand Down Expand Up @@ -30,7 +30,7 @@ func (r *registerTestInstance) registerTestResources() {
defer r.resourceMapMutex.Unlock()

providerResources[resourceName] = ResourceArchitectSchedules()
providerResources["genesyscloud_auth_division"] = gcloud.ResourceAuthDivision()
providerResources["genesyscloud_auth_division"] = authDivision.ResourceAuthDivision()
}

// registerTestDataSources registers all data sources used in the tests.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package architect_schedules

import (
"fmt"
gcloud "terraform-provider-genesyscloud/genesyscloud"
authDivision "terraform-provider-genesyscloud/genesyscloud/auth_division"
"terraform-provider-genesyscloud/genesyscloud/provider"
"terraform-provider-genesyscloud/genesyscloud/util"
"testing"
Expand Down Expand Up @@ -76,7 +76,7 @@ func TestAccResourceArchitectSchedules(t *testing.T) {
},
{
// Create with new division
Config: gcloud.GenerateAuthDivisionBasic(divResource, divName) + GenerateArchitectSchedulesResource(
Config: authDivision.GenerateAuthDivisionBasic(divResource, divName) + GenerateArchitectSchedulesResource(
schedResource2,
name2,
"genesyscloud_auth_division."+divResource+".id",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package architect_user_prompt

import (
"sync"
"terraform-provider-genesyscloud/genesyscloud"
authDivision "terraform-provider-genesyscloud/genesyscloud/auth_division"
"testing"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
Expand All @@ -25,7 +25,7 @@ func (r *registerTestInstance) registerTestResources() {
defer r.resourceMapMutex.Unlock()

providerResources[resourceName] = ResourceArchitectUserPrompt()
providerResources["genesyscloud_auth_division"] = genesyscloud.ResourceAuthDivision()
providerResources["genesyscloud_auth_division"] = authDivision.ResourceAuthDivision()
}

// registerTestDataSources registers all data sources used in the tests.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ func ResourceArchitectUserPrompt() *schema.Resource {
Description: "Name of the user audio prompt. Note: If the name of the user prompt is changed, this will cause the Prompt to be dropped and recreated with a new ID. This will generate a new ID for the prompt and will invalidate any Architect flows referencing it. ",
Type: schema.TypeString,
Required: true,
ForceNew: true,
},
"description": {
Description: "Description of the user audio prompt.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import (
func TestAccResourceUserPromptBasic(t *testing.T) {
userPromptResource1 := "test-user_prompt_1"
userPromptName1 := "TestUserPrompt_1" + strings.Replace(uuid.NewString(), "-", "", -1)
userPromptName2 := "TestUserPrompt_2" + strings.Replace(uuid.NewString(), "-", "", -1)
userPromptDescription1 := "Test description"
userPromptResourceLang1 := "en-us"
userPromptResourceLang2 := "ja-jp"
Expand Down Expand Up @@ -78,12 +79,12 @@ func TestAccResourceUserPromptBasic(t *testing.T) {
// Update to include TTS message prompt resource
Config: GenerateUserPromptResource(&UserPromptStruct{
userPromptResource1,
userPromptName1,
userPromptName2,
strconv.Quote(userPromptDescription1),
userPromptResources1,
}),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr("genesyscloud_architect_user_prompt."+userPromptResource1, "name", userPromptName1),
resource.TestCheckResourceAttr("genesyscloud_architect_user_prompt."+userPromptResource1, "name", userPromptName2),
resource.TestCheckResourceAttr("genesyscloud_architect_user_prompt."+userPromptResource1, "description", userPromptDescription1),
resource.TestCheckResourceAttr("genesyscloud_architect_user_prompt."+userPromptResource1, "resources.0.language", userPromptResourceLang1),
resource.TestCheckResourceAttr("genesyscloud_architect_user_prompt."+userPromptResource1, "resources.0.tts_string", userPromptResourceTTS1),
Expand All @@ -93,12 +94,12 @@ func TestAccResourceUserPromptBasic(t *testing.T) {
// Update existing language TTS
Config: GenerateUserPromptResource(&UserPromptStruct{
userPromptResource1,
userPromptName1,
userPromptName2,
strconv.Quote(userPromptDescription1),
userPromptResources2,
}),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr("genesyscloud_architect_user_prompt."+userPromptResource1, "name", userPromptName1),
resource.TestCheckResourceAttr("genesyscloud_architect_user_prompt."+userPromptResource1, "name", userPromptName2),
resource.TestCheckResourceAttr("genesyscloud_architect_user_prompt."+userPromptResource1, "description", userPromptDescription1),
resource.TestCheckResourceAttr("genesyscloud_architect_user_prompt."+userPromptResource1, "resources.0.language", userPromptResourceLang1),
resource.TestCheckResourceAttr("genesyscloud_architect_user_prompt."+userPromptResource1, "resources.0.tts_string", userPromptResourceTTS2),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
package auth_division

import (
"context"
"fmt"
"terraform-provider-genesyscloud/genesyscloud/provider"
"terraform-provider-genesyscloud/genesyscloud/util"
"time"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry"

"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

func dataSourceAuthDivisionRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics {
sdkConfig := m.(*provider.ProviderMeta).ClientConfig
proxy := getAuthDivisionProxy(sdkConfig)
name := d.Get("name").(string)

// Query division by name. Retry in case search has not yet indexed the division.
return util.WithRetries(ctx, 15*time.Second, func() *retry.RetryError {
divisionId, resp, retryable, getErr := proxy.getAuthDivisionIdByName(ctx, name)
if getErr != nil && !retryable {
return retry.NonRetryableError(util.BuildWithRetriesApiDiagnosticError(resourceName, fmt.Sprintf("Error requesting division %s | error: %s", name, getErr), resp))
}
if retryable {
return retry.RetryableError(util.BuildWithRetriesApiDiagnosticError(resourceName, fmt.Sprintf("Error requesting division %s | error: %s", name, getErr), resp))
}

d.SetId(divisionId)
return nil
})
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package genesyscloud
package auth_division

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
package auth_division

import (
"sync"
"testing"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
)

/*
The genesyscloud_auth_division_init_test.go file is used to initialize the data sources and resources
used in testing the auth_division resource.
*/

// providerDataSources holds a map of all registered datasources
var providerDataSources map[string]*schema.Resource

// providerResources holds a map of all registered resources
var providerResources map[string]*schema.Resource

type registerTestInstance struct {
resourceMapMutex sync.RWMutex
datasourceMapMutex sync.RWMutex
}

// registerTestResources registers all resources used in the tests
func (r *registerTestInstance) registerTestResources() {
r.resourceMapMutex.Lock()
defer r.resourceMapMutex.Unlock()

providerResources[resourceName] = ResourceAuthDivision()
}

// registerTestDataSources registers all data sources used in the tests.
func (r *registerTestInstance) registerTestDataSources() {
r.datasourceMapMutex.Lock()
defer r.datasourceMapMutex.Unlock()

providerDataSources[resourceName] = DataSourceAuthDivision()
}

// initTestResources initializes all test resources and data sources.
func initTestResources() {
providerDataSources = make(map[string]*schema.Resource)
providerResources = make(map[string]*schema.Resource)

regInstance := &registerTestInstance{}

regInstance.registerTestResources()
regInstance.registerTestDataSources()
}

// TestMain is a "setup" function called by the testing framework when run the test
func TestMain(m *testing.M) {
// Run setup function before starting the test suite for the auth_division package
initTestResources()

// Run the test suite for the auth_division package
m.Run()
}
Loading
Loading