Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Basic information:  type, name, version, description
  • Application: The application process to run
  • Configuration Descriptor:  describe the configurations required by the application when starting like name, displayName, defaultValue Description, required, etc. which will automatically be visualized in configuration editor.
  • Streams: The streams schema the application will export.
  • Docs: application specific documentations which will be embedded in necessary area during the whole lifecyle of application management.

Code Block
languagejs
titleApplicationDesc[JPM_WEB_APP]
collapsetrue
{
	type: "JPM_WEB_APP",
	name: "Job Performance Monitoring Web ",
	version: "0.5.0-incubating",
	description: null,
	appClass: "org.apache.eagle.app.StaticApplication",
	jarPath: "/opt/eagle/0.5.0-incubating-SNAPSHOT-build-20161103T0332/eagle-0.5.0-incubating-SNAPSHOT/lib/eagle-topology-0.5.0-incubating-SNAPSHOT-hadoop-2.4.1-EBAY-11-assembly.jar",
	viewPath: "/apps/jpm",
	providerClass: "org.apache.eagle.app.jpm.JPMWebApplicationProvider",
	configuration: {
		properties: [{
			name: "service.host",
			displayName: "Eagle Service Host",
			value: "localhost",
			description: "Eagle Service Host, default: localhost",
			required: false
		}, {
			name: "service.port",
			displayName: "Eagle Service Port",
			value: "8080",
			description: "Eagle Service Port, default: 8080",
			required: false
		}]
	},
	streams: null,
	docs: null,
	executable: false,
	dependencies: [{
		type: "MR_RUNNING_JOB_APP",
		version: "0.5.0-incubating",
		required: true
	}, {
		type: "MR_HISTORY_JOB_APP",
		version: "0.5.0-incubating",
		required: true
	}]
}

...