Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
This comparison is big! We’re only showing the most recent 250 commits
Commits on Aug 05, 2014
Commits on Aug 06, 2014
Commits on Aug 08, 2014
Commits on Aug 14, 2014
Commits on Aug 16, 2014
Commits on Aug 25, 2014
Commits on Aug 26, 2014
Commits on Aug 27, 2014
Commits on Aug 30, 2014
Commits on Aug 31, 2014
Commits on Sep 01, 2014
Commits on Sep 03, 2014
Commits on Sep 12, 2014
Commits on Sep 13, 2014
Commits on Sep 16, 2014
Commits on Sep 19, 2014
Commits on Sep 30, 2014
Commits on Oct 06, 2014
Commits on Nov 18, 2014
Commits on Nov 19, 2014
Commits on Nov 25, 2014
Commits on Dec 09, 2014
Commits on Dec 16, 2014
Commits on Dec 29, 2014
Commits on Jan 06, 2015
Commits on Jan 08, 2015
Commits on Jan 09, 2015
Commits on Jan 11, 2015
Commits on Jan 12, 2015
Commits on Jan 16, 2015
Commits on Jan 23, 2015
Commits on Feb 03, 2015
Commits on Feb 10, 2015
Commits on Feb 13, 2015
Commits on Feb 16, 2015
Commits on Feb 19, 2015
Commits on Feb 20, 2015
Commits on Feb 21, 2015
Commits on Feb 26, 2015
Commits on Mar 05, 2015
Commits on Mar 06, 2015
Commits on Mar 08, 2015
Commits on Mar 12, 2015
Commits on Mar 13, 2015
Commits on Mar 17, 2015
Commits on Mar 18, 2015
Commits on Mar 19, 2015
Commits on Mar 20, 2015
Commits on Mar 21, 2015
Commits on Mar 23, 2015
Commits on Mar 24, 2015
Commits on Mar 26, 2015
Commits on Mar 29, 2015
Commits on Mar 31, 2015
Commits on Apr 01, 2015
Commits on Apr 06, 2015
Commits on Apr 08, 2015
Commits on Apr 09, 2015
Commits on Apr 10, 2015
Commits on Apr 12, 2015
Commits on Apr 13, 2015
Commits on Apr 17, 2015
Commits on Apr 21, 2015
Commits on Apr 29, 2015
Commits on May 08, 2015
Showing with 565 additions and 5,072 deletions.
  1. +1 −0 .gitignore
  2. +11 −70 Makefile
  3. +3 −70 README.md
  4. +0 −112 apps/wiggle/mibs/WIGGLE-MIB.funcs
  5. +0 −857 apps/wiggle/mibs/WIGGLE-MIB.mib
  6. +0 −28 apps/wiggle/src/wiggle.app.src
  7. +0 −26 apps/wiggle/src/wiggle.erl
  8. +0 −11 apps/wiggle/src/wiggle.hrl
  9. +0 −104 apps/wiggle/src/wiggle_app.erl
  10. +0 −83 apps/wiggle/src/wiggle_cloud_handler.erl
  11. +0 −82 apps/wiggle/src/wiggle_console_handler.erl
  12. +0 −298 apps/wiggle/src/wiggle_dataset_handler.erl
  13. +0 −139 apps/wiggle/src/wiggle_dtrace_handler.erl
  14. +0 −147 apps/wiggle/src/wiggle_dtrace_stream.erl
  15. +0 −211 apps/wiggle/src/wiggle_group_handler.erl
  16. +0 −194 apps/wiggle/src/wiggle_handler.erl
  17. +0 −129 apps/wiggle/src/wiggle_hypervisor_handler.erl
  18. +0 −152 apps/wiggle/src/wiggle_iprange_handler.erl
  19. +0 −163 apps/wiggle/src/wiggle_network_handler.erl
  20. +0 −244 apps/wiggle/src/wiggle_org_handler.erl
  21. +0 −130 apps/wiggle/src/wiggle_package_handler.erl
  22. +0 −233 apps/wiggle/src/wiggle_rest_handler.erl
  23. +0 −104 apps/wiggle/src/wiggle_session_handler.erl
  24. +0 −132 apps/wiggle/src/wiggle_snmp_handler.erl
  25. +0 −31 apps/wiggle/src/wiggle_sup.erl
  26. +0 −413 apps/wiggle/src/wiggle_user_handler.erl
  27. +0 −530 apps/wiggle/src/wiggle_vm_handler.erl
  28. +0 −93 apps/wiggle/src/wiggle_vnc_handler.erl
  29. +14 −0 dialyzer.mittigate
  30. +0 −23 hooks/pre-commit
  31. BIN rebar
  32. +4 −28 rebar.config
  33. +1 −1 rebar.config.script
  34. +31 −1 rel/files/wiggle
  35. +11 −13 rel/pkg/Makefile
  36. +1 −0 rel/pkg/deploy/.gitignore
  37. +3 −0 rel/pkg/deploy/sbin/wiggle
  38. +1 −8 rel/pkg/displayfile
  39. +22 −12 rel/pkg/install.sh
  40. +17 −9 rel/reltool.config
  41. +255 −0 schema/erlang_vm.schema
  42. +137 −99 schema/lager.schema
  43. +0 −89 schema/wiggle.schema
  44. +50 −0 share/wiggle-diag
  45. +3 −3 share/wiggle.xml
