Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

FAB-177 get rid of whoami#249

Merged
mcriscolo-cs merged 1 commit intodevelopfrom
FAB-177-whoami
Oct 30, 2020
Merged

FAB-177 get rid of whoami#249
mcriscolo-cs merged 1 commit intodevelopfrom
FAB-177-whoami

Conversation

@mcriscolo-cs
Copy link
Copy Markdown
Contributor

Checklist:

Please check you fulfill ALL of the relevant checkboxes

  • Notified docs of any potential USER-facing changes
  • Added short description of the change - with relevant motivation and context.
  • Branch has the ticket number in its name (along with a ticket summary)
  • Commented the code, particularly in hard-to-understand areas
  • Added tests that prove my fix is effective or that my feature works
  • Ran npm test and it passes
  • Changes generate no new warnings

@mcriscolo-cs mcriscolo-cs merged commit 2ff2f3a into develop Oct 30, 2020
@mcriscolo-cs mcriscolo-cs deleted the FAB-177-whoami branch October 30, 2020 07:26
rsrivastava-cs pushed a commit that referenced this pull request Nov 3, 2020
* Rebased marketplace commands and bump to v0.3.23 (#206)

* Rebased marketplace commands and bump to v0.3.23

* Fix package-lock.json to have new generator version

* removed unused imports

* removed unused imports

* bumped generator version to `0.3.24`

* Bump version to 0.12.19 (#211)

* Improvements to graph client and command client. (#213)

* Revved generator version and cli version.

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Remove cortex-processors commands (#166)

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Adds support for graph and profile APIs

* Return error message from content upload properly

* Bump generator-cortex to pick up with_type change

* Support graph query in CLI

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Adds CLI support for Cortex Experiments

* Adds progress bar to graph event publish for files

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Bump generator-cortex to pick up with_type change

* Return error message from content upload properly

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Fixed bugs in list-services update (#174)

* Revved generator version and cli version.

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Remove cortex-processors commands (#166)

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Fixed bugs in list-services update

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Updated to handle parameters being null

* Updated gitignore file to not include .DS_Store files

* Return error message from content upload properly

* Bump generator-cortex to pick up with_type change

* Made code fixes per Davids suggestions

* Update agents.js

* Update catalog.js

* Update .gitignore

* Made changes from Davids review

* Reverted gitignore

* Update .gitignore

* Update .gitignore

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* Updated gitignore file to not include .DS_Store files

* Made code fixes per Davids suggestions

* Update .gitignore

* Update .gitignore

* Update .gitignore

* first working pass, seems like all client methods are now proxied (#185)

* first working pass, seems like all client methods are now proxied

* added bypass proxy env variable

* 0.12.15

* Adds support for publishing graph events from plain old JSON lines files

* Update NPM deps post-merge with develop

* Fixes event publish count in CLI progress bar.  Adds graph publish retry support.

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Update NPM deps post-merge with develop

* Fixes event publish count in CLI progress bar.  Adds graph publish retry support.

* Added ability to batch entity events when publishing to the graph api based on REST request size limits. Also added cli command to list profile versions.

* Added command to list profile versions. Also more limits when querying profiles.

* Getting auto attributes to consider lists and dictionaries to dimensionals.

* [CCF-12214] Specify custom HTTP User-Agent header value for all requests

* 0.13.0

* [CCF-11868] Add scaleCount option to action deploy

* 0.14.0

* Nein, marketplace

* 1.0.0

* [CCF-12231] Fix endpoint specification for deleting a profile

* 1.0.1

* [CCF-12390] Update deps to pass audit

* 1.0.2

* rebase master, fixup package-lock.json

* Fix api end (#224)

* Remove api endpoint

* clean up

* Ccf 12660 develop rebase (#226)

* CCF-12660 Add pod spec option to actions deploy command

* CCF-12660 Add pod spec option to actions deploy command

* CCF-12660 clean up verbage

* CCF-12660 cmd to command

* CCF-12660 update to 1.0.3

* CCF-12660 remove vcpu and memory option parsing

* Update dependencies and remove deprecation warnings (#223)

* Update dependencies and remove deprecation warnings

Joi method change

remove dead code

remove dead test

* Version bump mocha, uuid

* Added missing split dep, remove unused url dep

* deprecated the `--kind` and `--code` options on the actions subcommand, no longer pass the option from the client to the command and also displays a warning when the options are still passed in (#228)

* Ccf 12859 cortextoken warning (#230)

* Add node version to package json to ensure we have a new enough node version, warn if use is using CORTEX_TOKEN

* CCF-12859 Add message to warn users that CORTEX_TOKEN is set
Require NODE 10.x or higher!!
Bump package.json for vulns

* Fix default behavior for cortex configure with new isDefault: true from commander

* Fix missing options on cortex configure

* CCF-12822 npm doesnot enforce anything, add preinstall check  (#231)

* CCF-12822 npm doesnot enforce anything, add preinstall check

* pack-lock

* Bump builder image from c12e/nodejs:dev-8.11.0 to 10.21.0

* CCF-12767: adding deprecated warnings to project and skills generate commands (#235)

* bump version to 1.1.1 (#237)

* FAB-30 - Added new command `cortex deploy` to export Cortex artifacts for CI deployment

* FAB-30 - Added new command `cortex deploy` to export Cortex artifacts for CI deployment

* added

* FAB-285 SSO auth, temp whoAmI, project option support (#240)

* FAB-285 SSO auth, temp whoAmI, project option support

* FAB-285 SSO fix unit tests

* FAB-285 SSO add project option to every command

* FAB-285 cleanup issuance, process env and token exp (#242)

* FAB-285 cleanup issuance, process env and token exp

* FAB-285 handle auth error (#243)

* FAB-285 handle auth error

* FAB-285 better status code

* Feature/fab183 projects (#241)

* WIP to fix non JSON query responses on CLI

* First pass at emitting markdown for cortex cli docs

* Quote <> in text, replace <br> with <br />

* added header

* remove newline line 1

* Last tweaks generate_docs.js

* WIP

* WIP
skills, actions, agents, snapshots working using projects.
Remove request and using got
Removed v2 jobs, tasks, envirnonments, instances
First pass on connections, content, datasets

* Added linting, fixes linting errors

* Fixed unit tests, re-added user agent

* update for url changes

* Fixed bad url content upload

* Missed adding projectId in secrets requests, renamed variables -> secrets, fixed error messages I hope

* Fix cortex types list

* Removed cortex datasets generate

* URI typo

* rebase/linting

* Rebase on dev, added redirect hook to properly handle server-server auth resp

* Fab 328 project commands (#244)

* Add initial cli commands for projects

* cleaup

linting

* FAB-177 rbac tools initial (#245)

* FAB-177 rbac tools initial

* FAB-177 rbac got, options, messaging

* FAB-177 lint, copyright

* Fixed auth header typo, added CORTEX_NO_AUTH=true env var for develop… (#246)

* Fixed auth header typo, added CORTEX_NO_AUTH=true env var for developer sanity

* Fix error handling saving types

* Added alias for describe

* Remove dead commands, sort command help (#247)

* Added missing get aliases (#248)

* Added missing get aliases

* Rename projects create project save, fix promise error

* FAB-177 get rid of whoami (#249)

* FAB-177 remove list roles by user (#250)

* FAB-177 remove list roles by user

* FAB-177 including configure token command to get access token

* set versio to 2.0.0-a.1 (#251)

* FAB-177 error handling (#253)

* Merge branch 'develop' into CM-514

# Conflicts:
#	bin/cortex-configure.js
#	bin/cortex-project.js
#	bin/cortex-skills.js
#	package-lock.json
#	package.json
#	src/commander.js
#	src/commands/project.js
#	src/commands/skills.js

Co-authored-by: Christine Draper <[email protected]>
Co-authored-by: clee <[email protected]>
Co-authored-by: Matt Sanchez <[email protected]>
Co-authored-by: David Aldridge <[email protected]>
Co-authored-by: Johan Gielstra <[email protected]>
Co-authored-by: ljha <[email protected]>
klouis-cs pushed a commit that referenced this pull request Nov 25, 2020
* Rebased marketplace commands and bump to v0.3.23 (#206)

* Rebased marketplace commands and bump to v0.3.23

* Fix package-lock.json to have new generator version

* removed unused imports

* removed unused imports

* bumped generator version to `0.3.24`

* Bump version to 0.12.19 (#211)

* Improvements to graph client and command client. (#213)

* Revved generator version and cli version.

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Remove cortex-processors commands (#166)

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Adds support for graph and profile APIs

* Return error message from content upload properly

* Bump generator-cortex to pick up with_type change

* Support graph query in CLI

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Adds CLI support for Cortex Experiments

* Adds progress bar to graph event publish for files

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Bump generator-cortex to pick up with_type change

* Return error message from content upload properly

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Fixed bugs in list-services update (#174)

* Revved generator version and cli version.

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Remove cortex-processors commands (#166)

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Fixed bugs in list-services update

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Updated to handle parameters being null

* Updated gitignore file to not include .DS_Store files

* Return error message from content upload properly

* Bump generator-cortex to pick up with_type change

* Made code fixes per Davids suggestions

* Update agents.js

* Update catalog.js

* Update .gitignore

* Made changes from Davids review

* Reverted gitignore

* Update .gitignore

* Update .gitignore

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* Updated gitignore file to not include .DS_Store files

* Made code fixes per Davids suggestions

* Update .gitignore

* Update .gitignore

* Update .gitignore

* first working pass, seems like all client methods are now proxied (#185)

* first working pass, seems like all client methods are now proxied

* added bypass proxy env variable

* 0.12.15

* Adds support for publishing graph events from plain old JSON lines files

* Update NPM deps post-merge with develop

* Fixes event publish count in CLI progress bar.  Adds graph publish retry support.

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Update NPM deps post-merge with develop

* Fixes event publish count in CLI progress bar.  Adds graph publish retry support.

* Added ability to batch entity events when publishing to the graph api based on REST request size limits. Also added cli command to list profile versions.

* Added command to list profile versions. Also more limits when querying profiles.

* Getting auto attributes to consider lists and dictionaries to dimensionals.

* [CCF-12214] Specify custom HTTP User-Agent header value for all requests

* 0.13.0

* [CCF-11868] Add scaleCount option to action deploy

* 0.14.0

* Nein, marketplace

* 1.0.0

* [CCF-12231] Fix endpoint specification for deleting a profile

* 1.0.1

* [CCF-12390] Update deps to pass audit

* 1.0.2

* rebase master, fixup package-lock.json

* Fix api end (#224)

* Remove api endpoint

* clean up

* Ccf 12660 develop rebase (#226)

* CCF-12660 Add pod spec option to actions deploy command

* CCF-12660 Add pod spec option to actions deploy command

* CCF-12660 clean up verbage

* CCF-12660 cmd to command

* CCF-12660 update to 1.0.3

* CCF-12660 remove vcpu and memory option parsing

* Update dependencies and remove deprecation warnings (#223)

* Update dependencies and remove deprecation warnings

Joi method change

remove dead code

remove dead test

* Version bump mocha, uuid

* Added missing split dep, remove unused url dep

* deprecated the `--kind` and `--code` options on the actions subcommand, no longer pass the option from the client to the command and also displays a warning when the options are still passed in (#228)

* Ccf 12859 cortextoken warning (#230)

* Add node version to package json to ensure we have a new enough node version, warn if use is using CORTEX_TOKEN

* CCF-12859 Add message to warn users that CORTEX_TOKEN is set
Require NODE 10.x or higher!!
Bump package.json for vulns

* Fix default behavior for cortex configure with new isDefault: true from commander

* Fix missing options on cortex configure

* CCF-12822 npm doesnot enforce anything, add preinstall check  (#231)

* CCF-12822 npm doesnot enforce anything, add preinstall check

* pack-lock

* Bump builder image from c12e/nodejs:dev-8.11.0 to 10.21.0

* CCF-12767: adding deprecated warnings to project and skills generate commands (#235)

* bump version to 1.1.1 (#237)

* FAB-30 - Added new command `cortex deploy` to export Cortex artifacts for CI deployment

* FAB-30 - Added new command `cortex deploy` to export Cortex artifacts for CI deployment

* added

* FAB-285 SSO auth, temp whoAmI, project option support (#240)

* FAB-285 SSO auth, temp whoAmI, project option support

* FAB-285 SSO fix unit tests

* FAB-285 SSO add project option to every command

* FAB-285 cleanup issuance, process env and token exp (#242)

* FAB-285 cleanup issuance, process env and token exp

* FAB-285 handle auth error (#243)

* FAB-285 handle auth error

* FAB-285 better status code

* Feature/fab183 projects (#241)

* WIP to fix non JSON query responses on CLI

* First pass at emitting markdown for cortex cli docs

* Quote <> in text, replace <br> with <br />

* added header

* remove newline line 1

* Last tweaks generate_docs.js

* WIP

* WIP
skills, actions, agents, snapshots working using projects.
Remove request and using got
Removed v2 jobs, tasks, envirnonments, instances
First pass on connections, content, datasets

* Added linting, fixes linting errors

* Fixed unit tests, re-added user agent

* update for url changes

* Fixed bad url content upload

* Missed adding projectId in secrets requests, renamed variables -> secrets, fixed error messages I hope

* Fix cortex types list

* Removed cortex datasets generate

* URI typo

* rebase/linting

* Rebase on dev, added redirect hook to properly handle server-server auth resp

* Fab 328 project commands (#244)

* Add initial cli commands for projects

* cleaup

linting

* FAB-177 rbac tools initial (#245)

* FAB-177 rbac tools initial

* FAB-177 rbac got, options, messaging

* FAB-177 lint, copyright

* Fixed auth header typo, added CORTEX_NO_AUTH=true env var for develop… (#246)

* Fixed auth header typo, added CORTEX_NO_AUTH=true env var for developer sanity

* Fix error handling saving types

* Added alias for describe

* Remove dead commands, sort command help (#247)

* Added missing get aliases (#248)

* Added missing get aliases

* Rename projects create project save, fix promise error

* FAB-177 get rid of whoami (#249)

* FAB-177 remove list roles by user (#250)

* FAB-177 remove list roles by user

* FAB-177 including configure token command to get access token

* set versio to 2.0.0-a.1 (#251)

* FAB-177 error handling (#253)

* Add ability to export snapshot as a k8s agent + skills CRs (#256)

* Add ability to export snapshot as a k8s agent + skills CRs

* Fix extra args bug, fix error handling get-snapshot

* Fix empty --output issue

* FAB-342 deny action flag and external group commands (#257)

* FAB-342 deny action flag and external group commands

* FAB-342 package update and lint

* FAB-342 external group endpoint change

* fix travis build (#258)

* GQL type name changed from ProjectInput -> CreateProjectInput (#260)

* using lodash whn getting connection params (#259)

* fixing lodash commands for testing and saving a connection (#261)

Co-authored-by: Christine Draper <[email protected]>
Co-authored-by: clee <[email protected]>
Co-authored-by: Matt Sanchez <[email protected]>
Co-authored-by: David Aldridge <[email protected]>
Co-authored-by: mcriscolo-cs <[email protected]>
Co-authored-by: ljha <[email protected]>
klouis-cs pushed a commit that referenced this pull request Nov 25, 2020
* Rebased marketplace commands and bump to v0.3.23 (#206)

* Rebased marketplace commands and bump to v0.3.23

* Fix package-lock.json to have new generator version

* removed unused imports

* removed unused imports

* bumped generator version to `0.3.24`

* Bump version to 0.12.19 (#211)

* Improvements to graph client and command client. (#213)

* Revved generator version and cli version.

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Remove cortex-processors commands (#166)

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Adds support for graph and profile APIs

* Return error message from content upload properly

* Bump generator-cortex to pick up with_type change

* Support graph query in CLI

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Adds CLI support for Cortex Experiments

* Adds progress bar to graph event publish for files

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Bump generator-cortex to pick up with_type change

* Return error message from content upload properly

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Fixed bugs in list-services update (#174)

* Revved generator version and cli version.

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Remove cortex-processors commands (#166)

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Fixed bugs in list-services update

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Updated to handle parameters being null

* Updated gitignore file to not include .DS_Store files

* Return error message from content upload properly

* Bump generator-cortex to pick up with_type change

* Made code fixes per Davids suggestions

* Update agents.js

* Update catalog.js

* Update .gitignore

* Made changes from Davids review

* Reverted gitignore

* Update .gitignore

* Update .gitignore

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* Updated gitignore file to not include .DS_Store files

* Made code fixes per Davids suggestions

* Update .gitignore

* Update .gitignore

* Update .gitignore

* first working pass, seems like all client methods are now proxied (#185)

* first working pass, seems like all client methods are now proxied

* added bypass proxy env variable

* 0.12.15

* Adds support for publishing graph events from plain old JSON lines files

* Update NPM deps post-merge with develop

* Fixes event publish count in CLI progress bar.  Adds graph publish retry support.

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Update NPM deps post-merge with develop

* Fixes event publish count in CLI progress bar.  Adds graph publish retry support.

* Added ability to batch entity events when publishing to the graph api based on REST request size limits. Also added cli command to list profile versions.

* Added command to list profile versions. Also more limits when querying profiles.

* Getting auto attributes to consider lists and dictionaries to dimensionals.

* [CCF-12214] Specify custom HTTP User-Agent header value for all requests

* 0.13.0

* [CCF-11868] Add scaleCount option to action deploy

* 0.14.0

* Nein, marketplace

* 1.0.0

* [CCF-12231] Fix endpoint specification for deleting a profile

* 1.0.1

* [CCF-12390] Update deps to pass audit

* 1.0.2

* rebase master, fixup package-lock.json

* Fix api end (#224)

* Remove api endpoint

* clean up

* Ccf 12660 develop rebase (#226)

* CCF-12660 Add pod spec option to actions deploy command

* CCF-12660 Add pod spec option to actions deploy command

* CCF-12660 clean up verbage

* CCF-12660 cmd to command

* CCF-12660 update to 1.0.3

* CCF-12660 remove vcpu and memory option parsing

* Update dependencies and remove deprecation warnings (#223)

* Update dependencies and remove deprecation warnings

Joi method change

remove dead code

remove dead test

* Version bump mocha, uuid

* Added missing split dep, remove unused url dep

* deprecated the `--kind` and `--code` options on the actions subcommand, no longer pass the option from the client to the command and also displays a warning when the options are still passed in (#228)

* Ccf 12859 cortextoken warning (#230)

* Add node version to package json to ensure we have a new enough node version, warn if use is using CORTEX_TOKEN

* CCF-12859 Add message to warn users that CORTEX_TOKEN is set
Require NODE 10.x or higher!!
Bump package.json for vulns

* Fix default behavior for cortex configure with new isDefault: true from commander

* Fix missing options on cortex configure

* CCF-12822 npm doesnot enforce anything, add preinstall check  (#231)

* CCF-12822 npm doesnot enforce anything, add preinstall check

* pack-lock

* Bump builder image from c12e/nodejs:dev-8.11.0 to 10.21.0

* CCF-12767: adding deprecated warnings to project and skills generate commands (#235)

* bump version to 1.1.1 (#237)

* FAB-30 - Added new command `cortex deploy` to export Cortex artifacts for CI deployment

* FAB-30 - Added new command `cortex deploy` to export Cortex artifacts for CI deployment

* added

* FAB-285 SSO auth, temp whoAmI, project option support (#240)

* FAB-285 SSO auth, temp whoAmI, project option support

* FAB-285 SSO fix unit tests

* FAB-285 SSO add project option to every command

* FAB-285 cleanup issuance, process env and token exp (#242)

* FAB-285 cleanup issuance, process env and token exp

* FAB-285 handle auth error (#243)

* FAB-285 handle auth error

* FAB-285 better status code

* Feature/fab183 projects (#241)

* WIP to fix non JSON query responses on CLI

* First pass at emitting markdown for cortex cli docs

* Quote <> in text, replace <br> with <br />

* added header

* remove newline line 1

* Last tweaks generate_docs.js

* WIP

* WIP
skills, actions, agents, snapshots working using projects.
Remove request and using got
Removed v2 jobs, tasks, envirnonments, instances
First pass on connections, content, datasets

* Added linting, fixes linting errors

* Fixed unit tests, re-added user agent

* update for url changes

* Fixed bad url content upload

* Missed adding projectId in secrets requests, renamed variables -> secrets, fixed error messages I hope

* Fix cortex types list

* Removed cortex datasets generate

* URI typo

* rebase/linting

* Rebase on dev, added redirect hook to properly handle server-server auth resp

* Fab 328 project commands (#244)

* Add initial cli commands for projects

* cleaup

linting

* FAB-177 rbac tools initial (#245)

* FAB-177 rbac tools initial

* FAB-177 rbac got, options, messaging

* FAB-177 lint, copyright

* Fixed auth header typo, added CORTEX_NO_AUTH=true env var for develop… (#246)

* Fixed auth header typo, added CORTEX_NO_AUTH=true env var for developer sanity

* Fix error handling saving types

* Added alias for describe

* Remove dead commands, sort command help (#247)

* Added missing get aliases (#248)

* Added missing get aliases

* Rename projects create project save, fix promise error

* FAB-177 get rid of whoami (#249)

* FAB-177 remove list roles by user (#250)

* FAB-177 remove list roles by user

* FAB-177 including configure token command to get access token

* set versio to 2.0.0-a.1 (#251)

* FAB-177 error handling (#253)

* Add ability to export snapshot as a k8s agent + skills CRs (#256)

* Add ability to export snapshot as a k8s agent + skills CRs

* Fix extra args bug, fix error handling get-snapshot

* Fix empty --output issue

* FAB-342 deny action flag and external group commands (#257)

* FAB-342 deny action flag and external group commands

* FAB-342 package update and lint

* FAB-342 external group endpoint change

* fix travis build (#258)

* GQL type name changed from ProjectInput -> CreateProjectInput (#260)

* using lodash whn getting connection params (#259)

* fixing lodash commands for testing and saving a connection (#261)

* Linting, node version bump (#264)

Co-authored-by: Christine Draper <[email protected]>
Co-authored-by: clee <[email protected]>
Co-authored-by: Matt Sanchez <[email protected]>
Co-authored-by: David Aldridge <[email protected]>
Co-authored-by: mcriscolo-cs <[email protected]>
Co-authored-by: ljha <[email protected]>
klouis-cs pushed a commit that referenced this pull request Dec 7, 2020
* Rebased marketplace commands and bump to v0.3.23 (#206)

* Rebased marketplace commands and bump to v0.3.23

* Fix package-lock.json to have new generator version

* removed unused imports

* removed unused imports

* bumped generator version to `0.3.24`

* Bump version to 0.12.19 (#211)

* Improvements to graph client and command client. (#213)

* Revved generator version and cli version.

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Remove cortex-processors commands (#166)

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Adds support for graph and profile APIs

* Return error message from content upload properly

* Bump generator-cortex to pick up with_type change

* Support graph query in CLI

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Adds CLI support for Cortex Experiments

* Adds progress bar to graph event publish for files

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Bump generator-cortex to pick up with_type change

* Return error message from content upload properly

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Fixed bugs in list-services update (#174)

* Revved generator version and cli version.

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Remove cortex-processors commands (#166)

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Fixed bugs in list-services update

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Updated to handle parameters being null

* Updated gitignore file to not include .DS_Store files

* Return error message from content upload properly

* Bump generator-cortex to pick up with_type change

* Made code fixes per Davids suggestions

* Update agents.js

* Update catalog.js

* Update .gitignore

* Made changes from Davids review

* Reverted gitignore

* Update .gitignore

* Update .gitignore

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* Updated gitignore file to not include .DS_Store files

* Made code fixes per Davids suggestions

* Update .gitignore

* Update .gitignore

* Update .gitignore

* first working pass, seems like all client methods are now proxied (#185)

* first working pass, seems like all client methods are now proxied

* added bypass proxy env variable

* 0.12.15

* Adds support for publishing graph events from plain old JSON lines files

* Update NPM deps post-merge with develop

* Fixes event publish count in CLI progress bar.  Adds graph publish retry support.

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Update NPM deps post-merge with develop

* Fixes event publish count in CLI progress bar.  Adds graph publish retry support.

* Added ability to batch entity events when publishing to the graph api based on REST request size limits. Also added cli command to list profile versions.

* Added command to list profile versions. Also more limits when querying profiles.

* Getting auto attributes to consider lists and dictionaries to dimensionals.

* [CCF-12214] Specify custom HTTP User-Agent header value for all requests

* 0.13.0

* [CCF-11868] Add scaleCount option to action deploy

* 0.14.0

* Nein, marketplace

* 1.0.0

* [CCF-12231] Fix endpoint specification for deleting a profile

* 1.0.1

* [CCF-12390] Update deps to pass audit

* 1.0.2

* rebase master, fixup package-lock.json

* Fix api end (#224)

* Remove api endpoint

* clean up

* Ccf 12660 develop rebase (#226)

* CCF-12660 Add pod spec option to actions deploy command

* CCF-12660 Add pod spec option to actions deploy command

* CCF-12660 clean up verbage

* CCF-12660 cmd to command

* CCF-12660 update to 1.0.3

* CCF-12660 remove vcpu and memory option parsing

* Update dependencies and remove deprecation warnings (#223)

* Update dependencies and remove deprecation warnings

Joi method change

remove dead code

remove dead test

* Version bump mocha, uuid

* Added missing split dep, remove unused url dep

* deprecated the `--kind` and `--code` options on the actions subcommand, no longer pass the option from the client to the command and also displays a warning when the options are still passed in (#228)

* Ccf 12859 cortextoken warning (#230)

* Add node version to package json to ensure we have a new enough node version, warn if use is using CORTEX_TOKEN

* CCF-12859 Add message to warn users that CORTEX_TOKEN is set
Require NODE 10.x or higher!!
Bump package.json for vulns

* Fix default behavior for cortex configure with new isDefault: true from commander

* Fix missing options on cortex configure

* CCF-12822 npm doesnot enforce anything, add preinstall check  (#231)

* CCF-12822 npm doesnot enforce anything, add preinstall check

* pack-lock

* Bump builder image from c12e/nodejs:dev-8.11.0 to 10.21.0

* CCF-12767: adding deprecated warnings to project and skills generate commands (#235)

* bump version to 1.1.1 (#237)

* FAB-30 - Added new command `cortex deploy` to export Cortex artifacts for CI deployment

* FAB-30 - Added new command `cortex deploy` to export Cortex artifacts for CI deployment

* added

* FAB-285 SSO auth, temp whoAmI, project option support (#240)

* FAB-285 SSO auth, temp whoAmI, project option support

* FAB-285 SSO fix unit tests

* FAB-285 SSO add project option to every command

* FAB-285 cleanup issuance, process env and token exp (#242)

* FAB-285 cleanup issuance, process env and token exp

* FAB-285 handle auth error (#243)

* FAB-285 handle auth error

* FAB-285 better status code

* Feature/fab183 projects (#241)

* WIP to fix non JSON query responses on CLI

* First pass at emitting markdown for cortex cli docs

* Quote <> in text, replace <br> with <br />

* added header

* remove newline line 1

* Last tweaks generate_docs.js

* WIP

* WIP
skills, actions, agents, snapshots working using projects.
Remove request and using got
Removed v2 jobs, tasks, envirnonments, instances
First pass on connections, content, datasets

* Added linting, fixes linting errors

* Fixed unit tests, re-added user agent

* update for url changes

* Fixed bad url content upload

* Missed adding projectId in secrets requests, renamed variables -> secrets, fixed error messages I hope

* Fix cortex types list

* Removed cortex datasets generate

* URI typo

* rebase/linting

* Rebase on dev, added redirect hook to properly handle server-server auth resp

* Fab 328 project commands (#244)

* Add initial cli commands for projects

* cleaup

linting

* FAB-177 rbac tools initial (#245)

* FAB-177 rbac tools initial

* FAB-177 rbac got, options, messaging

* FAB-177 lint, copyright

* Fixed auth header typo, added CORTEX_NO_AUTH=true env var for develop… (#246)

* Fixed auth header typo, added CORTEX_NO_AUTH=true env var for developer sanity

* Fix error handling saving types

* Added alias for describe

* Remove dead commands, sort command help (#247)

* Added missing get aliases (#248)

* Added missing get aliases

* Rename projects create project save, fix promise error

* FAB-177 get rid of whoami (#249)

* FAB-177 remove list roles by user (#250)

* FAB-177 remove list roles by user

* FAB-177 including configure token command to get access token

* set versio to 2.0.0-a.1 (#251)

* FAB-177 error handling (#253)

* cortex skills generate command added

* formatting fix

* generate skill command based on plopjs

* skill type template

* skill generation templates added

* cmd description

* removed unused generate-cortex dependencies

* Add ability to export snapshot as a k8s agent + skills CRs (#256)

* Add ability to export snapshot as a k8s agent + skills CRs

* Fix extra args bug, fix error handling get-snapshot

* Fix empty --output issue

* FAB-342 deny action flag and external group commands (#257)

* FAB-342 deny action flag and external group commands

* FAB-342 package update and lint

* FAB-342 external group endpoint change

* fix travis build (#258)

* GQL type name changed from ProjectInput -> CreateProjectInput (#260)

* using lodash whn getting connection params (#259)

* Added readme and removed deploy.sh. Described deployment in readme

* fixing lodash commands for testing and saving a connection (#261)

* Linting, node version bump (#264)

* Update cortex-users.js

* Fix specific typo

* roless typo fixed

* Update cortex-profiles.js

* Fix agent validation output (#267)

* Clean up (#268)

* Remove references to environmentName

* remove listtrigger command

* remove dead commands, add skill invoke command

* remove dataets.*, connection test/query

* invokeSkill fixes (#269)

* renamed __main__.py to main.py due to conflict with __main__ module name reserved in python

* Fix undefined (#270)

* Allow json file for action save

* Fix skill invoke output, get-snapshot output, fix action save/deploy

* Wasnot passing params, pass it and simplify request a bit

* linting

* remove unquote

* formatting changes

* FAB-673 Fix invoke skill JSON parse issue, fix skill save promise issue

* added auth header

* Update package.json

Version bump

* describe agent snapshot is returning JSON but earlier it was returning response, this broke deploy snapshot. Fixing this with updated agent describe snapshot

Co-authored-by: Christine Draper <[email protected]>
Co-authored-by: clee <[email protected]>
Co-authored-by: Matt Sanchez <[email protected]>
Co-authored-by: David Aldridge <[email protected]>
Co-authored-by: mcriscolo-cs <[email protected]>
Co-authored-by: ljha <[email protected]>
Co-authored-by: yreddy-CS <[email protected]>
klouis-cs pushed a commit that referenced this pull request Dec 16, 2020
* Rebased marketplace commands and bump to v0.3.23 (#206)

* Rebased marketplace commands and bump to v0.3.23

* Fix package-lock.json to have new generator version

* removed unused imports

* removed unused imports

* bumped generator version to `0.3.24`

* Bump version to 0.12.19 (#211)

* Improvements to graph client and command client. (#213)

* Revved generator version and cli version.

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Remove cortex-processors commands (#166)

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Adds support for graph and profile APIs

* Return error message from content upload properly

* Bump generator-cortex to pick up with_type change

* Support graph query in CLI

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Adds CLI support for Cortex Experiments

* Adds progress bar to graph event publish for files

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Bump generator-cortex to pick up with_type change

* Return error message from content upload properly

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Fixed bugs in list-services update (#174)

* Revved generator version and cli version.

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Remove cortex-processors commands (#166)

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Updated list-services command to display the parameter names/types as well (#171)

* CCF-9783 reverting changes to agent and catalog (#173)

* Fixed bugs in list-services update

* Remove --timeout option from actions deploy (#175)

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* Updated to handle parameters being null

* Updated gitignore file to not include .DS_Store files

* Return error message from content upload properly

* Bump generator-cortex to pick up with_type change

* Made code fixes per Davids suggestions

* Update agents.js

* Update catalog.js

* Update .gitignore

* Made changes from Davids review

* Reverted gitignore

* Update .gitignore

* Update .gitignore

* created template checklist as POC

* updated pull_request_template

* Update pull_request_template.md

* Ccf 9171 memory vcpu mismatch (#155)

* don't use default command line params for memory and vcpus

* 0.12.9

* Bump lodash for vunerabilities
CCF-9252 update generator for linux

* CCF-9376 update generator version to 0.3.18 (#163)

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* Updated gitignore file to not include .DS_Store files

* Made code fixes per Davids suggestions

* Update .gitignore

* Update .gitignore

* Update .gitignore

* first working pass, seems like all client methods are now proxied (#185)

* first working pass, seems like all client methods are now proxied

* added bypass proxy env variable

* 0.12.15

* Adds support for publishing graph events from plain old JSON lines files

* Update NPM deps post-merge with develop

* Fixes event publish count in CLI progress bar.  Adds graph publish retry support.

* Ccf 9955 configure url (#176)

* add protocol prefix if one is missing

* 0.12.14

* CCF-9286: return instanceId in the message when promoting a snapshot … (#162)

* CCF-9286: return instanceId in the message when promoting a snapshot to an environment that was being returned by the api response but not getting included in the cli response

* updated message with review comments

* fixing undefined error when promoting a snapshot to an environment, instanceId is under `response.message.instanceId` (#164)

* working recursive upload of directory (#165)

* working recursive upload of directory

* 0.12.12

* Add agents list-snapshot-instances (#168)

* Chunk directory upload (#169)

* use sequential chunks of files to upload

* 0.12.13

* Fix invalid query param on list snap instances (#170)

* Update NPM deps post-merge with develop

* Fixes event publish count in CLI progress bar.  Adds graph publish retry support.

* Added ability to batch entity events when publishing to the graph api based on REST request size limits. Also added cli command to list profile versions.

* Added command to list profile versions. Also more limits when querying profiles.

* Getting auto attributes to consider lists and dictionaries to dimensionals.

* [CCF-12214] Specify custom HTTP User-Agent header value for all requests

* 0.13.0

* [CCF-11868] Add scaleCount option to action deploy

* 0.14.0

* Nein, marketplace

* 1.0.0

* [CCF-12231] Fix endpoint specification for deleting a profile

* 1.0.1

* [CCF-12390] Update deps to pass audit

* 1.0.2

* rebase master, fixup package-lock.json

* Fix api end (#224)

* Remove api endpoint

* clean up

* Ccf 12660 develop rebase (#226)

* CCF-12660 Add pod spec option to actions deploy command

* CCF-12660 Add pod spec option to actions deploy command

* CCF-12660 clean up verbage

* CCF-12660 cmd to command

* CCF-12660 update to 1.0.3

* CCF-12660 remove vcpu and memory option parsing

* Update dependencies and remove deprecation warnings (#223)

* Update dependencies and remove deprecation warnings

Joi method change

remove dead code

remove dead test

* Version bump mocha, uuid

* Added missing split dep, remove unused url dep

* deprecated the `--kind` and `--code` options on the actions subcommand, no longer pass the option from the client to the command and also displays a warning when the options are still passed in (#228)

* Ccf 12859 cortextoken warning (#230)

* Add node version to package json to ensure we have a new enough node version, warn if use is using CORTEX_TOKEN

* CCF-12859 Add message to warn users that CORTEX_TOKEN is set
Require NODE 10.x or higher!!
Bump package.json for vulns

* Fix default behavior for cortex configure with new isDefault: true from commander

* Fix missing options on cortex configure

* CCF-12822 npm doesnot enforce anything, add preinstall check  (#231)

* CCF-12822 npm doesnot enforce anything, add preinstall check

* pack-lock

* Bump builder image from c12e/nodejs:dev-8.11.0 to 10.21.0

* CCF-12767: adding deprecated warnings to project and skills generate commands (#235)

* bump version to 1.1.1 (#237)

* FAB-30 - Added new command `cortex deploy` to export Cortex artifacts for CI deployment

* FAB-30 - Added new command `cortex deploy` to export Cortex artifacts for CI deployment

* added

* FAB-285 SSO auth, temp whoAmI, project option support (#240)

* FAB-285 SSO auth, temp whoAmI, project option support

* FAB-285 SSO fix unit tests

* FAB-285 SSO add project option to every command

* FAB-285 cleanup issuance, process env and token exp (#242)

* FAB-285 cleanup issuance, process env and token exp

* FAB-285 handle auth error (#243)

* FAB-285 handle auth error

* FAB-285 better status code

* Feature/fab183 projects (#241)

* WIP to fix non JSON query responses on CLI

* First pass at emitting markdown for cortex cli docs

* Quote <> in text, replace <br> with <br />

* added header

* remove newline line 1

* Last tweaks generate_docs.js

* WIP

* WIP
skills, actions, agents, snapshots working using projects.
Remove request and using got
Removed v2 jobs, tasks, envirnonments, instances
First pass on connections, content, datasets

* Added linting, fixes linting errors

* Fixed unit tests, re-added user agent

* update for url changes

* Fixed bad url content upload

* Missed adding projectId in secrets requests, renamed variables -> secrets, fixed error messages I hope

* Fix cortex types list

* Removed cortex datasets generate

* URI typo

* rebase/linting

* Rebase on dev, added redirect hook to properly handle server-server auth resp

* Fab 328 project commands (#244)

* Add initial cli commands for projects

* cleaup

linting

* FAB-177 rbac tools initial (#245)

* FAB-177 rbac tools initial

* FAB-177 rbac got, options, messaging

* FAB-177 lint, copyright

* Fixed auth header typo, added CORTEX_NO_AUTH=true env var for develop… (#246)

* Fixed auth header typo, added CORTEX_NO_AUTH=true env var for developer sanity

* Fix error handling saving types

* Added alias for describe

* Remove dead commands, sort command help (#247)

* Added missing get aliases (#248)

* Added missing get aliases

* Rename projects create project save, fix promise error

* FAB-177 get rid of whoami (#249)

* FAB-177 remove list roles by user (#250)

* FAB-177 remove list roles by user

* FAB-177 including configure token command to get access token

* set versio to 2.0.0-a.1 (#251)

* FAB-177 error handling (#253)

* WIP for missions, campaigns need mutation support for full document

* cortex skills generate command added

* formatting fix

* generate skill command based on plopjs

* skill type template

* skill generation templates added

* cmd description

* removed unused generate-cortex dependencies

* Add ability to export snapshot as a k8s agent + skills CRs (#256)

* Add ability to export snapshot as a k8s agent + skills CRs

* Fix extra args bug, fix error handling get-snapshot

* Fix empty --output issue

* FAB-342 deny action flag and external group commands (#257)

* FAB-342 deny action flag and external group commands

* FAB-342 package update and lint

* FAB-342 external group endpoint change

* fix travis build (#258)

* GQL type name changed from ProjectInput -> CreateProjectInput (#260)

* using lodash whn getting connection params (#259)

* Added readme and removed deploy.sh. Described deployment in readme

* fixing lodash commands for testing and saving a connection (#261)

* Linting, node version bump (#264)

* Update cortex-users.js

* Fix specific typo

* roless typo fixed

* Update cortex-profiles.js

* Fix agent validation output (#267)

* Clean up (#268)

* Remove references to environmentName

* remove listtrigger command

* remove dead commands, add skill invoke command

* remove dataets.*, connection test/query

* invokeSkill fixes (#269)

* renamed __main__.py to main.py due to conflict with __main__ module name reserved in python

* Fix undefined (#270)

* Allow json file for action save

* Fix skill invoke output, get-snapshot output, fix action save/deploy

* Wasnot passing params, pass it and simplify request a bit

* linting

* remove unquote

* formatting changes

* FAB-673 Fix invoke skill JSON parse issue, fix skill save promise issue

* added auth header

* Update package.json

Version bump

* describe agent snapshot is returning JSON but earlier it was returning response, this broke deploy snapshot. Fixing this with updated agent describe snapshot

* describe snapshot response change fixes

* describe snapshot response change fixes

* FAB-37 cli commands for campaign export/import

* FAB-37 cli commands for campaign export/import

* added port properties

* remove mission related code

* project as in latest develop branch

* cleanup command list

* validations added for non existing files or directories passed to import campaign

* empty export file issue when campaign export failed

* CM-529 release 2.0.1 bump

* CM-529 fix travis build

Co-authored-by: Christine Draper <[email protected]>
Co-authored-by: clee <[email protected]>
Co-authored-by: Matt Sanchez <[email protected]>
Co-authored-by: David Aldridge <[email protected]>
Co-authored-by: Johan Gielstra <[email protected]>
Co-authored-by: ljha <[email protected]>
Co-authored-by: yreddy-CS <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants