Skip to content

Commit d37dd52

Browse files
committed
Merge branch 'master' into open933
2 parents 7af5875 + 58391de commit d37dd52

File tree

93 files changed

+513
-3168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+513
-3168
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*.gzip
44
*.tgz
55
*.DS_Store
6+
*.swp
67

78
# Compiled CSS, unless directly added
89
*.sass-cache

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,22 @@ Open MCT is now running, and can be accessed by pointing a web browser at [http:
3636

3737
Documentation is available on the [Open MCT website](https://nasa.github.io/openmct/documentation/). The documentation can also be built locally.
3838

39+
### Examples
40+
41+
The clearest examples for developing Open MCT plugins are in the
42+
[tutorials](https://nasa.github.io/openmct/docs/tutorials/) provided in
43+
our documentation.
44+
45+
For a practical example of a telemetry adapter, see David Hudson's
46+
[Kerbal Space Program plugin](https://github.com/hudsonfoo/kerbal-openmct),
47+
which allows [Kerbal Space Program](https://kerbalspaceprogram.com) players
48+
to build and use displays for their own missions in Open MCT.
49+
50+
Additional examples are available in the `examples` hierarchy of this
51+
repository; however, be aware that these examples are
52+
[not fully-documented](https://github.com/nasa/openmct/issues/846), so
53+
the tutorials will likely serve as a better starting point.
54+
3955
### Building the Open MCT Documentation Locally
4056
Open MCT's documentation is generated by an
4157
[npm](https://www.npmjs.com/)-based build. It has additional dependencies that

app.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,14 @@
6767
});
6868

6969
app.use('/proxyUrl', function proxyRequest(req, res, next) {
70-
console.log('Proxying request to: ', req.query.url);
70+
var targetUrl = req.query.url;
71+
var queryParameters = req.query;
72+
console.log('Proxying request to: ', targetUrl);
73+
delete queryParameters['url'];
7174
req.pipe(request({
72-
url: req.query.url,
73-
strictSSL: false
75+
url: targetUrl,
76+
strictSSL: false,
77+
qs: queryParameters
7478
}).on('error', next)).pipe(res);
7579
});
7680

build-docs.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ npm run docs
4545

4646
echo "git clone $REPOSITORY_URL website"
4747
git clone $REPOSITORY_URL website || exit 1
48-
echo "cp -r $OUTPUT_DIRECTORY $WEBSITE_DIRECTORY/docs"
49-
cp -r $OUTPUT_DIRECTORY $WEBSITE_DIRECTORY/docs
48+
echo "cp -r $OUTPUT_DIRECTORY $WEBSITE_DIRECTORY"
49+
cp -r $OUTPUT_DIRECTORY $WEBSITE_DIRECTORY
5050
echo "cd $WEBSITE_DIRECTORY"
5151
cd $WEBSITE_DIRECTORY || exit 1
5252

docs/src/architecture/index.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ overall architecture of Open MCT.
66
The target audience includes:
77

88
* _Platform maintainers_: Individuals involved in developing,
9-
extending, and maintaing capabilities of the platform.
9+
extending, and maintaining capabilities of the platform.
1010
* _Integration developers_: Individuals tasked with integrated
1111
Open MCT into a larger system, who need to understand
1212
its inner workings sufficiently to complete this integration.
@@ -63,7 +63,7 @@ These layers are:
6363
application-specific knowledge; at this layer, we have only
6464
established an abstraction by which different software components
6565
may communicate and/or interact.
66-
* [_Platform_](platform.md): The platform layer defines the general look,
66+
* [_Platform_](platform.md): The platform layer defines the general look,
6767
feel, and behavior of Open MCT. This includes user-facing components like
6868
Browse mode and Edit mode, as well as underlying elements of the
6969
information model and the general service infrastructure.
@@ -74,5 +74,3 @@ These layers are:
7474
typically consists of a mix of custom plug-ins to Open MCT,
7575
as well as optional features (such as Plot view) included alongside
7676
the platform.
77-
78-

docs/src/architecture/platform.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Overview
22

3-
The Open MCT platform utilizes the [framework layer](Framework.md)
3+
The Open MCT platform utilizes the [framework layer](framework.md)
44
to provide an extensible baseline for applications which includes:
55

66
* A common user interface (and user interface paradigm) for dealing with
@@ -38,7 +38,7 @@ in __any of these tiers__.
3838
are initiated from here and invoke behavior in the presentation layer. HTML 
3939
templates are written in Angular’s template syntax; see the [Angular documentation on templates](https://docs.angularjs.org/guide/templates)​. 
4040
These describe the page as actually seen by the user. Conceptually, 
41-
stylesheets (controlling the look­and­feel of the rendered templates) belong 
41+
stylesheets (controlling the look-and-feel of the rendered templates) belong 
4242
in this grouping as well. 
4343
* [_Presentation layer_](#presentation-layer): The presentation layer
4444
is responsible for updating (and providing information to update)
@@ -48,7 +48,7 @@ in __any of these tiers__.
4848
display.
4949
* [_Information model_](#information-model): ​Provides a common (within Open MCT 
5050
Web) set of interfaces for dealing with “things” ­ domain objects ­ within the 
51-
system. User­facing concerns in a Open MCT Web application are expressed as 
51+
system. User-facing concerns in a Open MCT Web application are expressed as 
5252
domain objects; examples include folders (used to organize other domain 
5353
objects), layouts (used to build displays), or telemetry points (used as 
5454
handles for streams of remote measurements.) These domain objects expose a 

docs/src/design/proposals/APIRedesign.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ to develop a tabular visualization plugin.
180180
* Add a model property to the bundle.json to take in "Hello World"
181181
as a parameter and pass through to the controller/view
182182

183-
### Open Source Contributer
183+
### Open Source Contributor
184184

185185
* [Failures are non-graceful when services are missing.](
186186
https://github.com/nasa/openmctweb/issues/79)
@@ -214,7 +214,7 @@ to an entirely different framework.
214214

215215
We can expect AngularJS 1.x to reach end-of-life reasonably soon thereafter.
216216

217-
Our API is currently a superset of Angular's API, so this directly effects
217+
Our API is currently a superset of Angular's API, so this directly affects
218218
our API. Specifically, API changes should be oriented towards removing
219219
or reducing the Angular dependency.
220220

docs/src/design/proposals/APIRedesign_PeteRichards.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
44

55
- [Reducing interface depth (the bundle.json version)](#reducing-interface-depth-the-bundlejson-version)
6-
- [Imperitive component registries](#imperitive-component-registries)
6+
- [Imperitive component registries](#imperative-component-registries)
77
- [Get rid of "extension category" concept.](#get-rid-of-extension-category-concept)
88
- [Reduce number and depth of extension points](#reduce-number-and-depth-of-extension-points)
99
- [Composite services should not be the default](#composite-services-should-not-be-the-default)
@@ -30,11 +30,11 @@
3030

3131
# Reducing interface depth (the bundle.json version)
3232

33-
## Imperitive component registries
33+
## Imperative component registries
3434

3535
Transition component registries to javascript, get rid of bundle.json and bundles.json. Prescribe a method for application configuration, but allow flexibility in how application configuration is defined.
3636

37-
Register components in an imperitive fashion, see angularApp.factory, angularApp.controller, etc. Alternatively, implement our own application object with new registries and it's own form of registering objects.
37+
Register components in an imperative fashion, see angularApp.factory, angularApp.controller, etc. Alternatively, implement our own application object with new registries and it's own form of registering objects.
3838

3939
## Get rid of "extension category" concept.
4040

@@ -126,9 +126,9 @@ Allow developers to use whatever module loading system they'd like to use, while
126126

127127
## Use gulp or grunt for standard tooling
128128

129-
Using gulp or grunt as a task runner would bring us in line with standard web developer workflows and help standardize rendering, deployment, and packaging. Additional tools can be added to the workflow at low cost, simplifying the set up of developer environments.
129+
Using gulp or grunt as a task runner would bring us in line with standard web developer workflows and help standardize rendering, deployment, and packaging. Additional tools can be added to the workflow at low cost, simplifying the setup of developer environments.
130130

131-
Gulp and grunt provide useful developer tooling such as live reload, automatic scss/less/etc compiliation, and ease of extensibility for standard production build processes. They're key in decoupling code.
131+
Gulp and grunt provide useful developer tooling such as live reload, automatic scss/less/etc compilation, and ease of extensibility for standard production build processes. They're key in decoupling code.
132132

133133
## Package openmctweb as single versioned file.
134134

docs/src/guide/index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ to be passed along by other services.
643643
## Domain Objects
644644

645645
Domain objects are the most fundamental component of Open MCT's information
646-
model. A domain object is some distinct thing relevant to a user's work flow,
646+
model. A domain object is some distinct thing relevant to a user's workflow,
647647
such as a telemetry channel, display, or similar. Open MCT is a tool for
648648
viewing, browsing, manipulating, and otherwise interacting with a graph of
649649
domain objects.
@@ -981,7 +981,7 @@ Examples of gestures included in the platform are:
981981
composition.
982982
* `drop`: For representations that can be drop targets for drag-and-drop
983983
composition.
984-
* `menu`: For representations that can be used to pop up a context menu.
984+
* `menu`: For representations that can be used to popup a context menu.
985985

986986
Gesture definitions have a property `key` which is used as a machine-readable
987987
identifier for the gesture (e.g. `drag`, `drop`, `menu` above.)
@@ -1153,7 +1153,7 @@ For example, the _My Items_ folder is added as an extension of this category.
11531153

11541154
Extensions of this category should have the following properties:
11551155

1156-
* `id`: The machine-readable identifier for the domaiwn object being exposed.
1156+
* `id`: The machine-readable identifier for the domain object being exposed.
11571157
* `model`: The model, as a JSON object, for the domain object being exposed.
11581158

11591159
## Stylesheets Category

docs/src/process/testing/plan.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ perform:
102102

103103
* A relevant subset of [_user testing_](procedures.md#user-test-procedures)
104104
identified by the acting [project manager](../cycle.md#roles).
105-
* [_Long-duration testing_](procedures.md#long-duration-testng)
105+
* [_Long-duration testing_](procedures.md#long-duration-testing)
106106
(specifically, for 24 hours.)
107107

108108
Issues are reported as a product of both forms of testing.

0 commit comments

Comments
 (0)