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

Update Event Streams node SDK v1.3.0 at 1724815599 #63

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ build/Release

# Dependency directories
node_modules/
.nvmrc

# TypeScript v1 declaration files
typings/
Expand Down
20 changes: 13 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,26 @@ group: focal


node_js:
# - 14
# - 16
# - 18
- 18
- 20

# remove the "echo" command from the "before_install" section below.
before_install:
- echo -e "machine github.ibm.com\n login $GITHUB_ACCESS_TOKEN" > ~/.netrc
- wget -qO - https://package.perforce.com/perforce.pubkey | sudo apt-key add -
- npm i -g npm@8
- node --version
- npm --version

script:
- npm run build
- npm run test-travis || travis_terminate 1
- npm run lint-fix
- npm run lint
- npm run check-packages


# To enable semantic-release, uncomment this section.
# deploy:
# - provider: script
# skip_cleanup: true
# script: npx semantic-release
# on:
# node: 20
# branch: main
36 changes: 34 additions & 2 deletions adminrest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1626,7 +1626,25 @@ paths:
example:
- type: "code"
source: "__NODE_GET_MIRRORING_ACTIVE_TOPICS_EXAMPLE__"

#================================================#
# Status related paths
#================================================#
/admin/status:
get:
operationId: GetStatus
summary: Get the status of the instance.
description: Get the status of the instance.
responses:
"200":
description: Returns the status of the instance.
content:
application/json:
schema:
$ref: '#/components/schemas/instance_status'
headers:
X-Global-Transaction-Id:
schema:
$ref: '#/components/schemas/header_tx_id'
components:
securitySchemes:
BearerAuth:
Expand Down Expand Up @@ -2084,4 +2102,18 @@ components:
type: array
items:
type: string
description: Active mirroring topic.
description: Active mirroring topic.

instance_status:
type: object
description: Information about the status of the instance
properties:
status:
type: string
enum: [available, degraded, offline, unknown]
description: >
The status of the instance:
* `available` - the instance is functioning as expected
* `degraded` - the instance is in a degraded state, some operations may not complete successfully
* `offline` - the instance is offline, all operations attempted against the instance will fail
* `unknown` - the state of the instance is not known at this time
Loading