Olof Hagsand
4c85fad32f
Merge pull request #120 from shmuelnatan/my/test
...
Add a test_c++.sh for c++ compiling with c++ code and with 32 bit sytems.
2020-07-07 17:10:37 +02:00
Olof hagsand
853e6734a5
stream curl cant handle -Si flags
2020-07-07 16:53:54 +02:00
Olof hagsand
3bb6947d58
test dont force https
2020-07-07 16:07:29 +02:00
Olof hagsand
5464eec540
Added docker support for three restconf modes: nginx/fcgi(default); evhtp ; and none.
2020-07-07 13:26:38 +02:00
shmuels
d6580221d3
Add a test_c++.sh for c++ compiling with c++ code and with 32 bit systems.
2020-07-05 18:20:18 +03:00
Olof hagsand
5dc2a6387d
unified curl test options
2020-07-03 14:13:15 +02:00
Olof hagsand
593ed2ef3b
Added const char * in multiple places
2020-07-02 19:25:48 +02:00
Olof hagsand
0a985e6618
skip c++ tests in travis
2020-07-02 18:14:59 +02:00
Olof hagsand
639af03edc
autoconf c++ compiler
2020-07-02 17:56:52 +02:00
Olof hagsand
839dc3231d
Merge branch 'mycpp/new-test' of https://github.com/shmuelnatan/clixon into shmuelnatan-mycpp/new-test
2020-07-02 17:20:38 +02:00
shmuels
b91d48e53b
Changed code so that it will be compatible with c++.
...
1. Added #ifdef extern "C" to public header files.
2. Changed variables that are key words in c++, to different names (like ns instead of namespace).
3. Add a test_c++.sh for c++ compiling.
2020-07-02 15:44:42 +03:00
shmuels
58ea4eba27
Changed code so that it will be compatible with c++.
...
1. Added #ifdef extern "C" to public header files.
2. Changed variables that are key words in c++, to different names (like ns instead of namespace).
3. Changed char* to const char* for constant strings.
2020-07-02 15:00:53 +03:00
Olof hagsand
99b01040a7
* Fixed: [Double free when using libxml2 as regex engine #117 ]( https://github.com/clicon/clixon/issues/117 )
...
* added libxml2 support in test_pattern.sh when libxml2 is configured
2020-07-02 13:26:15 +02:00
Olof hagsand
eda4a58ebf
added c++ configure test
2020-07-01 22:36:06 +02:00
Olof hagsand
c049a397b0
Fixed ssl client certs for evhtp.
...
* Added SSL cert info as options: CLICON_SSL_SERVER_CERT, CLICON_SSL_SERVER_KEY, CLICON_SSL_CA_CERT
Added config.sh for testing for autotools
2020-07-01 15:11:22 +02:00
Olof hagsand
9c82e97072
Added http support for evhtp (not only https)
2020-06-29 14:41:08 +02:00
Olof hagsand
7ad07e1915
clear test dir
2020-06-27 13:33:13 +02:00
Olof hagsand
c2e459e8bb
Three errors in new upgrade code: DEL didnt work, empty config did now work, neither did no yang files in a dir
2020-06-27 13:02:04 +02:00
Olof hagsand
1597bd303c
changed cligen repo from olofhagsand/cligen to clicon/cligen
2020-06-21 15:57:43 +02:00
Olof hagsand
3af184c655
Modify restconf tests to run for both evhtp and fcgi: , curl -sik, etc
2020-06-21 15:49:46 +02:00
Olof hagsand
126cc209f4
restconf fcgi refactoring and generalizing restconf tests for evhtp
2020-06-19 15:19:03 +02:00
Olof hagsand
6e714beea5
* Restconf FCGI (eg via nginx) have changed reply message syntax slightly
...
* native http: new restconf_err files, generic data input, restconf_methods generalized.
* test: expecteq removed.
2020-06-16 21:51:00 +02:00
Olof Hagsand
c18c40434f
Merge branch 'master' of https://github.com/clicon/clixon
2020-06-16 07:29:27 +00:00
Olof Hagsand
c61c489e8e
vagrant fcgi etc
2020-06-16 07:29:11 +00:00
Olof hagsand
5120409a56
Auto-cli updates and sync with clixon-docs
2020-06-15 16:07:04 +02:00
Olof hagsand
cea5746597
Fixed: The module clixon-rfc5277 was always enabled, but should only be enabled when CLICON_STREAM_DISCOVERY_RFC5277 is enabled.
2020-06-14 18:01:31 +02:00
Olof hagsand
e898dda016
* Auto-CLI enhancements
...
* A generated clispec including state (default @datanodestate) also generated along with the config clispec tree (default @datanode)
* New mode `GT_HIDE` set by option `CLICON_CLI_GENMODEL_TYPE` to collapse non-presence containers that only contain a single list
* Added a prfix for cli_show_config/cli_show_auto so that it can produce parseable output
* Thanks dcornejo@netgate.com for trying it out and suggestions
2020-06-13 12:05:26 +02:00
Olof hagsand
e2d9c046af
further restconf refactoring
2020-06-11 21:54:09 +02:00
Olof hagsand
ff5462ecac
Replaced the global variable debug with access function: clicon_debug_get().
2020-06-09 16:04:49 +02:00
Olof Hagsand
718f494549
centos test fixes
2020-06-08 18:48:18 +00:00
Olof Hagsand
46738d4b37
vagrant centos8 and freebsd
2020-06-08 13:07:34 +00:00
Olof Hagsand
ab73794292
* Added [Vagrant tests](test/vagrant/README.md)
...
* Fixed memleak in restconf-fcgi
2020-06-08 08:16:42 +00:00
Olof hagsand
14b03f63a3
all clixon event functions prepended with clixon_
...
Replaced fcgi getparam code with clixon-data parameters
2020-06-05 16:19:03 +02:00
Olof hagsand
fdf335fb2f
new function ; Added valgrind mem check in leak tests; pattern CDATA tests
2020-05-29 12:39:07 +02:00
Olof hagsand
7d0b245174
Adapt to CLIgen 4.6 API changes
2020-05-19 22:26:29 +02:00
Olof hagsand
ac1f36009f
Makefile copyright
2020-05-12 13:59:45 +02:00
Olof Hagsand
1d17c762d2
Merge branch 'master' of https://github.com/clicon/clixon
2020-05-11 14:37:26 +00:00
Olof Hagsand
93a8ddbd7b
mem test issues with set variables between tests
2020-05-11 14:37:13 +00:00
Olof hagsand
a3b6ea9e10
New clixon-config@2020-04-23.yang revision
...
* Removed xml-stats non-config data (replaced by rpc `stats` in clixon-lib.yang)
* Added option `CLICON_YANG_UNKNOWN_ANYDATA` to treat unknown XML (wrt YANG) as anydata.
2020-05-11 14:38:38 +02:00
Olof hagsand
bf04131e54
Added decriptive error message when plugins produce invalid state XML.
2020-05-10 17:10:07 +02:00
Olof hagsand
f9e1fe5de7
removed state path kludge
2020-05-05 17:13:38 +02:00
Olof hagsand
bc0eb921d0
Added functionality to restart an individual plugin.: New clixon-lib:restart-plugin RPC
2020-05-04 15:04:02 +02:00
Olof hagsand
3ab1f50a19
undef state path bypass
2020-05-04 13:35:04 +02:00
Olof hagsand
592c513b83
Fix up state bypass get code
2020-05-04 13:10:43 +02:00
Olof hagsand
dafc6d10e0
Added option to treat unknown XML (wrt YANG) as anydata.
2020-05-03 22:03:33 +02:00
Olof hagsand
08c4a424ca
remove enabled
2020-05-01 21:51:53 +02:00
Olof hagsand
703d1a2b08
Added CLICON_STATE_PATH_KLUDGE
2020-05-01 21:39:18 +02:00
Olof hagsand
82529a2f16
* Experimental optimzations of yang-bind and sort for large lists
...
* Enabled by compile-time options: `OPTIMIZE_45_BIND` and `OPTIMIZE_45_SORT`
2020-05-01 17:08:32 +02:00
Olof hagsand
b8ec6a4957
* Optimized prefix checks at xml parse time: using many prefixes slowed down parsing considerably
...
* Cleared startup-db cache after restart
2020-04-29 23:11:48 +02:00
Olof hagsand
5b57e68e2b
remaining exit in test
2020-04-28 22:40:17 +02:00