Updates codex image
This commit is contained in:
parent
b805c5f004
commit
43aaed225d
|
@ -9,7 +9,7 @@ namespace CodexPlugin
|
||||||
public class ApiChecker
|
public class ApiChecker
|
||||||
{
|
{
|
||||||
// <INSERT-OPENAPI-YAML-HASH>
|
// <INSERT-OPENAPI-YAML-HASH>
|
||||||
private const string OpenApiYamlHash = "63-7F-46-5E-2C-60-7A-BD-0C-EC-32-87-61-1B-79-FA-C2-EF-73-81-BA-FA-28-77-33-02-81-30-80-5D-00-97";
|
private const string OpenApiYamlHash = "5A-B0-2A-AC-42-B1-A2-49-6F-9D-4E-D8-56-40-10-A6-67-F4-0D-2A-9F-E0-84-5C-EB-B8-2D-4F-D8-56-79-6C";
|
||||||
private const string OpenApiFilePath = "/codex/openapi.yaml";
|
private const string OpenApiFilePath = "/codex/openapi.yaml";
|
||||||
private const string DisableEnvironmentVariable = "CODEXPLUGIN_DISABLE_APICHECK";
|
private const string DisableEnvironmentVariable = "CODEXPLUGIN_DISABLE_APICHECK";
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ namespace CodexPlugin
|
||||||
{
|
{
|
||||||
public class CodexContainerRecipe : ContainerRecipeFactory
|
public class CodexContainerRecipe : ContainerRecipeFactory
|
||||||
{
|
{
|
||||||
private const string DefaultDockerImage = "codexstorage/nim-codex:sha-f2f1dd5-dist-tests";
|
private const string DefaultDockerImage = "codexstorage/nim-codex:sha-1524803-dist-tests";
|
||||||
public const string ApiPortTag = "codex_api_port";
|
public const string ApiPortTag = "codex_api_port";
|
||||||
public const string ListenPortTag = "codex_listen_port";
|
public const string ListenPortTag = "codex_listen_port";
|
||||||
public const string MetricsPortTag = "codex_metrics_port";
|
public const string MetricsPortTag = "codex_metrics_port";
|
||||||
|
|
|
@ -65,6 +65,22 @@ components:
|
||||||
description: A timestamp as seconds since unix epoch at which this request expires if the Request does not find requested amount of nodes to host the data.
|
description: A timestamp as seconds since unix epoch at which this request expires if the Request does not find requested amount of nodes to host the data.
|
||||||
default: 10 minutes
|
default: 10 minutes
|
||||||
|
|
||||||
|
SPR:
|
||||||
|
type: string
|
||||||
|
description: Signed Peer Record (libp2p)
|
||||||
|
|
||||||
|
SPRRead:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
spr:
|
||||||
|
$ref: "#/components/schemas/SPR"
|
||||||
|
|
||||||
|
PeerIdRead:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
$ref: "#/components/schemas/PeerId"
|
||||||
|
|
||||||
ErasureParameters:
|
ErasureParameters:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
@ -106,8 +122,7 @@ components:
|
||||||
type: string
|
type: string
|
||||||
description: Path of the data repository where all nodes data are stored
|
description: Path of the data repository where all nodes data are stored
|
||||||
spr:
|
spr:
|
||||||
type: string
|
$ref: "#/components/schemas/SPR"
|
||||||
description: Signed Peer Record to advertise DHT connection information
|
|
||||||
|
|
||||||
SalesAvailability:
|
SalesAvailability:
|
||||||
type: object
|
type: object
|
||||||
|
@ -685,6 +700,40 @@ paths:
|
||||||
"503":
|
"503":
|
||||||
description: Purchasing is unavailable
|
description: Purchasing is unavailable
|
||||||
|
|
||||||
|
"/node/spr":
|
||||||
|
get:
|
||||||
|
summary: "Get Node's SPR"
|
||||||
|
operationId: getSPR
|
||||||
|
tags: [ Node ]
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
description: Node's SPR
|
||||||
|
content:
|
||||||
|
plain/text:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/SPR"
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/SPRRead"
|
||||||
|
"503":
|
||||||
|
description: Node SPR not ready, try again later
|
||||||
|
|
||||||
|
"/node/peerid":
|
||||||
|
get:
|
||||||
|
summary: "Get Node's PeerID"
|
||||||
|
operationId: getPeerId
|
||||||
|
tags: [ Node ]
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
description: Node's Peer ID
|
||||||
|
content:
|
||||||
|
plain/text:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/PeerId"
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/PeerIdRead"
|
||||||
|
|
||||||
"/debug/chronicles/loglevel":
|
"/debug/chronicles/loglevel":
|
||||||
post:
|
post:
|
||||||
summary: "Set log level at run time"
|
summary: "Set log level at run time"
|
||||||
|
|
Loading…
Reference in New Issue