Skip to content
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
2 changes: 2 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2015, EMC, Inc.

'use strict';
module.exports = prepareGrunt;

Expand Down
2 changes: 2 additions & 0 deletions HWIMO-BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

# Copyright 2015, EMC, Inc.

# debian packages expected...
# apt-get install git pbuilder dh-make ubuntu-dev-tools devscripts
# apt-get install nodejs nodejs-legacy npm
Expand Down
2 changes: 2 additions & 0 deletions HWIMO-DOC
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

# Copyright 2015, EMC, Inc.

set -e
set -x

Expand Down
2 changes: 2 additions & 0 deletions HWIMO-TEST
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

# Copyright 2015, EMC, Inc.

set -e
set -x

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Copyright 2015, EMC, Inc.

# on-http


Expand Down
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */

"use strict";
Expand Down
1 change: 1 addition & 0 deletions data/templates/ansible-external-inventory.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/nodejs

// Copyright 2015, EMC, Inc.
'use strict';

var command = process.argv[2];
Expand Down
2 changes: 2 additions & 0 deletions data/templates/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2015, EMC, Inc.

"use strict";

var http = require('http'),
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint: node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion lib/api/catalogs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion lib/api/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion lib/api/files.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion lib/api/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion lib/api/lookups.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion lib/api/nodes.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion lib/api/obms.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion lib/api/pollers.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/*jslint node: true */
'use strict';

Expand Down
4 changes: 2 additions & 2 deletions lib/api/profiles.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */
'use strict';

Expand Down Expand Up @@ -88,7 +88,7 @@ function profilesRouterFactory (
/**
* @api {get} /api/1.1/profiles GET /
* @apiVersion 1.1.0
* @apiDescription used internally by the Renasar system -- will NOT get a list of all profiles,
* @apiDescription used internally by the system -- will NOT get a list of all profiles,
* look at api/current/profiles/library
* @apiName profiles-get
* @apiGroup profiles
Expand Down
2 changes: 1 addition & 1 deletion lib/api/schemas.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion lib/api/skus.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */
'use strict';

Expand Down
6 changes: 3 additions & 3 deletions lib/api/tasks.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */
'use strict';

Expand Down Expand Up @@ -38,7 +38,7 @@ function tasksRouterFactory (
/**
* @api {patch} /api/1.1/tasks/bootstrap.js GET
* @apiVersion 1.1.0
* @apiDescription used internally by the Renasar system - get tasks bootstrap.js
* @apiDescription used internally by the system - get tasks bootstrap.js
* @apiName tasks-bootstrap-get
* @apiGroup tasks
* @apiError NotFound There is no bootstrap.js
Expand Down Expand Up @@ -72,7 +72,7 @@ function tasksRouterFactory (
/**
* @api {patch} /api/1.1/tasks/:identifier GET /:id
* @apiVersion 1.1.0
* @apiDescription used internally by the Renasar system - get specific task
* @apiDescription used internally by the system - get specific task
* @apiName task-get
* @apiGroup tasks
* @apiParam {String} identifier of tasks, must cast to ObjectId
Expand Down
4 changes: 2 additions & 2 deletions lib/api/templates.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jslint node: true */
'use strict';

Expand Down Expand Up @@ -96,7 +96,7 @@ function templatesRouterFactory (
/**
* @api {get} /api/1.1/templates/:identifier GET /:identifier
* @apiVersion 1.1.0
* @apiDescription used internally by the Renasar system -- will NOT the template with the
* @apiDescription used internally by the system -- will NOT the template with the
* <code>identifier</code>, use /api/current/templates/library
* @apiName template-get
* @apiGroup templates
Expand Down
6 changes: 3 additions & 3 deletions lib/api/versions.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */

'use strict';
Expand Down Expand Up @@ -31,11 +31,11 @@ function versionRouterFactory (rest, ChildProcess, _, Logger) {
* HTTP/1.1 200 Ok
* [
* {
* "package": "renasar-http",
* "package": "on-http",
* "version": "1.0-19"
* },
* {
* "package": "renasar-tftp",
* "package": "on-tftp",
* "version": "1.0-19"
* },
* ]
Expand Down
3 changes: 1 addition & 2 deletions lib/api/workflows.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Created by heckj on 8/1/14.
// Copyright 2015, EMC, Inc.
/*jslint node: true */
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion lib/serializables/v1/lookup.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint: node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion lib/serializables/v1/node.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint: node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion lib/serializables/v1/obm.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint: node:true */

'use strict';
Expand Down
2 changes: 2 additions & 0 deletions lib/serializables/v1/snmp.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2015, EMC, Inc.

'use strict';

module.exports = SnmpFactory;
Expand Down
2 changes: 1 addition & 1 deletion lib/services/common-api-presenter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion lib/services/file-service.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015, EMC Corporation
// Copyright 2015, EMC, Inc.

"use strict";

Expand Down
2 changes: 2 additions & 0 deletions lib/services/files/file-plugin.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2015, EMC, Inc.

'use strict';

var di = require('di');
Expand Down
2 changes: 1 addition & 1 deletion lib/services/http-service.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion lib/services/profiles-api-service.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion lib/services/rest-api-service.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion lib/services/task-api-service.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node: true */
'use strict';

Expand Down
2 changes: 1 addition & 1 deletion migrate.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.

'use strict';

Expand Down
2 changes: 2 additions & 0 deletions spec/helper.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2015, EMC, Inc.

'use strict';

require('on-core/spec/helper');
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/catalogs-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/config-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/files-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/index-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/lookups-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/nodes-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/obms-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/pollers-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/profiles-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/schemas-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/skus-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/tasks-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/templates-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/versions-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/api/workflows-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/common/file-loader-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/serializables/v1/node-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/serializables/v1/obm-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/services/common-api-presenter-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2014-2015, Renasar Technologies Inc.
// Copyright 2015, EMC, Inc.
/* jshint node:true */

'use strict';
Expand Down
2 changes: 2 additions & 0 deletions spec/lib/services/file-service-spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright 2015, EMC, Inc.

'use strict';

require('../../helper');
Expand Down
Loading