xos-sample-gui-extension cleanup and update with new documentation
Change-Id: I6b70f5127ea631cfdd1f8a372a51c20f547e9c44
diff --git a/conf/app/README.md b/conf/app/README.md
index bdc361a..6c45737 100755
--- a/conf/app/README.md
+++ b/conf/app/README.md
@@ -1,16 +1,15 @@
# XOS-GUI Config
-### Note that the configurations defined in this folder are for development only, they are most likely to be overrided by a volume mount defined in `service-profile`
+### Note: The configurations defined in this folder are for development only, they are most likely to be overridden by a volume mount defined in `service-profile`
## App Config
-This configuration will specifiy the rest API base url and the Websocket address.
-Here is it's structure:
+This configuration will specify the REST API base URL and the WebSocket address.
```
angular.module('app')
.constant('AppConfig', {
- apiEndpoint: '/spa/api',
+ apiEndpoint: '/xos/api',
websocketClient: '/'
});
@@ -19,7 +18,6 @@
## Style Config
This configuration will contain branding information, such as title, logo and navigation items.
-Here is it's structure:
```
angular.module('app')
diff --git a/conf/app/app.config.local.ts b/conf/app/app.config.local.ts
deleted file mode 100755
index 68f9712..0000000
--- a/conf/app/app.config.local.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-
-/*
- * Copyright 2017-present Open Networking Foundation
-
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
-
- * http://www.apache.org/licenses/LICENSE-2.0
-
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-
-import {IAppConfig} from './interfaces';
-export const AppConfig: IAppConfig = {
- apiEndpoint: 'http://localhost:4000/api',
- websocketClient: 'http://localhost:4000/'
-};
diff --git a/conf/app/app.config.production.js b/conf/app/app.config.production.js
index 43b5750..de6179f 100755
--- a/conf/app/app.config.production.js
+++ b/conf/app/app.config.production.js
@@ -18,6 +18,6 @@
angular.module('app')
.constant('AppConfig', {
- apiEndpoint: '/spa/api',
+ apiEndpoint: '/xos/api',
websocketClient: '/'
});