-
Notifications
You must be signed in to change notification settings - Fork 0
add ttl to storage v2 #5
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
maorb-dev
wants to merge
2
commits into
master
Choose a base branch
from
maorba/feature/add-ttl-to-storage-v2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,4 +15,4 @@ composer.phar | |
| .phpunit.result.cache | ||
|
|
||
| # JetBrains | ||
| .idea/ | ||
| .idea/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 7.11.0-SNAPSHOT | ||
| 7.13.0-SNAPSHOT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| language: php | ||
| # Bionic environment has preinstalled PHP from 7.1 to 7.4 | ||
| # https://docs.travis-ci.com/user/reference/bionic/#php-support | ||
| dist: bionic | ||
| php: | ||
| - 7.4 | ||
| before_install: "composer install" | ||
| script: "vendor/bin/phpunit" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,39 +1,39 @@ | ||
| { | ||
| "name": "mondaycom/monday-code", | ||
| "description": "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)", | ||
| "keywords": [ | ||
| "openapitools", | ||
| "openapi-generator", | ||
| "openapi", | ||
| "php", | ||
| "sdk", | ||
| "rest", | ||
| "api" | ||
| ], | ||
| "homepage": "https://openapi-generator.tech", | ||
| "license": "unlicense", | ||
| "authors": [ | ||
| { | ||
| "name": "OpenAPI", | ||
| "homepage": "https://openapi-generator.tech" | ||
| } | ||
| ], | ||
| "require": { | ||
| "php": "^7.4 || ^8.0", | ||
| "ext-curl": "*", | ||
| "ext-json": "*", | ||
| "ext-mbstring": "*", | ||
| "guzzlehttp/guzzle": "^7.3", | ||
| "guzzlehttp/psr7": "^1.7 || ^2.0" | ||
| }, | ||
| "require-dev": { | ||
| "phpunit/phpunit": "^8.0 || ^9.0", | ||
| "friendsofphp/php-cs-fixer": "^3.5" | ||
| }, | ||
| "autoload": { | ||
| "name": "mondaycom/monday-code", | ||
| "description": "No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)", | ||
| "keywords": [ | ||
| "openapitools", | ||
| "openapi-generator", | ||
| "openapi", | ||
| "php", | ||
| "sdk", | ||
| "rest", | ||
| "api" | ||
| ], | ||
| "homepage": "https://openapi-generator.tech", | ||
| "license": "unlicense", | ||
| "authors": [ | ||
| { | ||
| "name": "OpenAPI", | ||
| "homepage": "https://openapi-generator.tech" | ||
| } | ||
| ], | ||
| "require": { | ||
| "php": "^8.1", | ||
| "ext-curl": "*", | ||
| "ext-json": "*", | ||
| "ext-mbstring": "*", | ||
| "guzzlehttp/guzzle": "^7.3", | ||
| "guzzlehttp/psr7": "^1.7 || ^2.0" | ||
| }, | ||
| "require-dev": { | ||
| "phpunit/phpunit": "^8.0 || ^9.0", | ||
| "friendsofphp/php-cs-fixer": "^3.5" | ||
| }, | ||
| "autoload": { | ||
| "psr-4": { "OpenAPI\\Client\\" : "lib/" } | ||
| }, | ||
| "autoload-dev": { | ||
| }, | ||
| "autoload-dev": { | ||
| "psr-4": { "OpenAPI\\Client\\Test\\" : "test/" } | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| #!/bin/sh | ||
| # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ | ||
| # | ||
| # Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" | ||
|
|
||
| git_user_id=$1 | ||
| git_repo_id=$2 | ||
| release_note=$3 | ||
| git_host=$4 | ||
|
|
||
| if [ "$git_host" = "" ]; then | ||
| git_host="github.com" | ||
| echo "[INFO] No command line input provided. Set \$git_host to $git_host" | ||
| fi | ||
|
|
||
| if [ "$git_user_id" = "" ]; then | ||
| git_user_id="GIT_USER_ID" | ||
| echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" | ||
| fi | ||
|
|
||
| if [ "$git_repo_id" = "" ]; then | ||
| git_repo_id="GIT_REPO_ID" | ||
| echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" | ||
| fi | ||
|
|
||
| if [ "$release_note" = "" ]; then | ||
| release_note="Minor update" | ||
| echo "[INFO] No command line input provided. Set \$release_note to $release_note" | ||
| fi | ||
|
|
||
| # Initialize the local directory as a Git repository | ||
| git init | ||
|
|
||
| # Adds the files in the local repository and stages them for commit. | ||
| git add . | ||
|
|
||
| # Commits the tracked changes and prepares them to be pushed to a remote repository. | ||
| git commit -m "$release_note" | ||
|
|
||
| # Sets the new remote | ||
| git_remote=$(git remote) | ||
| if [ "$git_remote" = "" ]; then # git remote not defined | ||
|
|
||
| if [ "$GIT_TOKEN" = "" ]; then | ||
| echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." | ||
| git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git | ||
| else | ||
| git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git | ||
| fi | ||
|
|
||
| fi | ||
|
|
||
| git pull origin master | ||
|
|
||
| # Pushes (Forces) the changes in the local repository up to the remote repository | ||
| echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" | ||
| git push origin master 2>&1 | grep -v 'To https' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| <?php | ||
| /** | ||
| * LogsApi | ||
| * PHP version 7.4 | ||
| * PHP version 8.1 | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ASK GREG |
||
| * | ||
| * @category Class | ||
| * @package OpenAPI\Client | ||
|
|
@@ -16,7 +16,7 @@ | |
| * | ||
| * The version of the OpenAPI document: 0.2.3 | ||
| * Generated by: https://openapi-generator.tech | ||
| * Generator version: 7.11.0-SNAPSHOT | ||
| * Generator version: 7.13.0-SNAPSHOT | ||
| */ | ||
|
|
||
| /** | ||
|
|
@@ -83,10 +83,10 @@ class LogsApi | |
| * @param int $hostIndex (Optional) host index to select the list of hosts if defined in the OpenAPI spec | ||
| */ | ||
| public function __construct( | ||
| ClientInterface $client = null, | ||
| Configuration $config = null, | ||
| HeaderSelector $selector = null, | ||
| $hostIndex = 0 | ||
| ?ClientInterface $client = null, | ||
| ?Configuration $config = null, | ||
| ?HeaderSelector $selector = null, | ||
| int $hostIndex = 0 | ||
| ) { | ||
| $this->client = $client ?: new Client(); | ||
| $this->config = $config ?: Configuration::getDefaultConfiguration(); | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ASJK GREG!