Skip to content

h1 project logging: update to use journal #450

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

Open
fredericosilva opened this issue Oct 1, 2019 · 2 comments
Open

h1 project logging: update to use journal #450

fredericosilva opened this issue Oct 1, 2019 · 2 comments
Assignees
Milestone

Comments

@fredericosilva
Copy link
Collaborator

 h1 project logging enable --help
usage: h1 project logging enable [-h] --log LOG --password PASSWORD [--output {table,tsv,list,json,js,id,yaml}]
                                 [--query QUERY] [--project PROJECT] [--mode {basic,full}] [--verbose] [--no-wait]
                                 [--dry-run]
                                 

Enable compliance log

Optional arguments:
  -h, --help            Show this help message and exit.
  --project PROJECT     Project ID or name. Active project by default
  --mode {basic,full}   Logging mode (determines the scope of registered information)
  --verbose, -v         Make the operation more talkative. Can be set also via environment variable HYPERONE_CLI_VERBOSE.
  --no-wait             In case of queued event do not wait for completion
  --dry-run             Dry run for the request

Required arguments:
  --log LOG             ID of LogArchive
  --password PASSWORD   Credentials of type "password" to access logArchive

Output options:
  --output {table,tsv,list,json,js,id,yaml}, -o {table,tsv,list,json,js,id,yaml}
                        Specify output format of command. Can be set also via environment variable HYPERONE_CLI_OUTPUT.
  --query QUERY         JMESPath query string

Examples

    h1 project logging enable --project MyProject --logArchive 5beabe03680cffd11f0e653d  --password StrongPassword
@fredericosilva fredericosilva added this to the 1.9.0 milestone Oct 1, 2019
@ad-m
Copy link
Collaborator

ad-m commented Oct 1, 2019

@fredericosilva: Is API ready?

@fredericosilva
Copy link
Collaborator Author

$ h1 project logging enable --log compliance --password XXXXXXXXX --verbose
verbose: body
{
  "logArchive": "compliance",
  "password": "XXXXXXXXX",
  "mode": "full"
}

error: allowBody_16 validation failed: journal: Path `journal` is required.
        journal: Path `journal` is required.

I guess that is not being tested / documented

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

No branches or pull requests

2 participants