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

Release 1.0.0-alpha.18.1 🚀 #25

Merged
merged 2 commits into from
Apr 20, 2018
Merged
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
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ The **[OnixJS] FrameWork** is an ***Enterprise Grade*** **Node.JS** platform tha


- **Slightly Opinionated**: Though [OnixJS] provide with a business logic structure based on *SOA*, *MSA* and it does specify how to communicate your services or clients, *we do empower you* to decide which *Front-End Framework*, *ORM* or even an *Server Side Renderer* (Template Engine) to install. By using any of our provided [Factories], you'll be free to make most of the important decisions.
<<<<<<< HEAD
- **Stability**: We strongly believe that providing a highly featured, tested or covered framework is great but not enough. We also believe that staging or deploying a project now or in a year MUSTN'T be affected by the framework or any of its dependencies, being that the reason of why we decided to use the lowest amount of dependencies possible.
=======
- **Stability**: We strongly believe that providing a highly featured, tested or covered platform might be great but definitely not enough. We also believe that staging or deploying a project now or in a year MUSTN'T be affected by the Framework or any of its dependencies, being that the reason of why we decided to use the lowest amount of dependencies possible.
>>>>>>> master
- **High-Availability**: Either you choose Monolithic *SOA* or *MSA*, your services will run independently in separated processes. While implementing the right patterns and infrastructure, any failure on either of your services won't block or disable access to users or other services.
- **High-Performance**: [OnixJS] provides with a really small footprint, we don't really add unnecessary and unused features, instead we provide you with artifacts all based on established design patterns for you to build projects with ease, as well as providing ways to flawlessly communicate services and clients.
- **Security**: [OnixJS] provides with a fully [OIDC] featured *Single Sign On* IdP, so you can start avoiding expenses on authentication and authorization issues due far simplistic auth implementations not suited for enterprise grade projects.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onixjs/core",
"version": "1.0.0-alpha.18",
"version": "1.0.0-alpha.18.2",
"description": "The High-Performance SOA Real-Time Framework for Node.JS",
"main": "dist/src/index.js",
"scripts": {
Expand Down
4 changes: 1 addition & 3 deletions src/core/app.factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,13 +305,11 @@ export class AppFactory {
*/
async routeWrapper(instance, method, req, res, next) {
// Potentially register LifeCycles in here.
const result = await instance[method](req, res);
const result = await instance[method](req, res, next);
// If the method returned a value, otherwise they might response their selves
if (result) {
// Send result to the requester
res.end(Utils.IsJsonString(result) ? JSON.stringify(result) : result);
} else {
next();
}
}
/**
Expand Down
1 change: 0 additions & 1 deletion src/core/app.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ export class AppServer {
(this.config.network && !this.config.network!.disabled)
) {
// Requires to be started before creating websocket.
console.log('STARTING HTTP SERVER:', this.config);
this.http.listen(this.config.port || 6000);
// Ok now we can start the websocket
this.websocket = new WebSocket.Server({
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class OnixJS {
* @description Current Onix Version.
*/
get version(): string {
return '1.0.0-alpha.18';
return '1.0.0-alpha.18.2';
}
/**
* @property server
Expand Down