Releases: kyma-incubator/varkes
Varkes 0.9.2
Features
- Fixes certificate encoding problem (#264)
Varkes 0.9.1
Features
- Fix for odata API registration problems (#262)
Varkes 0.9.0
Varkes 0.8.0
Features
- Explicit resolving of configuration by changing signature of all modules to use config object
- Icon and name of mock gets displayed in banner of cockpit
Usage
Use the modules as express middleware in your express based NodeJs application.
Depending on the modules you require, add the dependencies to your package.json like that:
"dependencies": {
"@varkes/configuration": "^0.8.0",
"@varkes/api-server": "^0.8.0",
"@varkes/odata-mock": "^0.8.0",
"@varkes/openapi-mock": "^0.8.0",
"@varkes/cockpit": "^0.8.0"
}
In your application enable the modules in your express app like that:
const config = require("@varkes/configuration")
const odataMock = require("@varkes/odata-mock")
const openapiMock = require("@varkes/openapi-mock")
const server = require("@varkes/api-server")
const cockpit = require("@varkes/cockpit")
const app = require('express')()
let configuration = config.resolveFile("./varkes_config.json")
app.use(await odataMock.init(configuration))
app.use(await openapiMock.init(configuration))
app.use(await server.init(configuration))
app.use(await cockpit.init(configuration))
app.listen(10000, function () {
console.info("Started application on port %d", 10000)
})
Varkes 0.7.0
Features
- Updated dependencies
- New package @varkes/configuration unifying the configuration
Usage
Use the modules as express middleware in your express based NodeJs application.
Depending on the modules you require, add the dependencies to your package.json like that:
"dependencies": {
"@varkes/api-server": "^0.7.0",
"@varkes/odata-mock": "^0.7.0",
"@varkes/openapi-mock": "^0.7.0",
"@varkes/cockpit": "^0.7.0"
}
In your application enable the modules in your express app like that:
const odata = require("@varkes/odata-mock")
const openapi = require("@varkes/openapi-mock")
const server = require("@varkes/api-server")
const cockpit = require("@varkes/cockpit")
const app = require('express')()
app.use(await odata.init("./varkes_config.json"))
app.use(await openapi.init("./varkes_config.json"))
app.use(await server.init("./varkes_config.json"))
app.use(await cockpit.init())
app.listen(10000, function () {
console.info("Started application on port %d", 10000)
})
Varkes 0.6.4
v0.6.4 v0.6.4
Varkes 0.6.3
Features
- Updated dependencies
- Fixed release process, all examples will have a docker image released
Usage
Use the modules as express middleware in your express based NodeJs application.
Depending on the modules you require, add the dependencies to your package.json like that:
"dependencies": {
"@varkes/api-server": "^0.6.3",
"@varkes/odata-mock": "^0.6.3",
"@varkes/openapi-mock": "^0.6.3",
"@varkes/cockpit": "^0.6.3"
}
In your application enable the modules in your express app like that:
const odata = require("@varkes/odata-mock")
const openapi = require("@varkes/openapi-mock")
const server = require("@varkes/api-server")
const cockpit = require("@varkes/cockpit")
const app = require('express')()
app.use(await odata.init("./varkes_config.json"))
app.use(await openapi.init("./varkes_config.json"))
app.use(await server.init("./varkes_config.json"))
app.use(await cockpit.init())
app.listen(10000, function () {
console.info("Started application on port %d", 10000)
})
Varkes 0.6.2
Features
- Fixed a problem with the "Register" functionality (#225)
Usage
Use the modules as express middleware in your express based NodeJs application.
Depending on the modules you require, add the dependencies to your package.json like that:
"dependencies": {
"@varkes/api-server": "^0.6.2",
"@varkes/odata-mock": "^0.6.2",
"@varkes/openapi-mock": "^0.6.2",
"@varkes/cockpit": "^0.6.2"
}
In your application enable the modules in your express app like that:
const odata = require("@varkes/odata-mock")
const openapi = require("@varkes/openapi-mock")
const server = require("@varkes/api-server")
const cockpit = require("@varkes/cockpit")
const app = require('express')()
app.use(await odata.init("./varkes_config.json"))
app.use(await openapi.init("./varkes_config.json"))
app.use(await server.init("./varkes_config.json"))
app.use(await cockpit.init())
app.listen(10000, function () {
console.info("Started application on port %d", 10000)
})
Varkes 0.6.1
Features
- Fixed a dependency issue in the new "api-server" module
- General update of dependencies
Usage
Use the modules as express middleware in your express based NodeJs application.
Depending on the modules you require, add the dependencies to your package.json like that:
"dependencies": {
"@varkes/api-server": "^0.6.1",
"@varkes/odata-mock": "^0.6.1",
"@varkes/openapi-mock": "^0.6.1",
"@varkes/cockpit": "^0.6.1"
}
In your application enable the modules in your express app like that:
const odata = require("@varkes/odata-mock")
const openapi = require("@varkes/openapi-mock")
const server = require("@varkes/api-server")
const cockpit = require("@varkes/cockpit")
const app = require('express')()
app.use(await odata.init("./varkes_config.json"))
app.use(await openapi.init("./varkes_config.json"))
app.use(await server.init("./varkes_config.json"))
app.use(await cockpit.init())
app.listen(10000, function () {
console.info("Started application on port %d", 10000)
})
Varkes 0.6.0
Features
- Extracted all kyma connection logic into a dedicated module "app-connector"
- Renamed "app-connector-client" to "api-server"
- Migrated api-server to typescript
- Introduced "modules" folder for all varkes components
- Updated documentation
- switched to swagger-ui instead of using re-doc, benefit is a try-out feature
Usage
Use the modules as express middleware in your express based NodeJs application.
Depending on the modules you require, add the dependencies to your package.json like that:
"dependencies": {
"@varkes/api-server": "^0.6.0",
"@varkes/odata-mock": "^0.6.0",
"@varkes/openapi-mock": "^0.6.0",
"@varkes/cockpit": "^0.6.0"
}
In your application enable the modules in your express app like that:
const odata = require("@varkes/odata-mock")
const openapi = require("@varkes/openapi-mock")
const server = require("@varkes/api-server")
const cockpit = require("@varkes/cockpit")
const app = require('express')()
app.use(await odata.init("./varkes_config.json"))
app.use(await openapi.init("./varkes_config.json"))
app.use(await server.init("./varkes_config.json"))
app.use(await cockpit.init())
app.listen(10000, function () {
console.info("Started application on port %d", 10000)
})