Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Rebranding #47

Merged
merged 48 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
0a4d911
add sub cmd feature-experimentation
Chadiii Mar 8, 2024
fbbaf86
separate httprequest and mockfunction of FE from WE
Chadiii Mar 8, 2024
08044a4
add refresh token functions
Chadiii Mar 8, 2024
da721d7
reorganizing pakcages
Chadiii Mar 11, 2024
4e97672
separate feat exp and web exp host
Chadiii Mar 13, 2024
03d5013
separate web exp and feat exp models
Chadiii Mar 13, 2024
8e6b030
reduce viper dependency
Chadiii Mar 25, 2024
fe7e111
add auth command and fix test
Chadiii Apr 2, 2024
b586ca1
finalize fe auth and we auth
Chadiii Apr 2, 2024
67cf5dd
add requester for we sub command and rename campaign and variation
Chadiii Apr 3, 2024
9d95a4b
fix refreshToken & renaming & add account-env command
Chadiii Apr 3, 2024
dbbb706
remove useless listing
Chadiii Apr 3, 2024
840c743
add new error for failing request
Chadiii Apr 3, 2024
8bb9530
Add unit test for fe and we account and auth cmds & fix typos
Chadiii Apr 5, 2024
c8bf76a
Add stdout writer for error messages
Chadiii Apr 5, 2024
e79ee7e
add token cmd and unit test and add viper global instance for analyze…
Chadiii Apr 5, 2024
461a7bc
add setAccount/AccountEnvId to credential file login method & fix com…
Chadiii Apr 8, 2024
3d4a427
add we campaign test
Chadiii Apr 8, 2024
a157610
add flag for redirect uri for browser auth login in WE
Chadiii Apr 9, 2024
2631484
add variation/campaign/account global code & renaming/fixes
Chadiii Apr 11, 2024
df51094
fix long desc commands
Chadiii Apr 11, 2024
8063b73
fix test
Chadiii Apr 11, 2024
668a9c2
fix error sdt and renaming and add some test
Chadiii Apr 15, 2024
831b81e
add current cred auth & cmd generate for js & css file
Chadiii Apr 15, 2024
b892285
add get global account, campaign
Chadiii Apr 18, 2024
03ecbcd
add input params for resource loader
Chadiii Apr 19, 2024
1bf69d6
fix regex for error request
Chadiii Apr 19, 2024
527e1ba
add create-subfiles for campaign & elementModificationCode & JS/CSS v…
Chadiii Apr 23, 2024
28230ec
add/fix some test & text desc
Chadiii Apr 23, 2024
3f68bc6
add some unit & command test
Chadiii Apr 24, 2024
2e533ac
add some unit test
Chadiii Apr 24, 2024
f9877c3
add some test for utils config and functions
Chadiii Apr 25, 2024
0cc0766
add grant_type client_credentials to WE and add some test
Chadiii Apr 26, 2024
31a7ba3
remove client_credentials
Chadiii Apr 26, 2024
1ccfe6e
fix ci test coverage
Chadiii Apr 26, 2024
85462ce
fix ci test coverage
Chadiii Apr 26, 2024
26843c5
add some tests and renaming
Chadiii Apr 26, 2024
5b579d5
add we variation test
Chadiii Apr 26, 2024
d9365c0
add we token info and some tests
Chadiii Apr 29, 2024
ab83830
fix test
Chadiii Apr 29, 2024
f123ad8
add override for existing global & modification code
Chadiii Apr 30, 2024
4633c79
add modification resource and rename modification-code
Chadiii Apr 30, 2024
0d58e9a
add modification/modification info-js/info-css test
Chadiii Apr 30, 2024
ee524d9
fix load resource
Chadiii May 2, 2024
1d3dcaa
add push for agc and cgc
Chadiii May 14, 2024
7d7c090
add push for vgc and mc
Chadiii May 15, 2024
1963717
fix push bug
Chadiii May 15, 2024
c4d1a26
fix modification push & add delete cmd for campaign/variation/modific…
Chadiii May 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run tests
run: go test -race `go list ./... | grep -v cmd/analyze/code-samples | grep -v cmd/configuration | grep -v utils/httpRequest` -coverprofile cover.out.tmp
run: go test -race `go list ./... | grep -v cmd/feature_experimentation/analyze | grep -v cmd/feature_experimentation/resource` -coverprofile cover.out.tmp
- name: Removes mocks from tests
run: cat cover.out.tmp | grep -v "mock_\|cmd/analyze/code-samples-example|cmd/configuration|utils/httpRequest" > cover.out
run: cat cover.out.tmp | grep -v "mock_\|cmd/feature_experimentation/analyze" | grep -v "mock_\|cmd/feature_experimentation/resource" > cover.out
- uses: codecov/codecov-action@v2
with:
file: ./cover.out
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build:
test: SHELL:=/bin/bash
test:
mkdir -p coverage
go test -v -race `go list ./... | grep -v cmd/analyze/code-samples` -coverprofile coverage/cover.out.tmp
cat coverage/cover.out.tmp | grep -v "mock_\|cmd/analyze/code-samples" > coverage/cover.out
go test -v -race `go list ./... | grep -v cmd/feature_experimentation/analyze | grep -v cmd/feature_experimentation/resource` -coverprofile coverage/cover.out.tmp
cat coverage/cover.out.tmp | grep -v "mock_\|cmd/feature_experimentation/analyze" | grep -v "mock_\|cmd/feature_experimentation/resource" > coverage/cover.out
go tool cover -html=coverage/cover.out -o coverage/cover.html
go tool cover -func=coverage/cover.out
25 changes: 0 additions & 25 deletions cmd/configuration/configuration.go

This file was deleted.

87 changes: 0 additions & 87 deletions cmd/configuration/configuration_test.go

This file was deleted.

70 changes: 0 additions & 70 deletions cmd/configuration/create.go

This file was deleted.

62 changes: 0 additions & 62 deletions cmd/configuration/current.go

This file was deleted.

39 changes: 0 additions & 39 deletions cmd/configuration/delete.go

This file was deleted.

87 changes: 0 additions & 87 deletions cmd/configuration/edit.go

This file was deleted.

Loading
Loading