Skip to content

Merge master to feature/non-cdn-update #5889

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
1ff083a
CA-389241: import-update-key compatible with xs8 and xs9
liulinC Mar 7, 2024
b11f678
Merge pull request #5483 from liulinC/private/linl/dev
liulinC Mar 8, 2024
3d5f055
Merge branch 'master' into private/linl/dev
liulinC Mar 21, 2024
4b83c2f
Merge pull request #5525 from liulinC/private/linl/dev
psafont Mar 21, 2024
d1a3219
CP-46944: Update yum plugins to dnf plugins (#5526)
liulinC Mar 26, 2024
6626e2c
Routine feature branch sync (#5531)
liulinC Mar 26, 2024
e1f14a7
CP-45921: Use dnf as package manager for XS9 (#5534)
liulinC Apr 3, 2024
a24f80b
CP-48221: Support new gpg for XS9 (#5543)
liulinC Apr 9, 2024
480b2ed
Merge remote-tracking branch 'master' into feature/xs9
liulinC Apr 11, 2024
6eace03
Merge pull request #5553 from xapi-project/private/linl/sync
psafont Apr 11, 2024
ca8ddc4
Update update.precheck/apply to be compatible with yum and dnf (#5564)
liulinC Apr 18, 2024
cdef56c
Merge remote-tracking branch 'ogh/master' into feature/xs9
liulinC Apr 18, 2024
3921246
Merge pull request #5568 from liulinC/private/linl/sync
liulinC Apr 18, 2024
9291f21
CA-394343: After clock jump the xapi assumed the host is HOST_OFFLINE
minglumlu Jun 18, 2024
f0721d8
Merge branch 'master' into private/stephenche/sync_xs9_with_master
stephenchengCloud Jul 12, 2024
240a56c
Fix pytype warnings.
stephenchengCloud Jul 12, 2024
9bf0e46
Merge pull request #5814 from stephenchengCloud/private/stephenche/sy…
gangj Jul 12, 2024
ef15273
Refactor to use List apis
Vincent-lau Jul 5, 2024
0416e2a
Add new check for new parameters' default value
Vincent-lau Jul 5, 2024
34a8249
Refactored HTTP_actions template.
kc284 Dec 18, 2023
2aea851
xapi-cli-server: simplifications around error handling
psafont Nov 14, 2023
29aa477
xapi-cli-server: remove function s2sm to serialize data
psafont Mar 20, 2024
c46c5dc
xapi-cli-server: remove function s2brm to serialize data
psafont Mar 20, 2024
a0d4141
CP-49101: Fix pylint error
liulinC Jul 15, 2024
e0b95c3
CA-395626: Fix (server status report generation report)
Jul 15, 2024
4c29106
CP-50078: Instrument xapi-storage-script with tracing (#5808)
Jul 15, 2024
fd0818d
context: `complete_tracing` should be called last
GabrielBuica Jun 25, 2024
9ddaf75
context: catch error inside span
GabrielBuica Jun 26, 2024
174b597
tracing: Instrument task related functionality
GabrielBuica Jun 20, 2024
1e619ab
time: use `Date.now` over `Unix.time` in `taskHelper.ml`
GabrielBuica Jul 1, 2024
dcf558f
Merge pull request #5823 from psafont/private/paus/scrub
psafont Jul 15, 2024
d496db1
formatting: Use `let@` and `match` statements.
GabrielBuica Jul 1, 2024
0f45257
CA-395626: Add a unit test to detect incorrect cookie parsing
Jul 15, 2024
367e833
Merge pull request #5831 from liulinC/private/linl/dev
liulinC Jul 15, 2024
66f5896
quicktest: associate unit-test with xapi package
psafont Jul 15, 2024
de34718
CP-50270: Set the correct parent in `make_connection`
GabrielBuica Jul 15, 2024
8689af4
gen_empty_custom: avoid wildcards for actions
psafont Mar 28, 2024
fbcc033
Merge pull request #5834 from GabrielBuica/private/dbuica/CP-50270
edwintorok Jul 15, 2024
42fb801
Merge pull request #5832 from last-genius/private/asultanov/query-fix
edwintorok Jul 15, 2024
c6984ad
CA-390277: Add API to fetch references matching a query
psafont Mar 28, 2024
caadaf2
xapi-cli-server: use helper remote in migrate function
psafont Jul 3, 2024
ba47a87
CA-390277: Reduce record usage on CLI cross-pool migrations
psafont Mar 28, 2024
d7ce84f
Merge pull request #5833 from psafont/metacap
psafont Jul 15, 2024
a91635e
Merge pull request #5784 from Vincent-lau/private/shul2/check-param
Vincent-lau Jul 15, 2024
259fb4e
Refactor: Move to default optional parameters when they were reimplem…
Jul 4, 2024
1f80e89
Moved PS destructors to a template.
kc284 Dec 18, 2023
04c1055
Merge pull request #5816 from xapi-project/feature/xs9
liulinC Jul 16, 2024
972090a
Add -run-only and -list-tests parameters to quicktests
Jul 11, 2024
e8d9e67
CP-50079: Add correct cookie parsing alongside the old style
Jul 12, 2024
f42840c
CP-50079: Expands http quicktests to also check parsing of cookies.
Jul 12, 2024
aa02b52
CP-50079: Remove legacy sync_config_files interface
Jul 12, 2024
a0464a7
CP-50079: Remove unused unixpwd function and its associated tests
Jul 15, 2024
cbd156c
Merge pull request #5773 from psafont/getallwhere
psafont Jul 16, 2024
0c65928
Merge pull request #5735 from GabrielBuica/private/dbuica/CA-394169-t…
robhoes Jul 16, 2024
bd222d0
Merge pull request #5554 from kc284/private/konstantin1/sdk-ps
kc284 Jul 16, 2024
c8c8d4d
quality-gate: fix list.hd
psafont Jul 16, 2024
69768f5
Merge pull request #5844 from psafont/qgate
psafont Jul 16, 2024
28b16f4
CP-49811: Remove redundant method object from span name
snwoods Jul 16, 2024
4a06135
CA-395784: fix(xapi-fd-test): do not generate <1us timeouts
edwintorok Jul 16, 2024
f4f3a7f
CA-395784: fix(xapi-fd-test): timeouts get converted to microseconds,…
edwintorok Jul 15, 2024
80a66c8
Merge pull request #5840 from snwoods/private/stevenwo/CP-49811
bernhardkaindl Jul 16, 2024
c70d3de
CA-395784: fix(buf_io_test): the timeout is per read, not per functio…
edwintorok Jul 15, 2024
bd69fbe
CP-49875: Group the auto_instrumentation spans by module
snwoods Jul 15, 2024
6577325
CP-49634: Add alerting for Corosync upgrade
Vincent-lau May 21, 2024
b8b5fd0
Merge pull request #5838 from edwintorok/private/edvint/fix-timeouts
edwintorok Jul 16, 2024
f4e944f
CA-395512: process SMAPIv3 API calls concurrently (default off)
edwintorok Jul 10, 2024
2aa27d7
Merge pull request #5839 from snwoods/private/stevenwo/CP-49875
snwoods Jul 17, 2024
9f654a1
Merge pull request #5646 from Vincent-lau/private/shul2/corosync3-msg
Vincent-lau Jul 18, 2024
ccc0f31
vhd-tool, xen-api-client: Remove duplicated cohttp_unbuffered_io module
Jul 18, 2024
6e5893b
vhd-tool, ezxenstore: Remove duplicate xenstore module
Jul 18, 2024
56ef633
Fix Short/Long duration printing
edwintorok Jul 1, 2024
857be9e
forkexecd: do not clip commandline in logs
edwintorok Jul 3, 2024
fda9275
Merge pull request #5856 from last-genius/private/asultanov/duplicate…
psafont Jul 19, 2024
71c3960
CA-395174: Try to unarchive VM's metrics when they aren't running
psafont Jul 8, 2024
7fe1955
rrdd_proxy: Change *_at to specify the IP address
psafont Jul 8, 2024
6bb7702
rrdd_proxy: Use Option to encode where VMs might be available at
psafont Jul 8, 2024
110c112
http-lib: avoid double-queries to the radix tree
psafont Jul 18, 2024
3658806
rrdd_proxy: Return 400 on bad vm request
psafont Jul 19, 2024
c60e482
CA-394148: Fix dry-run handling in xe-restore-metadata
alexbrett Jul 16, 2024
0270f25
CA-393578: Fix vbd cleanup in metadata scripts
alexbrett Jul 16, 2024
6fb7738
CA-383491: [Security fix] Use debugfs on xe-restore-metadata probes
Sep 25, 2023
f51cb8c
Updates to Portable SR Functionality
alexbrett Jul 16, 2024
0a11d0b
Fixes for shellcheck
alexbrett Jul 16, 2024
2189996
Remove unused `yes` parameter in xe-backup-metadata
alexbrett Jul 19, 2024
8337fa9
Remove ineffectual parameter wiping (#5868)
Jul 22, 2024
3026754
Merge pull request #5862 from edwintorok/private/edvint/epoll4.0-cleanup
psafont Jul 22, 2024
f39ea99
CP-47536: Drop posix_channel and channel_helper: unused and a mix of …
edwintorok Jul 22, 2024
d3460a3
opam: dunify vhd-tool's metadata
psafont Jul 22, 2024
541c03d
CP-47536: replace Protocol_unix.scheduler.Delay with Threadext.Delay
edwintorok May 10, 2024
d9590a0
fix(xapi-idl): replace PipeDelay with Delay, avoid another Thread.wai…
edwintorok Jun 10, 2024
0a92794
Merge pull request #5863 from edwintorok/private/edvint/epoll4.0-drop
edwintorok Jul 22, 2024
e60aeb5
Merge pull request #5807 from edwintorok/private/edvint/listen_p
edwintorok Jul 22, 2024
9e33053
Merge pull request #5872 from psafont/dune-vhd-tool
psafont Jul 22, 2024
54abab8
Merge pull request #5855 from psafont/rrd-unpack
psafont Jul 22, 2024
b411adc
Merge pull request #5861 from edwintorok/private/edvint/epoll4.0-delay
edwintorok Jul 22, 2024
4f587b0
opam: dunify message-switch-unix's metadata
psafont Jul 22, 2024
d88017e
IH-507: xapi_xenops: raise an error when the kernel isn't allowed
psafont Jul 22, 2024
5dc2900
IH-507: Do not allow guest kernels in /boot/
psafont Jul 23, 2024
090e846
Merge pull request #5700 from minglumlu/private/mingl/CA-394343
psafont Jul 23, 2024
1c92485
Merge pull request #5875 from psafont/dune-mswitch
psafont Jul 23, 2024
1d0aae5
Merge pull request #5874 from psafont/private/paus/minions
psafont Jul 23, 2024
a7b7a26
[maintenance] bump minimum dune language version to 3.7
edwintorok Mar 20, 2023
5353e3e
[maintenance]: bump dune language version to 3.15
edwintorok Jul 23, 2024
d802d43
[maintenance] regenerate opam after dune version bump
edwintorok Mar 20, 2023
197adc9
[maintenance]: do not build bytecode versions of internal libraries
edwintorok Mar 20, 2023
ac6b7b4
[maintenance]: add server.mli
edwintorok Jul 22, 2024
ed78088
[maintenance]: xapi-aux does not need to depend on xapi-types
edwintorok Mar 20, 2023
f07b9d7
[maintenance]: preprocess only modules containing @@deriving
edwintorok Mar 20, 2023
d3869c1
[maintenance]: split server.ml into separate library
edwintorok Mar 20, 2023
bc1a58c
[maintenance]: remove API.API
edwintorok Mar 20, 2023
3f6228b
[maintenance]: remove dependency between most tests and server.ml
edwintorok Mar 20, 2023
f823835
[maintenance]: remove unneeded dependencies
edwintorok Jul 22, 2024
ebbc4c6
[maintenance]: break dependency of gen_api_main on xapi_version
edwintorok Jul 22, 2024
c8e828e
[maintenance]: xapi-types should not depend on xapi-idl
edwintorok Jul 22, 2024
9c85ed7
[maintenance]: use bytecode for gen_api_main
edwintorok Jul 22, 2024
bf35097
[maintenance]: further split xapi_internal_server
edwintorok Jul 22, 2024
62ff5e7
[maintenance]: reduce basic-rpc-test time
edwintorok Mar 20, 2023
7530d5e
[maintenance]: try to reconnect to message-switch every 0.5s
edwintorok Mar 20, 2023
a6406ea
[maintenance]: add back the 5s message-switch test as a stresstest
edwintorok Jul 24, 2024
bc549cd
Merge pull request #5876 from edwintorok/private/edvint/maintenance2
edwintorok Jul 24, 2024
e5fa761
maintenance: delete unused fields
psafont Jul 24, 2024
9fd09c8
datamodel_lifecycle: automated bump
psafont Jul 24, 2024
adf27d5
Merge pull request #5880 from psafont/nowarns
psafont Jul 25, 2024
cd16298
maintenance: restore dune utop
psafont Jul 25, 2024
e2c0ac6
xapi: update mirage-crypto version
psafont Jul 5, 2024
34ee1ef
mirage-rng: Initialize it only in tests and selfcert
psafont Jul 23, 2024
842de7b
Merge pull request #5882 from psafont/utop
psafont Jul 25, 2024
231bb73
Merge pull request #5878 from psafont/up
psafont Jul 26, 2024
f4b9bcf
clock: use external qcheck-alcotest
psafont Jul 26, 2024
afe5fec
Merge pull request #5885 from psafont/qcheck-core
psafont Jul 26, 2024
a03b3da
Merge branch 'master' into private/bengangy/merge-master-to-non-cdn-u…
BengangY Jul 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
--cov-report xml:.git/coverage${{matrix.python-version}}.xml
env:
PYTHONDEVMODE: yes
PYTHONPATH: "python3:python3/tests/stubs"

- name: Upload coverage report to Coveralls
uses: coverallsapp/github-action@v2
Expand Down
4 changes: 3 additions & 1 deletion clock.opam
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "https://xapi-project.github.io/"
bug-reports: "https://github.com/xapi-project/xen-api/issues"
depends: [
"dune" {>= "3.0"}
"dune" {>= "3.15"}
"ocaml" {>= "4.12"}
"alcotest" {with-test}
"astring"
"mtime"
"ptime"
"qcheck-core" {with-test}
"qcheck-alcotest" {with-test}
"odoc" {with-doc}
]
build: [
Expand Down
12 changes: 6 additions & 6 deletions doc/content/xapi/guides/howtos/add-field.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
+++
title = "Adding a field to the API"
+++
This page describes how to add a field to XenAPI. A field is a parameter of a class that can be used in functions and read from the API.
This page describes how to add a field to XenAPI. A field is a parameter of a class that can be used in functions and read from the API.

Bumping the database schema version
-----------------------------------
Expand Down Expand Up @@ -34,15 +34,15 @@ new API fields used for ActiveDirectory integration were added:

(* IMPORTANT: Please bump schema vsn if you change/add/remove a _field_.
You do not have to dump vsn if you change/add/remove a message *)

let schema_major_vsn = 5
-let schema_minor_vsn = 55
+let schema_minor_vsn = 56

(* Historical schema versions just in case this is useful later *)
let rio_schema_major_vsn = 5
let rio_schema_minor_vsn = 19

+let miami_release_schema_major_vsn = 5
+let miami_release_schema_minor_vsn = 35
+
Expand Down Expand Up @@ -95,7 +95,7 @@ See datamodel_types.ml for information about other parameters.
Adding a field would change the constructors for the class – functions
Db.*.create – and therefore, any references to these in the code need to be
updated. In the example, the argument ~ha_enabled:false should be added to any
call to Db.Pool.create.
call to Db.Pool.create.

Examples of where these calls can be found is in `ocaml/tests/common/test_common.ml` and `ocaml/xapi/xapi_[class].ml`.

Expand All @@ -113,7 +113,7 @@ if you don't want this field to show up in a *_params_list call. As an example,
here is a field that we've just added to the SM class:

make_field ~name:"versioned-capabilities"
~get:(fun () -> Record_util.s2sm_to_string "; " (x ()).API.sM_versioned_capabilities)
~get:(fun () -> get_from_map (x ()).API.sM_versioned_capabilities)
~get_map:(fun () -> (x ()).API.sM_versioned_capabilities)
~hidden:true ();

Expand Down
2 changes: 1 addition & 1 deletion dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(ocamlopt_flags (:standard -g -p -w -39))
(flags (:standard -w -39))
)
(dev (flags (:standard -g -w -39)))
(dev (flags (:standard -g -w -39 -warn-error -69)))
(release
(flags (:standard -w -39-6@5))
(env-vars (ALCOTEST_COMPACT 1))
Expand Down
105 changes: 102 additions & 3 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(lang dune 3.0)
(lang dune 3.15)

(formatting (enabled_for ocaml))
(using menhir 2.0)

Expand Down Expand Up @@ -28,6 +29,8 @@
astring
mtime
ptime
(qcheck-core :with-test)
(qcheck-alcotest :with-test)
)
)

Expand Down Expand Up @@ -66,7 +69,6 @@
(synopsis "Xen-API client library for remotely-controlling a xapi host")
(authors "David Scott" "Anil Madhavapeddy" "Jerome Maloberti" "John Else" "Jon Ludlam" "Thomas Sanders" "Mike McClurg")
(depends
dune-build-info
(alcotest :with-test)
astring
(cohttp (>= "0.22.0"))
Expand Down Expand Up @@ -187,7 +189,6 @@
(description "This daemon monitors 'datasources' i.e. time-varying values such as performance counters and records the samples in RRD archives. These archives can be used to examine historical performance trends.")
(depends
(ocaml (>= "4.02.0"))
dune-build-info
(alcotest :with-test)
astring
(gzip (= :version))
Expand Down Expand Up @@ -300,6 +301,68 @@

(package
(name xapi)
(synopsis "The toolstack daemon which implements the XenAPI")
(description "This daemon exposes the XenAPI and is used by clients such as 'xe' and 'XenCenter' to manage clusters of Xen-enabled hosts.")
(depends
alcotest ; needed for the quicktest binary
angstrom
base-threads
base64
cdrom
conf-pam
(crowbar :with-test)
ctypes
ctypes-foreign
domain-name
(ezxenstore (= :version))
(fmt :with-test)
hex
(http-lib (and :with-test (= :version))) ; the public library is only used for testing
ipaddr
mirage-crypto
mirage-crypto-pk
(mirage-crypto-rng (>= "0.11.0"))
(message-switch-unix (= :version))
mtime
opentelemetry-client-ocurl
pci
(pciutil (= :version))
ppx_deriving_rpc
ppx_sexp_conv
ppx_deriving
psq
rpclib
(rrdd-plugin (= :version))
rresult
sexpr
sha
(stunnel (= :version))
tar
tar-unix
(uuid (= :version))
x509
(xapi-client (= :version))
(xapi-cli-protocol (= :version))
(xapi-consts (= :version))
(xapi-datamodel (= :version))
(xapi-expiry-alerts (= :version))
(xapi-idl (= :version))
(xapi-inventory (= :version))
(xapi-log (= :version))
(xapi-stdext-date (= :version))
(xapi-stdext-pervasives (= :version))
(xapi-stdext-std (= :version))
(xapi-stdext-threads (= :version))
(xapi-stdext-unix (= :version))
(xapi-stdext-zerocheck (= :version))
(xapi-test-utils :with-test)
(xapi-tracing (= :version))
(xapi-types (= :version))
(xapi-xenopsd (= :version))
(xml-light2 (= :version))
yojson
(zstd (= :version))
)
)

(package
Expand All @@ -321,6 +384,32 @@

(package
(name vhd-tool)
(synopsis "Manipulate .vhd files")
(tags ("org.mirage" "org:xapi-project"))
(depends
(alcotest-lwt :with-test)
cohttp-lwt
conf-libssl
(cstruct (>= "3.0.0"))
(ezxenstore (= :version))
(forkexec (= :version))
io-page
lwt
nbd-unix
ppx_cstruct
ppx_deriving_rpc
re
rpclib
sha
tar
(vhd-format (= :version))
(vhd-format-lwt (= :version))
(xapi-idl (= :version))
(xapi-log (= :version))
(xen-api-client-lwt (= :version))
xenstore
xenstore_transport
)
)

(package
Expand Down Expand Up @@ -438,6 +527,16 @@ This package provides an Lwt compatible interface to the library.")

(package
(name message-switch-unix)
(synopsis "A simple store-and-forward message switch")
(description "The switch stores messages in queues with well-known names. Clients use a simple HTTP protocol to enqueue and dequeue messages.")
(depends
base-threads
cohttp
(message-switch-core (= :version))
ppx_deriving_rpc
rpclib
(xapi-stdext-threads (= :version))
)
)

(package
Expand Down
2 changes: 1 addition & 1 deletion forkexec.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "https://xapi-project.github.io/"
bug-reports: "https://github.com/xapi-project/xen-api/issues"
depends: [
"dune" {>= "3.0"}
"dune" {>= "3.15"}
"base-threads"
"fd-send-recv" {>= "2.0.0"}
"ppx_deriving_rpc"
Expand Down
2 changes: 1 addition & 1 deletion http-lib.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "https://xapi-project.github.io/"
bug-reports: "https://github.com/xapi-project/xen-api/issues"
depends: [
"dune" {>= "3.0"}
"dune" {>= "3.15"}
"alcotest" {with-test}
"astring"
"base64" {>= "3.1.0"}
Expand Down
2 changes: 1 addition & 1 deletion message-switch-core.opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "https://xapi-project.github.io/"
bug-reports: "https://github.com/xapi-project/xen-api/issues"
depends: [
"dune" {>= "3.0"}
"dune" {>= "3.15"}
"astring"
"cohttp" {>= "0.21.1"}
"ppx_deriving_rpc"
Expand Down
50 changes: 28 additions & 22 deletions message-switch-unix.opam
Original file line number Diff line number Diff line change
@@ -1,29 +1,35 @@
# This file is generated by dune, edit dune-project instead
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
opam-version: "2.0"
name: "message-switch-unix"
maintainer: "xen-api@lists.xen.org"
authors: [ "xen-api@lists.xen.org" ]
homepage: "https://github.com/xapi-project/xen-api"
synopsis: "A simple store-and-forward message switch"
description:
"The switch stores messages in queues with well-known names. Clients use a simple HTTP protocol to enqueue and dequeue messages."
maintainer: ["Xapi project maintainers"]
authors: ["xen-api@lists.xen.org"]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "https://xapi-project.github.io/"
bug-reports: "https://github.com/xapi-project/xen-api/issues"
dev-repo: "git+https://github.com/xapi-project/xen-api.git"
tags: [ "org:xapi-project" ]
build: [
["./configure" "--prefix" "%{prefix}%"]
[ "dune" "build" "-p" name "-j" jobs ]
]
depends: [
"ocaml"
"dune" {build & >= "1.4"}
"odoc" {with-doc}
"dune" {>= "3.15"}
"base-threads"
"message-switch-core"
"cohttp"
"message-switch-core" {= version}
"ppx_deriving_rpc"
"rpclib"
"xapi-stdext-threads" {= version}
"odoc" {with-doc}
]
synopsis: "A simple store-and-forward message switch"
description: """
The switch stores messages in queues with well-known names. Clients use
a simple HTTP protocol to enqueue and dequeue messages."""
url {
src: "https://github.com/xapi-project/xen-api/archive/master.tar.gz"
}
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/xapi-project/xen-api.git"
27 changes: 0 additions & 27 deletions message-switch-unix.opam.template

This file was deleted.

1 change: 1 addition & 0 deletions message-switch.opam
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ depends: [
"ppx_sexp_conv"
"sexplib"
"shared-block-ring" {>= "2.3.0"}
"xapi-stdext-unix"
]
synopsis: "A simple store-and-forward message switch"
description: """
Expand Down
1 change: 1 addition & 0 deletions message-switch.opam.template
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ depends: [
"ppx_sexp_conv"
"sexplib"
"shared-block-ring" {>= "2.3.0"}
"xapi-stdext-unix"
]
synopsis: "A simple store-and-forward message switch"
description: """
Expand Down
3 changes: 2 additions & 1 deletion ocaml/alerts/certificate/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
(library
(name certificate_check)
(modules certificate_check)
(modes best)
(libraries
astring
xapi-expiry-alerts
Expand All @@ -19,7 +20,7 @@
(modules certificate_check_main)
(libraries
certificate_check
dune-build-info

http_lib
xapi-client
xapi-types
Expand Down
2 changes: 0 additions & 2 deletions ocaml/alerts/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
(name expiry_alert)
(public_name xapi-expiry-alerts)
(libraries
astring
xapi-client
xapi-consts
xapi-types
xapi-stdext-date
)
Expand Down
1 change: 1 addition & 0 deletions ocaml/auth/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(library
(modes best)
(foreign_stubs
(language c)
(names xa_auth xa_auth_stubs)
Expand Down
Loading
Loading