Skip to content

Commit

Permalink
Merge pull request #79 from Optum/master
Browse files Browse the repository at this point in the history
Patch for PM2 issues
  • Loading branch information
JD Weeks authored Oct 9, 2018
2 parents 3c9b003 + 2c94288 commit 6b77831
Show file tree
Hide file tree
Showing 7 changed files with 202 additions and 186 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
coverage
uploads
mocks
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"passport-ldapauth": "^2.0.0",
"passport-local": "^1.0.0",
"passport-local-mongoose": "^5.0.0",
"pm2": "^3.1.2",
"pm2": "3.1.2",
"pretty-data": "^0.40.0",
"request": "^2.88.0",
"soap": "^0.24.0",
Expand Down
8 changes: 8 additions & 0 deletions public/js/app/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,14 @@ var ctrl = angular.module("mockapp.controllers",['mockapp.services','ngFileSaver
$('#failure-modal').modal('toggle');
});
};

$scope.totalDisplayed = 10;

$scope.loadMore = function () {
$scope.totalDisplayed += 10;
};


}])


Expand Down
2 changes: 1 addition & 1 deletion public/partials/addapiform.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h2>Mock a REST or SOAP Service</h2>
<form name="form" class="well col-xs-12" ng-controller="myMenuAppController">
<form name="form" class="well col-xs-12">
<div class="form-group req row">
<label for="service_payloadtype" class="col-xs-2 col-form-label">Service Type</label>
<div class="col-xs-9">
Expand Down
2 changes: 1 addition & 1 deletion public/partials/spec.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h2>Mock from WSDL or OpenAPI</h2>

<form name="form" class="well col-xs-12" ng-controller="specController">
<form name="form" class="well col-xs-12">

<div class="form-group req row">
<label for="service_payloadtype" class="col-xs-2 col-form-label">Spec Type</label>
Expand Down
2 changes: 1 addition & 1 deletion public/partials/templateForm.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ <h2>Import Mock Service</h2>
<br>
<div><p><i>Please import a virtual service in JSON format. You may use the JSON document that Mockiato creates with it's export function or create one from scratch in <a target= "_blank" href="/api-docs/#/services/addVirtualService">this format.</a></i><p></div>
<br>
<form class="col-xs-12" ng-controller="templateController">
<form class="col-xs-12">
<div class="form-group row">
<div class="col-xs-2">
<file-field class="btn btn-primary" ng-model="importTemp" preview="previewTemp"><i class="glyphicon glyphicon-import"></i> Import Template</file-field>
Expand Down
Loading

0 comments on commit 6b77831

Please sign in to comment.