mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-10-13 23:38:45 +01:00
Container pool changes to plumb auth
This commit is contained in:
parent
17fd2185dc
commit
35b15a1e20
1092
package-lock.json
generated
1092
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -6,15 +6,15 @@
|
||||
"dependencies": {
|
||||
"@azure/arm-cosmosdb": "9.1.0",
|
||||
"@azure/cosmos": "3.9.0",
|
||||
"@azure/identity": "1.1.0",
|
||||
"@azure/cosmos-language-service": "0.0.5",
|
||||
"@azure/identity": "1.1.0",
|
||||
"@jupyterlab/services": "6.0.0-rc.2",
|
||||
"@jupyterlab/terminal": "3.0.0-rc.2",
|
||||
"@microsoft/applicationinsights-web": "2.5.9",
|
||||
"@nteract/commutable": "7.3.2",
|
||||
"@nteract/connected-components": "6.8.2",
|
||||
"@nteract/core": "15.1.0",
|
||||
"@nteract/data-explorer": "8.0.3",
|
||||
"@nteract/data-explorer": "8.2.9",
|
||||
"@nteract/directory-listing": "2.0.6",
|
||||
"@nteract/dropdown-menu": "1.0.1",
|
||||
"@nteract/editor": "10.1.2",
|
||||
|
@ -39,6 +39,10 @@ export class NotebookTerminalComponent extends React.Component<NotebookTerminalC
|
||||
params.set(TerminalQueryParams.TerminalEndpoint, terminalEndpoint);
|
||||
}
|
||||
|
||||
params.set("account","contoso-retail-mongodb");
|
||||
params.set("port","10255");
|
||||
//tofill
|
||||
params.set("token","");
|
||||
return params;
|
||||
}
|
||||
|
||||
|
@ -350,7 +350,9 @@ export const launchWebSocketKernelEpic = (
|
||||
} as any,
|
||||
name: "",
|
||||
path: content.filepath.replace(/^\/+/g, ""),
|
||||
type: "notebook"
|
||||
type: "notebook",
|
||||
endpoint:"https://dech-notebooks-demo-7.documents.azure.com:443/",
|
||||
token:"" //to fill
|
||||
};
|
||||
|
||||
return sessions.create(serverConfig, sessionPayload).pipe(
|
||||
|
@ -23,10 +23,14 @@ const createServerSettings = (urlVars: { [key: string]: string }): ServerConnect
|
||||
let headers: HeadersInit;
|
||||
if (urlVars.hasOwnProperty(TerminalQueryParams.TerminalEndpoint)) {
|
||||
body = JSON.stringify({
|
||||
endpoint: urlVars[TerminalQueryParams.TerminalEndpoint]
|
||||
endpoint: urlVars[TerminalQueryParams.TerminalEndpoint],
|
||||
account:"contoso-retail-mongodb",
|
||||
port: "10255",
|
||||
token:"" //tofill
|
||||
});
|
||||
headers = {
|
||||
[HttpHeaders.contentType]: "application/json"
|
||||
//"Access-Control-Allow-Origin": "https://localhost:5001"
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -92,7 +92,7 @@ module.exports = function(env = {}, argv = {}) {
|
||||
const rules = [fontRule, lessRule, imagesRule, cssRule, htmlRule, typescriptRule];
|
||||
const envVars = {
|
||||
GIT_SHA: gitSha,
|
||||
PORT: process.env.PORT || "1234"
|
||||
PORT: process.env.PORT || "2223"
|
||||
};
|
||||
|
||||
if (mode === "production") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user