Commit Graph

780 Commits

Author SHA1 Message Date
Girish Sharma 17124ebbe9
Upgrade go version to 1.20 (#1246)
* Upgrade go version

Signed-off-by: letmerecall <girishsharma001@gmail.com>

* Upgrade go patch version to get through ci cache

Signed-off-by: letmerecall <girishsharma001@gmail.com>

* Format error message correctly

Signed-off-by: letmerecall <girishsharma001@gmail.com>

* Setup go from go.mod

Signed-off-by: letmerecall <girishsharma001@gmail.com>

* Fix workflow, checkout code before go setup

Signed-off-by: letmerecall <girishsharma001@gmail.com>

* Fix workflow

Signed-off-by: letmerecall <girishsharma001@gmail.com>

---------

Signed-off-by: letmerecall <girishsharma001@gmail.com>
Signed-off-by: Girish Sharma <girishsharma001@gmail.com>
2023-03-02 02:41:17 +05:30
Thorsten Hans 398eb7e24a
Update all actions that relied on Node.JS 12 #1202 (#1252)
Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com>
Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-03-01 00:41:42 +05:30
Mukundan Sundararajan 56ba05982e
Upgrade linter version to the latest (#1253)
* upgrade golangci-lint version to latest

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix tests

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

---------

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-02-28 23:43:28 +05:30
Thorsten Hans 06a4c6bddc
Show correct container runtime in init logging (#1250)
* Show correct container runtime in init logging

Init logging now logs using container runtime specified by the user instead of always logging "Docker"

Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com>

#1209

* tests: set test name in test data to remove fmt import

Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com>

* remove usage of golang.org/x/text and log container runtime names as they are

Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com>

* ensure modified files do not introduce linting errors

Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com>

---------

Signed-off-by: Thorsten Hans <thorsten.hans@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-02-28 23:16:25 +05:30
Taction 211e57b915
Fix unexpected behaviour in dapr list (#1244)
* Fix args parse.

Signed-off-by: zhangchao <zchao9100@gmail.com>

* fix lint

Signed-off-by: zhangchao <zchao9100@gmail.com>

* add e2e test for list

Signed-off-by: zhangchao <zchao9100@gmail.com>

* fix e2e exit to 0

Signed-off-by: zhangchao <zchao9100@gmail.com>

* run dapr run in goroutine

Signed-off-by: zhangchao <zchao9100@gmail.com>

---------

Signed-off-by: zhangchao <zchao9100@gmail.com>
2023-02-28 08:59:24 -08:00
Pravin Pushkar a6f8c7694d
fix go vulerability (#1237)
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-17 16:38:25 +05:30
Pravin Pushkar a4aafbdfd4
Parallel exec for UTs and cache go dep (#1226)
* Parallel exec for UTs and cache go dep

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* update go version

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-17 13:03:20 +05:30
Mukundan Sundararajan de997a9fda
Merge pull request #1234 from pravinpushkar/merge_to_master
Merge to master from release 1.10 branch
2023-02-16 22:27:39 +05:30
Pravin Pushkar 8884bb977e Pin stable runtime dep and merge to master
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-16 11:01:19 +05:30
Pravin Pushkar 7e0d9dc45d Merge branch 'master' into release-1.10
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-16 11:00:39 +05:30
Pravin Pushkar 63f3fa0e29
fix few issue (#1231)
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-15 00:31:43 -08:00
Pravin Pushkar 1cec708d88
update runtime to 1.10.0-rc.9 (#1229)
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-15 11:51:49 +05:30
Yaron Schneider 5ccd602262
Merge pull request #1227 from shivamkm07/fix-wingetcreateFailure
Fix wingetcreate failure
2023-02-14 18:33:30 +00:00
Shivam Kumar 4fdec6b798 re-running tests
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
2023-02-14 23:06:02 +05:30
Shivam Kumar 23b37590e4 re-running tests
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
2023-02-14 22:42:00 +05:30
Shivam Kumar fffa1dad13 fixing go vulnerability failure
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
2023-02-14 21:56:23 +05:30
Shivam Kumar d3c3ac9bba using latest wingetcreate
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
2023-02-14 21:32:24 +05:30
Shubham Sharma c8aa85b0e3
Upgrade dapr version to RC 8 (#1223)
Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2023-02-14 11:40:45 +05:30
dependabot[bot] 25cc689143
Bump helm.sh/helm/v3 from 3.10.3 to 3.11.1 (#1217)
Bumps [helm.sh/helm/v3](https://github.com/helm/helm) from 3.10.3 to 3.11.1.
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.10.3...v3.11.1)

---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 14:57:35 +05:30
Shivam Kumar 4dd43375e6
Adding more e2e tests for mariner images (#1208)
Signed-off-by: Shivam Kumar <shivamkm07@gmail.com>
2023-02-13 11:40:54 +05:30
Pravin Pushkar 78db061dac
update runtime to RC.6 (#1218)
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-13 11:40:20 +05:30
Mukundan Sundararajan c1c0ff5193
Merge pull request #1212 from mukundansundar/merge_rel_1.10
partial merge rel 1.10
2023-02-10 12:46:30 +05:30
Mukundan Sundararajan 72c988c476 Merge branch 'release-1.10' into merge_rel_1.10 2023-02-10 11:32:41 +05:30
Mukundan Sundararajan 0c26e1c7a6 Merge branch 'release-1.10' into merge_rel_1.10 2023-02-10 11:15:52 +05:30
Pravin Pushkar 84ba3aad24
E2e fix (#1215)
* fix e2e tests

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* pass dashboard version to dapr init

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* disable dashboard test for k8s

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* upload run file logs in artifacts

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Revert "upload run file logs in artifacts"

This reverts commit e8343df8bd.

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* trigger pr checks

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-09 21:39:42 -08:00
Mukundan Sundararajan e82850a698
update runtime to 1.10-rc.4 (#1213)
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-02-07 10:22:02 -08:00
Mukundan Sundararajan 8dbdbc5757 Merge branch 'master' into merge_rel_1.10 2023-02-07 22:11:08 +05:30
Mukundan Sundararajan 20978a2b59
update runtime version to 1.10.0-rc.3. Minor nit fixes (#1207)
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-02-06 13:15:47 +05:30
Mukundan Sundararajan a7f06c3b1b
Fix runtime custom path installation logic (#1203)
* fix dapr path version, custom  installation path logic, e2e

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix linter errors

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix paths for windows

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* rename daprPath to daprRuntimePath

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

---------

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-02-05 21:57:23 -08:00
Clay Lenhart 55bc454ad9
correct spelling (#1206) 2023-02-04 23:07:51 -08:00
Pravin Pushkar 38c8f106df
update dapr to 1.10.0-rc.2 (#1201)
* rc.2 changes

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* added test for obfuscation

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-02-02 01:40:55 -08:00
Phillip Hoff 50d5af4cd9
Store app PID in sidecar metadata. (#1200)
* Store app PID in sidecar metadata.

Signed-off-by: Phillip Hoff <phillip@orst.edu>

* Move process check under command check.

Signed-off-by: Phillip Hoff <phillip@orst.edu>

* Add minimal list test appId changes.

Signed-off-by: Phillip Hoff <phillip@orst.edu>

* Reverse params.

Signed-off-by: Phillip Hoff <phillip@orst.edu>

* Proper type conversion.

Signed-off-by: Phillip Hoff <phillip@orst.edu>

---------

Signed-off-by: Phillip Hoff <phillip@orst.edu>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-02-02 11:45:23 +05:30
Alessandro (Ale) Segala a891cb09b3
Update dev container (#1199)
Signed-off-by: ItalyPaleAle <43508+ItalyPaleAle@users.noreply.github.com>
2023-02-02 11:05:32 +05:30
Shubham Sharma 42f9519eb2
Add preview warning to dapr run and add appID and timestamp to logs (#1196)
* Add timestamp to logs and preview warning

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Fix test

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update log format

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update log format

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update comment

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

---------

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2023-02-01 16:19:48 +05:30
Pravin Pushkar 17efdfd4a4
update dapr runtime to 1.10..0-rc.1 (#1194)
* update dapr runtime to 1.10..0-rc.1

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix failure due to runtime changes

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix tests failure

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix import in e2e tests. remove unnecessary uninstall steps

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-31 21:51:57 +05:30
Pravin Pushkar 778b2a5933
dapr stop -f fix and E2E tests for dapr stop and list (#1181)
* E2E tests for dapr stop and list

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* cmdstop to cmdStopWithAppID

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* stop all started processes for dapr apps with kill process group

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* stop all apps in run template test

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix tests

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* separating os syscall and renaming file

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* moving syscall.go to pkg/syscall

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* name change

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fixed windows error

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* use syscall.kill

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-31 13:07:42 +05:30
Pravin Pushkar b2daa8d220
test on exclude pre-releases from PR checks (#1193)
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-01-31 12:36:14 +05:30
Pravin Pushkar 7e00eb4f03
Fix dashboard port conflict message and allow starting on random port (#1189)
* fix dashboard start

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* added comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
2023-01-31 10:35:02 +05:30
Mukundan Sundararajan da38233cfc
use fqdn for all image names when dockerhub is the registry (#1186)
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-27 12:14:28 +05:30
Mukundan Sundararajan 1a9029ce71
change snake_case run template yaml to camelCase (#1183)
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-26 21:06:44 -08:00
Mukundan Sundararajan 17dbe5bb13
Add E2E for Run template (#1170)
* refactor run into functions

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* renamed Apps struct as App

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* redirect logs to files. set informational logs. set command dirs

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix linter errors

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix e2e test on non-existent resources-path

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* more fixes

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix merge conflict

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* set default ports for zero values

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix linter errors

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* add more details in error, fix logs in run -f

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* address review comments

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* address review comments

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* add more fixes in template run based on e2e tests

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* add basic happy path e2e for dapr run -f

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* add positive and negative e2e tests for run template

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* address review comments

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-24 10:58:05 -08:00
Pravin Pushkar 14c04f9a87
Dapr stop and list changes for dapr run -f (#1169)
* dapr stop -f impl

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* add description

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix tests

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix windows failure

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Update cmd/stop.go

Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* change cmd description

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* stop refactoring

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* trigger pr checks

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-24 18:28:31 +05:30
Pravin Pushkar 61bf50cc4c
fix bug in precendence log wrt --dapr-path flag (#1175)
Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-23 10:23:21 +05:30
Mukundan Sundararajan 36893d9483
Add capability to run to support `-f` flag (#1161)
* refactor run into functions

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* renamed Apps struct as App

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* redirect logs to files. set informational logs. set command dirs

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix linter errors

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix e2e test on non-existent resources-path

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* more fixes

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix merge conflict

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* set default ports for zero values

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix linter errors

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* add more details in error, fix logs in run -f

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* address review comments

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* address review comments

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* add more fixes in template run based on e2e tests

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-20 08:17:34 -08:00
Shubham Sharma b51eda4876
Make JSON and YAML output consistent across `list`, `components`, and `configurations` commands (#1172)
* Fix formatting

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update UT

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update UT

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

* Update E2E

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>

Signed-off-by: Shubham Sharma <shubhash@microsoft.com>
2023-01-19 23:23:31 -08:00
Pravin Pushkar 9d18f86768
find dapr.yaml in dirpath when dapr run -f <dirpath> is executed (#1166)
* find dapr.yaml in dirpath when dapr run -f <dirpath> is executed

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* modtidy

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* get rid of afero

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* merge fixes

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-19 10:06:01 -08:00
Pravin Pushkar 44d8dcb752
Precedence rule for resources directory, config file and envs (#1158)
* precedence order for resources path and config path

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* env precedence set

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* pass daprInstallPath

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* test dir structure

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* remove hard coded directory structures

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* UT refactor

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* few fixes w.r.t daprPathCmdFlag

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* switching to pre-created test data folder structure

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Move Env to SharedRunConfig struct

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix bug

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* lint fix

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* fix review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* some refactoring

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-19 22:10:16 +05:30
Pravin Pushkar 8b68de52da
resolve relative path wrt AppDirPath for app specific keys in dapr.yaml (#1164)
* fix absolute path on app cmd

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* using Afero file virtualization for UT

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Revert "using Afero file virtualization for UT"

This reverts commit 8d2f949bd6.

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* adding testdata files

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* resolving app's path wrt AppDirPath

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Revert "adding testdata files"

This reverts commit e3e2012935.

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Revert "fix absolute path on app cmd"

This reverts commit 0e681babbf.

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-11 23:50:55 -08:00
Pravin Pushkar 37c2b34df5
set default fields via struct default tag (#1162)
* set default fields via struct default tag

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* review comments

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* change const name

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* app protocol default

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-01-11 22:45:42 -08:00
Josh van Leeuwen 87b6f0ebc4
nit: Remove full stop from version string to match other subcommand help output (#1163)
* nit: Remove full stop from version string to match other subcommand help
output

Signed-off-by: joshvanl <me@joshvanl.dev>

* Update cmd/version.go

Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
Signed-off-by: Josh van Leeuwen <me@joshvanl.dev>

Signed-off-by: joshvanl <me@joshvanl.dev>
Signed-off-by: Josh van Leeuwen <me@joshvanl.dev>
Co-authored-by: Shubham Sharma <shubhash@microsoft.com>
2023-01-11 21:25:01 -08:00