View
@@ -20,3 +20,4 @@ erl_crash.dump
rel/wiggle
rel/wiggle.tar.bz2
manifest
+.rebar
View
@@ -2,100 +2,41 @@ REBAR = $(shell pwd)/rebar
.PHONY: deps rel stagedevrel version
-all: cp-hooks deps compile
+all: deps rel
cp-hooks:
cp hooks/* .git/hooks
-quick-xref:
- $(REBAR) xref skip_deps=true
+version: deps compile
+ cp deps/wiggle/wiggle.version .
-quick-test:
- $(REBAR) skip_deps=true eunit
-
-version:
- echo "$(shell git symbolic-ref HEAD 2> /dev/null | cut -b 12-)-$(shell git log --pretty=format:'%h, %ad' -1)" > wiggle.version
-
-version_header: version
- echo "-define(VERSION, <<\"$(shell cat wiggle.version)\">>)." > apps/wiggle/src/wiggle_version.hrl
-
-compile: version_header
- $(REBAR) compile
+version_header:
+ true
deps:
$(REBAR) get-deps
+compile: deps
+ $(REBAR) compile
+
clean:
$(REBAR) clean
make -C rel/pkg clean
distclean: clean devclean relclean
$(REBAR) delete-deps
-test: all
- $(REBAR) skip_deps=true xref
- $(REBAR) skip_deps=true eunit
-
-rel: all zabbix
+rel: compile zabbix
-rm -r rel/wiggle/share
$(REBAR) generate
-
relclean:
rm -rf rel/wiggle
package: rel
make -C rel/pkg package
-console: all
- erl -pa deps/*/ebin apps/*/ebin -s wiggle -config standalone.config
-
zabbix:
sh generate_zabbix_template.sh
-###
-### Docs
-###
-docs:
- $(REBAR) skip_deps=true doc
-
-##
-## Developer targets
-##
-
-xref: compile
- @$(REBAR) xref skip_deps=true
-
-stage : rel
- $(foreach dep,$(wildcard deps/* wildcard apps/*), rm -rf rel/wiggle/lib/$(shell basename $(dep))-* && ln -sf $(abspath $(dep)) rel/wiggle/lib;)
-
-##
-## Dialyzer
-##
-APPS = kernel stdlib sasl erts ssl tools os_mon runtime_tools crypto inets \
- xmerl webtool snmp public_key mnesia eunit syntax_tools compiler
-COMBO_PLT = $(HOME)/.wiggle_combo_dialyzer_plt
-
-check_plt: deps compile
- dialyzer --check_plt --plt $(COMBO_PLT) --apps $(APPS) \
- deps/*/ebin apps/*/ebin
-
-build_plt: deps compile
- dialyzer --build_plt --output_plt $(COMBO_PLT) --apps $(APPS) \
- deps/*/ebin apps/*/ebin
-
-dialyzer: deps compile
- @echo
- @echo Use "'make check_plt'" to check PLT prior to using this target.
- @echo Use "'make build_plt'" to build PLT prior to using this target.
- @echo
- @sleep 1
- dialyzer -Wno_return --plt $(COMBO_PLT) deps/*/ebin apps/*/ebin | grep -v -f dialyzer.mittigate
-
-
-cleanplt:
- @echo
- @echo "Are you sure? It takes about 1/2 hour to re-build."
- @echo Deleting $(COMBO_PLT) in 5 seconds.
- @echo
- sleep 5
- rm $(COMBO_PLT)
+test:
+ true
View
@@ -1,78 +1,11 @@
-This is a web GUI for SmartOS systems, it talks over the CloudAPI, you'll need vmwebadm (https://github.com/project-fifo/vmwebadm) to run on your SmartOS.
-
-It is pretty much alpha ware so don't expect to much!
+The API service for Project-FiFo.
+* Wiggle Documentation: https://docs.project-fifo.net/wiggle/configuration.html
+* Installation Documentation https://docs.project-fifo.net/general/installation.html
Thanks
======
This is long overdue - many thanks to:
* the folks from Joyent - for making this possible.
* #smartos - for answering tons of questions
* and especially Trenster - for good ideas and discussions, tons of testing, and lots of good PR
-
-Features
-========
-
-This reflects to so far implemented features not all possible ones.
-
-* machines
- * listing
- * viewing details
- * starting/stopping/restarting
-* listing packages
-* listing datasets
-* creating users
-* Adjusting CloudAPI Credentials (name, key, key_id)
-
-
-Screenshots
-===========
-
-* Home view: http://s7.directupload.net/file/d/2869/76xkwhil_png.htm
-* Admin view: http://s7.directupload.net/file/d/2869/woghq83k_png.htm
-* Account view: http://s1.directupload.net/file/d/2869/kv3neins_png.htm
-
-Installation
-============
-
-* Create a smartOS64 zone.
-* Grab the tarball from the download section.
-* Extract the tarball to /fifo
-* run: ```svcadm import /fifo/libs/wigge-*/priv/wiggle.xml
-
-
-Building
-========
-
-Requirements
-------------
-The following things are required:
-
-* erlang r15(b01).
-* build environment (gcc/make and freinds).
-
-Configuring
------------
-
-edit the standalone.config to reflect your CloudAPI Host.
-
-Making the thing
-----------------
-
-```
-./rebar get-deps
-make
-```
-
-Running
--------
-
-```
-make shell
-```
-
-```
-wiggle:start().
-```
-
-then visit: http://your_host:8080/ you can log in with admin / admin.
@@ -1,112 +0,0 @@
-{name, {wiggle_snmp_handler, name, []}}.
-{version, {wiggle_snmp_handler, version, []}}.
-
-{usersP999, {wiggle_snmp_handler, p999, [<<"/api/0.1.0/users">>]}}.
-{usersP99, {wiggle_snmp_handler, p99, [<<"/api/0.1.0/users">>]}}.
-{usersP95, {wiggle_snmp_handler, p95, [<<"/api/0.1.0/users">>]}}.
-{usersP75, {wiggle_snmp_handler, p75, [<<"/api/0.1.0/users">>]}}.
-{usersP25, {wiggle_snmp_handler, p25, [<<"/api/0.1.0/users">>]}}.
-{usersCount, {wiggle_snmp_handler, count, [<<"/api/0.1.0/users">>]}}.
-{usersMin, {wiggle_snmp_handler, min, [<<"/api/0.1.0/users">>]}}.
-{usersMedian, {wiggle_snmp_handler, median, [<<"/api/0.1.0/users">>]}}.
-{usersMean, {wiggle_snmp_handler, mean, [<<"/api/0.1.0/users">>]}}.
-{usersMax, {wiggle_snmp_handler, max, [<<"/api/0.1.0/users">>]}}.
-
-{sessionsP999, {wiggle_snmp_handler, p999, [<<"/api/0.1.0/sessions">>]}}.
-{sessionsP99, {wiggle_snmp_handler, p99, [<<"/api/0.1.0/sessions">>]}}.
-{sessionsP95, {wiggle_snmp_handler, p95, [<<"/api/0.1.0/sessions">>]}}.
-{sessionsP75, {wiggle_snmp_handler, p75, [<<"/api/0.1.0/sessions">>]}}.
-{sessionsP25, {wiggle_snmp_handler, p25, [<<"/api/0.1.0/sessions">>]}}.
-{sessionsCount, {wiggle_snmp_handler, count, [<<"/api/0.1.0/sessions">>]}}.
-{sessionsMin, {wiggle_snmp_handler, min, [<<"/api/0.1.0/sessions">>]}}.
-{sessionsMedian, {wiggle_snmp_handler, median, [<<"/api/0.1.0/sessions">>]}}.
-{sessionsMean, {wiggle_snmp_handler, mean, [<<"/api/0.1.0/sessions">>]}}.
-{sessionsMax, {wiggle_snmp_handler, max, [<<"/api/0.1.0/sessions">>]}}.
-
-{groupsP999, {wiggle_snmp_handler, p999, [<<"/api/0.1.0/groups">>]}}.
-{groupsP99, {wiggle_snmp_handler, p99, [<<"/api/0.1.0/groups">>]}}.
-{groupsP95, {wiggle_snmp_handler, p95, [<<"/api/0.1.0/groups">>]}}.
-{groupsP75, {wiggle_snmp_handler, p75, [<<"/api/0.1.0/groups">>]}}.
-{groupsP25, {wiggle_snmp_handler, p25, [<<"/api/0.1.0/groups">>]}}.
-{groupsCount, {wiggle_snmp_handler, count, [<<"/api/0.1.0/groups">>]}}.
-{groupsMin, {wiggle_snmp_handler, min, [<<"/api/0.1.0/groups">>]}}.
-{groupsMedian, {wiggle_snmp_handler, median, [<<"/api/0.1.0/groups">>]}}.
-{groupsMean, {wiggle_snmp_handler, mean, [<<"/api/0.1.0/groups">>]}}.
-{groupsMax, {wiggle_snmp_handler, max, [<<"/api/0.1.0/groups">>]}}.
-
-{cloudP999, {wiggle_snmp_handler, p999, [<<"/api/0.1.0/cloud">>]}}.
-{cloudP99, {wiggle_snmp_handler, p99, [<<"/api/0.1.0/cloud">>]}}.
-{cloudP95, {wiggle_snmp_handler, p95, [<<"/api/0.1.0/cloud">>]}}.
-{cloudP75, {wiggle_snmp_handler, p75, [<<"/api/0.1.0/cloud">>]}}.
-{cloudP25, {wiggle_snmp_handler, p25, [<<"/api/0.1.0/cloud">>]}}.
-{cloudCount, {wiggle_snmp_handler, count, [<<"/api/0.1.0/cloud">>]}}.
-{cloudMin, {wiggle_snmp_handler, min, [<<"/api/0.1.0/cloud">>]}}.
-{cloudMedian, {wiggle_snmp_handler, median, [<<"/api/0.1.0/cloud">>]}}.
-{cloudMean, {wiggle_snmp_handler, mean, [<<"/api/0.1.0/cloud">>]}}.
-{cloudMax, {wiggle_snmp_handler, max, [<<"/api/0.1.0/cloud">>]}}.
-
-{hypervisorsP999, {wiggle_snmp_handler, p999, [<<"/api/0.1.0/hypervisors">>]}}.
-{hypervisorsP99, {wiggle_snmp_handler, p99, [<<"/api/0.1.0/hypervisors">>]}}.
-{hypervisorsP95, {wiggle_snmp_handler, p95, [<<"/api/0.1.0/hypervisors">>]}}.
-{hypervisorsP75, {wiggle_snmp_handler, p75, [<<"/api/0.1.0/hypervisors">>]}}.
-{hypervisorsP25, {wiggle_snmp_handler, p25, [<<"/api/0.1.0/hypervisors">>]}}.
-{hypervisorsCount, {wiggle_snmp_handler, count, [<<"/api/0.1.0/hypervisors">>]}}.
-{hypervisorsMin, {wiggle_snmp_handler, min, [<<"/api/0.1.0/hypervisors">>]}}.
-{hypervisorsMedian, {wiggle_snmp_handler, median, [<<"/api/0.1.0/hypervisors">>]}}.
-{hypervisorsMean, {wiggle_snmp_handler, mean, [<<"/api/0.1.0/hypervisors">>]}}.
-{hypervisorsMax, {wiggle_snmp_handler, max, [<<"/api/0.1.0/hypervisors">>]}}.
-
-{dtraceP999, {wiggle_snmp_handler, p999, [<<"/api/0.1.0/dtrace">>]}}.
-{dtraceP99, {wiggle_snmp_handler, p99, [<<"/api/0.1.0/dtrace">>]}}.
-{dtraceP95, {wiggle_snmp_handler, p95, [<<"/api/0.1.0/dtrace">>]}}.
-{dtraceP75, {wiggle_snmp_handler, p75, [<<"/api/0.1.0/dtrace">>]}}.
-{dtraceP25, {wiggle_snmp_handler, p25, [<<"/api/0.1.0/dtrace">>]}}.
-{dtraceCount, {wiggle_snmp_handler, count, [<<"/api/0.1.0/dtrace">>]}}.
-{dtraceMin, {wiggle_snmp_handler, min, [<<"/api/0.1.0/dtrace">>]}}.
-{dtraceMedian, {wiggle_snmp_handler, median, [<<"/api/0.1.0/dtrace">>]}}.
-{dtraceMean, {wiggle_snmp_handler, mean, [<<"/api/0.1.0/dtrace">>]}}.
-{dtraceMax, {wiggle_snmp_handler, max, [<<"/api/0.1.0/dtrace">>]}}.
-
-{vmsP999, {wiggle_snmp_handler, p999, [<<"/api/0.1.0/vms">>]}}.
-{vmsP99, {wiggle_snmp_handler, p99, [<<"/api/0.1.0/vms">>]}}.
-{vmsP95, {wiggle_snmp_handler, p95, [<<"/api/0.1.0/vms">>]}}.
-{vmsP75, {wiggle_snmp_handler, p75, [<<"/api/0.1.0/vms">>]}}.
-{vmsP25, {wiggle_snmp_handler, p25, [<<"/api/0.1.0/vms">>]}}.
-{vmsCount, {wiggle_snmp_handler, count, [<<"/api/0.1.0/vms">>]}}.
-{vmsMin, {wiggle_snmp_handler, min, [<<"/api/0.1.0/vms">>]}}.
-{vmsMedian, {wiggle_snmp_handler, median, [<<"/api/0.1.0/vms">>]}}.
-{vmsMean, {wiggle_snmp_handler, mean, [<<"/api/0.1.0/vms">>]}}.
-{vmsMax, {wiggle_snmp_handler, max, [<<"/api/0.1.0/vms">>]}}.
-
-{iprangesP999, {wiggle_snmp_handler, p999, [<<"/api/0.1.0/ipranges">>]}}.
-{iprangesP99, {wiggle_snmp_handler, p99, [<<"/api/0.1.0/ipranges">>]}}.
-{iprangesP95, {wiggle_snmp_handler, p95, [<<"/api/0.1.0/ipranges">>]}}.
-{iprangesP75, {wiggle_snmp_handler, p75, [<<"/api/0.1.0/ipranges">>]}}.
-{iprangesP25, {wiggle_snmp_handler, p25, [<<"/api/0.1.0/ipranges">>]}}.
-{iprangesCount, {wiggle_snmp_handler, count, [<<"/api/0.1.0/ipranges">>]}}.
-{iprangesMin, {wiggle_snmp_handler, min, [<<"/api/0.1.0/ipranges">>]}}.
-{iprangesMedian, {wiggle_snmp_handler, median, [<<"/api/0.1.0/ipranges">>]}}.
-{iprangesMean, {wiggle_snmp_handler, mean, [<<"/api/0.1.0/ipranges">>]}}.
-{iprangesMax, {wiggle_snmp_handler, max, [<<"/api/0.1.0/ipranges">>]}}.
-
-{datasetsP999, {wiggle_snmp_handler, p999, [<<"/api/0.1.0/datasets">>]}}.
-{datasetsP99, {wiggle_snmp_handler, p99, [<<"/api/0.1.0/datasets">>]}}.
-{datasetsP95, {wiggle_snmp_handler, p95, [<<"/api/0.1.0/datasets">>]}}.
-{datasetsP75, {wiggle_snmp_handler, p75, [<<"/api/0.1.0/datasets">>]}}.
-{datasetsP25, {wiggle_snmp_handler, p25, [<<"/api/0.1.0/datasets">>]}}.
-{datasetsCount, {wiggle_snmp_handler, count, [<<"/api/0.1.0/datasets">>]}}.
-{datasetsMin, {wiggle_snmp_handler, min, [<<"/api/0.1.0/datasets">>]}}.
-{datasetsMedian, {wiggle_snmp_handler, median, [<<"/api/0.1.0/datasets">>]}}.
-{datasetsMean, {wiggle_snmp_handler, mean, [<<"/api/0.1.0/datasets">>]}}.
-{datasetsMax, {wiggle_snmp_handler, max, [<<"/api/0.1.0/datasets">>]}}.
-
-{packagesP999, {wiggle_snmp_handler, p999, [<<"/api/0.1.0/packages">>]}}.
-{packagesP99, {wiggle_snmp_handler, p99, [<<"/api/0.1.0/packages">>]}}.
-{packagesP95, {wiggle_snmp_handler, p95, [<<"/api/0.1.0/packages">>]}}.
-{packagesP75, {wiggle_snmp_handler, p75, [<<"/api/0.1.0/packages">>]}}.
-{packagesP25, {wiggle_snmp_handler, p25, [<<"/api/0.1.0/packages">>]}}.
-{packagesCount, {wiggle_snmp_handler, count, [<<"/api/0.1.0/packages">>]}}.
-{packagesMin, {wiggle_snmp_handler, min, [<<"/api/0.1.0/packages">>]}}.
-{packagesMedian, {wiggle_snmp_handler, median, [<<"/api/0.1.0/packages">>]}}.
-{packagesMean, {wiggle_snmp_handler, mean, [<<"/api/0.1.0/packages">>]}}.
-{packagesMax, {wiggle_snmp_handler, max, [<<"/api/0.1.0/packages">>]}}.
Oops, something went wrong.

No commit comments for this range