| Age | Commit message (Collapse) | Author |
|
2. Fulfilled comm_model.go, now CRUD is almost finished
3. added CommScore CRUD in rule_model.go
|
|
2. move Command struct to model package
3. let getCommandsFromHist not exported
4. let Commands type can be sorted by using sort.Sort
5. created mongo_conn.go and comm_mongo.go,
connecting to mongo database
6. changed marshal_and_unmarshal.go to json_marshal.go
7. in yaml.go, added MongoSet struct to let user define the connection
type for the mongodb
8. clean the structure of the pakcages, let the import
structure be cleaned
|
|
output.json in 3 mins(will let user change it in the future)
2. in version.go changed version from 0.0.2 to 0.0.5
3. changed GetCommands, not GetCommands func will have no args and
will call GetCommandsFromHist func
4. deleted verEndpoint and startEvaluateEndpoint func for it has no value
5. added history.sh to use history command-line tool
6. deleted router.StartRouter() in main.go
|
|
model package
2. Changed Command struct ,added arg "Flags" in the struct
3. move the marshal_and_unmarshal.go to the model pakcage
4. changed EvaluatePathRule func, return back to use the
filepath.Walk func to check the score
5. added EvaluateWebsiteRule func in the rules package
6. added websiterules.json in the static/rules
7. added WebsiteRulesPath arg in the Conf struct in the yaml.go
|
|
|
|
|
|
faster
2. updated all the test to fit Jenkins test
|
|
and SimpleCommandFilter
|
|
|
|
|
|
1. Added endpoint_test.go and fininshed all the endpoint test
2. changed some endpoint func, let the file stored in static/base
3. make port can be adjusted by user
|
|
evaluation, not storing or sth else
2. make Ver a const and exported in version.go
3. changed commflush_test.go, will only test
whichCommandFilter
4. changed commandChecker func to checkOneCmd,
cmdFilter to cmdsFilter
5. create endpoint.go and endpoint_test.go to store
various endpoints func
6. delete all the endpoints in the router.go, added
multiple routes in the manageRouter() func
7. changed marshal_and_unmarshal.go, marshal and
unmarshal func now can only receive one variable, filePath will be read
in the marshal and unmarshal func from yaml.go
8. changed rulestype.go, delete the yaml reading
9. fix ginmode read in the yaml.go
10. added router.Start() in the main.go
|