Skip to content

Commit

Permalink
change port
Browse files Browse the repository at this point in the history
  • Loading branch information
ScharfViktor committed Oct 22, 2024
1 parent 1976941 commit f8de1a5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 43 deletions.
15 changes: 1 addition & 14 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ config = {
"collaborationServiceNeeded": True,
"extraServerEnvironment": {
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
"COLLABORATION_DEBUG_ADDR": "0.0.0.0:9980",
"COLLABORATION_DEBUG_ADDR": "0.0.0.0:9304",
},
},
"cli": {
Expand Down Expand Up @@ -2997,19 +2997,6 @@ def wopiCollaborationService(name):
},
]

def natsService():
return [
{
"name": "nats-service",
"image": OC_CI_GOLANG,
"detach": True,
"environment": [],
"commands": [
"ocis/bin/ocis nats server",
],
},
]

def tikaService():
return [{
"name": "tika",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ Feature: service health check

Scenario: service ready check
When a user requests these endpoints:
| endpoint | service |
| %base_url_without_scheme_and_port%:9980/readyz | collaboration |
Then the HTTP status code of responses on all endpoints should be "200"
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Feature: enforce password on public link


Scenario Outline: create a public link with viewer permission without a password when enforce-password is enabled
Given :
Given the following configs have been set:
| config | value |
| OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD | false |
| OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD | true |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,31 +131,3 @@ Feature: service health check
# | %base_url_without_scheme_and_port%:9149/readyz | auth-bearer | donot work |
| %base_url_without_scheme_and_port%:9129/readyz | policies | |
Then the HTTP status code of responses on all endpoints should be "200"


# @env-config
# Scenario: health and ready check after restarting nats
# Given the config "OCIS_EXCLUDE_RUN_SERVICES" has been set to "nats"
# # Run nats
# When a user requests these endpoints:
# | endpoint | service | comment |
# | %base_url_without_scheme_and_port%:9260/healthz | clientlog | |
# | %base_url_without_scheme_and_port%:9260/readyz | clientlog | |
# Then the HTTP status code of responses on all endpoints should be "200"
# # Stop nats
# # wait
# When a user requests these endpoints:
# | endpoint | service | comment |
# | %base_url_without_scheme_and_port%:9260/healthz | clientlog | |
# Then the HTTP status code of responses on all endpoints should be "200"
# When a user requests these endpoints:
# | endpoint | service | comment |
# | %base_url_without_scheme_and_port%:9260/readyz | clientlog | |
# Then the HTTP status code of responses on all endpoints should be "500"
# # Run nats
# # wait
# When a user requests these endpoints:
# | endpoint | service | comment |
# | %base_url_without_scheme_and_port%:9260/healthz | clientlog | |
# | %base_url_without_scheme_and_port%:9260/readyz | clientlog | |
# Then the HTTP status code of responses on all endpoints should be "200"

0 comments on commit f8de1a5

Please sign in to comment.