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

test(core) unit tests for flow service (EWC-383) #469

Merged
merged 1 commit into from
Dec 29, 2018

Conversation

Railag
Copy link
Contributor

@Railag Railag commented Dec 29, 2018

  • Does the iofog.org or README.md documentation need to change?
    • No

Description

test(core) unit tests for flow service (EWC-383)

@epankou epankou merged commit 54b5e1d into develop Dec 29, 2018
@epankou epankou deleted the sergey/feature-unit-tests-for-flow-service-ewc-383 branch December 29, 2018 15:05
Railag added a commit that referenced this pull request Jan 3, 2019
* fix(bug) fixed system microservices (HAL, bluetooth) launch (EWC-413) (#424)

* fix(bug) added registry email validation (EWC-418)

* test(core) unit tests for iofog-controller (EWC-382) (#426)

* test(core) unit tests for flow & diagnostics controllers, updated postman collection & refactored diagnostics (EWC-382) (#427)

* bug(fix) CLI diagnostics: Incorrect error message is displayed when user try to get strace-info (#428)

* test(core) unit tests for catalog, controller and agent controllers (EWC-382) (#430)

* bug(fix) CLI diagnostics ftp: Incorrect error message is displayed when user try to get strace-info (EWC-431)

* Update package.json

* remove automated release

* bug(fix) strace feature bug (EWC-421)

* bug(fix) fixed deprecation warnings (EWC-422) (#438)

* bug(fix) CLI diagnostics ftp: invalid microservice uuid

* bug(fix) CLI diagnostics ftp: invalid microservice id (update) (#440)

* bug(fix) CLI diagnostics ftp: invalid microservice id (update)

* bug(fix): update id to uuid

* bug(fix) iofog agent API: core network containers are returned when flow isn't active (EWC-424)

* test(core) unit tests progress for agent & access-token services (EWC-383) (#442)

* feat(npm-scripts): npm scripts improvements (EWC-358 EWC-430)

1. save configs during releases
2. migrate to new encryption algorithm

* bug(fix): microservices are shown after deleting user, new error message



* bug(fix): microservices are shown after deleting user, new error message (up test)

* bug(fix): microservices are shown after deleting user, new error message (up test2)

* feat(microservice): update change tracking on delete port mapping (#445)

Closes EWC-441

* version 1.0.31

* 1.0.31 Release (#448)

* fix(bug) fixed system microservices (HAL, bluetooth) launch (EWC-413) (#424)

* fix(bug) added registry email validation (EWC-418)

* test(core) unit tests for iofog-controller (EWC-382) (#426)

* test(core) unit tests for flow & diagnostics controllers, updated postman collection & refactored diagnostics (EWC-382) (#427)

* bug(fix) CLI diagnostics: Incorrect error message is displayed when user try to get strace-info (#428)

* test(core) unit tests for catalog, controller and agent controllers (EWC-382) (#430)

* bug(fix) CLI diagnostics ftp: Incorrect error message is displayed when user try to get strace-info (EWC-431)

* Release (#434)

* release merge (#433)

* Release 1.0.28

* EWC-379 migrations between versions (#410)

* Maksimchepelev/bugs (#411)

* EWC-385 cli helps' outputs

* EWC-395 cli `microservice port-mapping-remove` error message fix

* EWC-389 cli `diagnostics strace-update` correct parsing of boolean

* EWC-390 cli `diagnostics strace-...` correct validation error messages

* EWC-392 cli `diagnostics strace-info` microservice validation

* EWC-394 sequelize (deprecated)find -> findOne

* EWC-388 validation of flowId in delete flow service

* EWC-393 validation of microserviceUuid in image snapshot services

* Maksimchepelev/bugs (#412)

* fix(help): Fix rsa-key description in cli tunnel help

need to update description for parameter -k, --rsa-key in help for tunnel from 'Tunnel RSA key' to 'Path to tunnel RSA key'

Closes EWC-396

* fix(tunnel): if port range not provided in config use default values

default range: 2000-10000

Closes EWC-397

* fix(tests): rename logLimit -> logSize (#416)

create microservice request in Postman Collection diagnostics block

Closes EWC-401

* feat(npm-scripts): allow to use only one image on catalog item creation (#415)

Closes EWC-399

* fix(transactions): fix transaction validation if last method's arg is undefined (#414)

Closes EWC-400

* feat(npm-scripts): init db automatically after installation (#413)

Closes EWC-368

* Maksimchepelev/bugs (#417)

* fix(code): delete routes on microservice deletion

Closes EWC-362

* update version 1.0.27 (#418)

* Merge versions (#420)

* release 1.0.27 version (#419)

* feat(core): add migration between versions (EWC-379)

* feat(core): add cli help output (EWC-385)

* fix(bug): fix cli `microservice port-mapping-remove` error message (EWC-395)

* fix(bug): fix cli `diagnostics strace-update` parsing of boolean (EWC-389)

* fix(bug): fix cli `diagnostics strace-...` validation error messages (EWC-390)

* feat(core): add cli `diagnostics strace-info` microservice validation (EWC-392)

* refactor(core): replace sequelize (deprecated)find -> findOne (EWC-394)

* refactor(core): edit validation of flowId in delete flow service (EWC-388)

* feat(core): add validation of microserviceUuid in image snapshot services (EWC-393)

* fix(help): Fix rsa-key description in cli tunnel help

need to update description for parameter -k, --rsa-key in help for tunnel from 'Tunnel RSA key' to 'Path to tunnel RSA key'

Closes EWC-396

* fix(tunnel): if port range not provided in config use default values

default range: 2000-10000

Closes EWC-397

* fix(tests): rename logLimit -> logSize (#416)

create microservice request in Postman Collection diagnostics block

Closes EWC-401

* feat(npm-scripts): allow to use only one image on catalog item creation (#415)

Closes EWC-399

* fix(transactions): fix transaction validation if last method's arg is undefined (#414)

Closes EWC-400

* feat(npm-scripts): init db automatically after installation (#413)

Closes EWC-368

* fix(code): delete routes on microservice deletion

Closes EWC-362

* Update CHANGELOG.md

* Release of version 1.0.27

* test(core) unit tests for user-controller (EWC-382)

* docs(core) Remove swagger.yml, remove CLI docs in README, add PULL_REQUEST_TEMPLATE.md (#422)

* remove swagger.yml - its content moved to https://github.com/ioFog/iofog.org/blob/master/content/docs/1.0.0/controllers/rest-api.md

* Add PULL_REQUEST_TEMPLATE.md

* remove docs from README, instead use https://iofog.org/

* Maksimchepelev/bugs (#421)

* fix(cli): user can't update deviceScanFrequency via cli

deviceScanFrequency -> deviceFrequency in build cli data object

Closes EWC-350

* fix(catalog): forbid to create system microservices

Closes EWC-409

* fix(cli): forbid to delete connector when it used

Closes EWC-364

* fix(connector): add certificates on close port request

Closes EWC-411 EWC-406

* fix(cli): fix messages on incorrect requests

Closes EWC-403

* fix(catalog): add validation in catalog service

registryId validation
empty update object validation

Closes EWC-417

* changed connector error message variable

* test(core) unit tests for microservices & registry controllers (EWC-382) (#423)

* add build stage for release branch

* Pre-release 1.0.28 (#429)

* fix(bug) fixed system microservices (HAL, bluetooth) launch (EWC-413) (#424)

* fix(bug) added registry email validation (EWC-418)

* test(core) unit tests for iofog-controller (EWC-382) (#426)

* test(core) unit tests for flow & diagnostics controllers, updated postman collection & refactored diagnostics (EWC-382) (#427)

* bug(fix) CLI diagnostics: Incorrect error message is displayed when user try to get strace-info (#428)

* Release 1.0.28 [skip ci]

* Release 1.1.0 [skip ci]

* Update package.json

* Update CHANGELOG.md

* Release (#435)

* release merge (#433)

* Release 1.0.28

* EWC-379 migrations between versions (#410)

* Maksimchepelev/bugs (#411)

* EWC-385 cli helps' outputs

* EWC-395 cli `microservice port-mapping-remove` error message fix

* EWC-389 cli `diagnostics strace-update` correct parsing of boolean

* EWC-390 cli `diagnostics strace-...` correct validation error messages

* EWC-392 cli `diagnostics strace-info` microservice validation

* EWC-394 sequelize (deprecated)find -> findOne

* EWC-388 validation of flowId in delete flow service

* EWC-393 validation of microserviceUuid in image snapshot services

* Maksimchepelev/bugs (#412)

* fix(help): Fix rsa-key description in cli tunnel help

need to update description for parameter -k, --rsa-key in help for tunnel from 'Tunnel RSA key' to 'Path to tunnel RSA key'

Closes EWC-396

* fix(tunnel): if port range not provided in config use default values

default range: 2000-10000

Closes EWC-397

* fix(tests): rename logLimit -> logSize (#416)

create microservice request in Postman Collection diagnostics block

Closes EWC-401

* feat(npm-scripts): allow to use only one image on catalog item creation (#415)

Closes EWC-399

* fix(transactions): fix transaction validation if last method's arg is undefined (#414)

Closes EWC-400

* feat(npm-scripts): init db automatically after installation (#413)

Closes EWC-368

* Maksimchepelev/bugs (#417)

* fix(code): delete routes on microservice deletion

Closes EWC-362

* update version 1.0.27 (#418)

* Merge versions (#420)

* release 1.0.27 version (#419)

* feat(core): add migration between versions (EWC-379)

* feat(core): add cli help output (EWC-385)

* fix(bug): fix cli `microservice port-mapping-remove` error message (EWC-395)

* fix(bug): fix cli `diagnostics strace-update` parsing of boolean (EWC-389)

* fix(bug): fix cli `diagnostics strace-...` validation error messages (EWC-390)

* feat(core): add cli `diagnostics strace-info` microservice validation (EWC-392)

* refactor(core): replace sequelize (deprecated)find -> findOne (EWC-394)

* refactor(core): edit validation of flowId in delete flow service (EWC-388)

* feat(core): add validation of microserviceUuid in image snapshot services (EWC-393)

* fix(help): Fix rsa-key description in cli tunnel help

need to update description for parameter -k, --rsa-key in help for tunnel from 'Tunnel RSA key' to 'Path to tunnel RSA key'

Closes EWC-396

* fix(tunnel): if port range not provided in config use default values

default range: 2000-10000

Closes EWC-397

* fix(tests): rename logLimit -> logSize (#416)

create microservice request in Postman Collection diagnostics block

Closes EWC-401

* feat(npm-scripts): allow to use only one image on catalog item creation (#415)

Closes EWC-399

* fix(transactions): fix transaction validation if last method's arg is undefined (#414)

Closes EWC-400

* feat(npm-scripts): init db automatically after installation (#413)

Closes EWC-368

* fix(code): delete routes on microservice deletion

Closes EWC-362

* Update CHANGELOG.md

* Release of version 1.0.27

* test(core) unit tests for user-controller (EWC-382)

* docs(core) Remove swagger.yml, remove CLI docs in README, add PULL_REQUEST_TEMPLATE.md (#422)

* remove swagger.yml - its content moved to https://github.com/ioFog/iofog.org/blob/master/content/docs/1.0.0/controllers/rest-api.md

* Add PULL_REQUEST_TEMPLATE.md

* remove docs from README, instead use https://iofog.org/

* Maksimchepelev/bugs (#421)

* fix(cli): user can't update deviceScanFrequency via cli

deviceScanFrequency -> deviceFrequency in build cli data object

Closes EWC-350

* fix(catalog): forbid to create system microservices

Closes EWC-409

* fix(cli): forbid to delete connector when it used

Closes EWC-364

* fix(connector): add certificates on close port request

Closes EWC-411 EWC-406

* fix(cli): fix messages on incorrect requests

Closes EWC-403

* fix(catalog): add validation in catalog service

registryId validation
empty update object validation

Closes EWC-417

* changed connector error message variable

* test(core) unit tests for microservices & registry controllers (EWC-382) (#423)

* add build stage for release branch

* Pre-release 1.0.28 (#429)

* fix(bug) fixed system microservices (HAL, bluetooth) launch (EWC-413) (#424)

* fix(bug) added registry email validation (EWC-418)

* test(core) unit tests for iofog-controller (EWC-382) (#426)

* test(core) unit tests for flow & diagnostics controllers, updated postman collection & refactored diagnostics (EWC-382) (#427)

* bug(fix) CLI diagnostics: Incorrect error message is displayed when user try to get strace-info (#428)

* Release 1.0.28 [skip ci]

* Release 1.1.0 [skip ci]

* Update package.json

* Update CHANGELOG.md

* Update package.json

* Merge (#436)

* fix(bug) fixed system microservices (HAL, bluetooth) launch (EWC-413) (#424)

* fix(bug) added registry email validation (EWC-418)

* test(core) unit tests for iofog-controller (EWC-382) (#426)

* test(core) unit tests for flow & diagnostics controllers, updated postman collection & refactored diagnostics (EWC-382) (#427)

* bug(fix) CLI diagnostics: Incorrect error message is displayed when user try to get strace-info (#428)

* test(core) unit tests for catalog, controller and agent controllers (EWC-382) (#430)

* bug(fix) CLI diagnostics ftp: Incorrect error message is displayed when user try to get strace-info (EWC-431)

* Release 1.1.0 [skip ci]

* Update package.json

* Release 1.1.0 [skip ci]

* Update package.json

* remove automated release

* bug(fix) strace feature bug (EWC-421)

* bug(fix) fixed deprecation warnings (EWC-422) (#438)

* bug(fix) CLI diagnostics ftp: invalid microservice uuid

* bug(fix) CLI diagnostics ftp: invalid microservice id (update) (#440)

* bug(fix) CLI diagnostics ftp: invalid microservice id (update)

* bug(fix): update id to uuid

* bug(fix) iofog agent API: core network containers are returned when flow isn't active (EWC-424)

* test(core) unit tests progress for agent & access-token services (EWC-383) (#442)

* feat(npm-scripts): npm scripts improvements (EWC-358 EWC-430)

1. save configs during releases
2. migrate to new encryption algorithm

* bug(fix): microservices are shown after deleting user, new error message



* bug(fix): microservices are shown after deleting user, new error message (up test)

* bug(fix): microservices are shown after deleting user, new error message (up test2)

* feat(microservice): update change tracking on delete port mapping (#445)

Closes EWC-441

* version 1.0.31

* Epankou/bug network containers not removed ewc 424 (#450)

* EWC-418 added registry email validation

* EWC-421 strace feature bug

* EWC-421 strace feature bug fix

* bug(fix) iofog agent API: core network containers are returned when flow isn't active (EWC-424)

* bug(fix) microservice removal: port mapping removal (EWC-424)

* bug(fix) microservice removal: switched to const (EWC-424)

* test(core) unit tests for agent service progress (EWC-383) (#452)

* fix(cli): fix bug with generating access token for user in cli (#453)

Closes EWC-443

* test(core) unit tests for agent-service (EWC-383) (#455)

* bug(fix) fixed deprecated warning about Buffer constructor (EWC-422)

* test(core) unit tests for catalog service (EWC-383) (#458)

* Maksimchepelev/bugs (#457)

* fix(cli): fix validation on delete connector

Closes EWC-447

* fix(cli): fix data types and descriptions in help

'... settings JSON file' -> 'Path to ... settings JSON file'
flowId and
catalogId type 'string' -> 'number' in help

Closes EWC-445 EWC-446

* Maksimchepelev/bugs (#459)

* fix(iofog): add validation for version command

compare version command with isReadyToUpgrade and isReadyToRollback
fields

Closes EWC-448

* fix(code): fix logger is not defined error in app-helper

Closes EWC-397

* test(core) unit tests for change-tracking service (EWC-383) (#460)

* version 1.0.32 (#461)

* fix(iofog): add validation for version command (#463)

* fix(iofog): add validation for version command

compare version command with isReadyToUpgrade and isReadyToRollback
fields

Closes EWC-448

* fix(cli): fix data types and descriptions in help

'... settings JSON file' -> 'Path to ... settings JSON file'
flowId and
catalogId type 'string' -> 'number' in help

Closes EWC-445 EWC-446

* test(core) unit tests for connector & controller services (EWC-383) (#464)

* test(core) unit tests for diagnostic service (EWC-383) (#465)

* Epankou/bug route removal ewc 374 (#466)

* EWC-418 added registry email validation

* EWC-421 strace feature bug

* EWC-421 strace feature bug fix

* bug(fix) iofog agent API: core network containers are returned when flow isn't active (EWC-424)

* bug(fix) microservice removal: port mapping removal (EWC-424)

* bug(fix) microservice removal: switched to const (EWC-424)

* bug(fix) routes removal: added routes update on connector update (EWC-374)

* bug(fix) routes removal: added routes update on connector update (EWC-374)

* bug(fix) tests (EWC-374)

* bug(fix) create connectorPortService (EWC-374)

* bug(fix) tests (EWC-374)

* bug(fix) refactoring (EWC-374)

* test(core) unit tests for email activation service (EWC-383) (#468)

* test(core) unit tests for flow service (EWC-383) (#469)

* test(core) unit tests for iofog service (EWC-383) (#470)

* Epankou/bug hal usb cli ewc 449 (#471)

* EWC-418 added registry email validation

* EWC-421 strace feature bug

* EWC-421 strace feature bug fix

* bug(fix) iofog agent API: core network containers are returned when flow isn't active (EWC-424)

* bug(fix) microservice removal: port mapping removal (EWC-424)

* bug(fix) microservice removal: switched to const (EWC-424)

* bug(fix) routes removal: added routes update on connector update (EWC-374)

* bug(fix) routes removal: added routes update on connector update (EWC-374)

* bug(fix) tests (EWC-374)

* bug(fix) create connectorPortService (EWC-374)

* bug(fix) tests (EWC-374)

* bug(fix) refactoring (EWC-374)

* bug(fix) usb hal info: fixed cli usb function (EWC-449)

* version 1.0.33 (#472)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants