Skip to content

Commit c4aea05

Browse files
committed
Initial commit.
Signed-off-by: Avi Miller <avi.miller@oracle.com>
0 parents  commit c4aea05

39 files changed

+14667
-0
lines changed

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.DS_Store
2+
*.ora*
3+
wallet_setup.sh
4+
.env
5+
*.crt
6+
*.key
7+
.vscode

CONTRIBUTING.md

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Contributing to This Repository
2+
3+
We welcome your contributions! There are multiple ways to contribute.
4+
5+
## Opening issues
6+
7+
For bugs or enhancement requests, please file a GitHub issue unless the problem is security-related. When filing a bug, remember that the more specific the bug is, the more likely it is to be fixed. If you think you've found a security
8+
vulnerability, then do not raise a GitHub issue. Instead, follow the instructions in our
9+
[security policy](./SECURITY.md).
10+
11+
## Contributing code
12+
13+
We welcome your code contributions. Before submitting code by using a pull request,
14+
you must sign the [Oracle Contributor Agreement][OCA] (OCA), and your commits must include the following line, using the name and e-mail address you used to sign the OCA:
15+
16+
```text
17+
Signed-off-by: Your Name <you@example.org>
18+
```
19+
20+
You can add this line automatically to pull requests by committing with `--sign-off`
21+
or `-s`. For example:
22+
23+
```text
24+
git commit --signoff
25+
```
26+
27+
Only pull requests from committers that can be verified as having signed the OCA
28+
can be accepted.
29+
30+
## Pull request process
31+
32+
1. Ensure there is an issue created to track and discuss the fix or enhancement that you intend to submit.
33+
2. Fork this repository.
34+
3. Create a branch in your fork to implement the changes. Oracle recommends using
35+
the issue number as part of your branch name. For example: `1234-fixes`
36+
4. Ensure that any documentation is updated with the changes that are required
37+
by your change.
38+
5. Ensure that any samples are updated, if the base image has been changed.
39+
6. Submit the pull request. *Do not leave the pull request blank*. Explain exactly
40+
what your changes are meant to do, and provide simple steps to indicate how to validate
41+
your changes. Ensure that you reference the issue that you created as well.
42+
7. Before the changes are merged, Oracle will assign the pull request to 2 or 3 people for review.
43+
44+
## Code of conduct
45+
46+
Follow the [Golden Rule](https://en.wikipedia.org/wiki/Golden_Rule). If you'd
47+
like more specific guidelines, see the [Contributor Covenant Code of Conduct][COC].
48+
49+
[OCA]: https://oca.opensource.oracle.com
50+
[COC]: https://www.contributor-covenant.org/version/1/4/code-of-conduct/

LICENSE.txt

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Copyright (c) 2021 Oracle and/or its affiliates.
2+
3+
The Universal Permissive License (UPL), Version 1.0
4+
5+
Subject to the condition set forth below, permission is hereby granted to any
6+
person obtaining a copy of this software, associated documentation and/or data
7+
(collectively the "Software"), free of charge and under any and all copyright
8+
rights in the Software, and any and all patent rights owned or freely
9+
licensable by each licensor hereunder covering either (i) the unmodified
10+
Software as contributed to or provided by such licensor, or (ii) the Larger
11+
Works (as defined below), to deal in both
12+
13+
(a) the Software, and
14+
(b) any piece of software and/or hardware listed in the lrgrwrks.txt file if
15+
one is included with the Software (each a "Larger Work" to which the Software
16+
is contributed by such licensors),
17+
18+
without restriction, including without limitation the rights to copy, create
19+
derivative works of, display, perform, and distribute the Software and make,
20+
use, sell, offer for sale, import, export, have made, and have sold the
21+
Software and the Larger Work(s), and to sublicense the foregoing rights on
22+
either these or other terms.
23+
24+
This license is subject to the following condition:
25+
The above copyright notice and either this complete permission notice or at
26+
a minimum a reference to the UPL must be included in all copies or
27+
substantial portions of the Software.
28+
29+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35+
SOFTWARE.

Makefile

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#
2+
# Makefile Version 1.0
3+
#
4+
# Copyright (c) 2021 Oracle and/or its affiliates.
5+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
6+
#
7+
#
8+
9+
10+
deploy:
11+
docker stack deploy --compose-file docker-compose.yml oracledb-monitor
12+
13+
down:
14+
docker stack rm oracledb-monitor
15+
16+
log-oracledb:
17+
docker service logs --follow oracledb-monitor_oracledb --raw
18+
19+
log-exporter:
20+
docker service logs --follow oracledb-monitor_exporter --raw
21+
22+
# pause:
23+
# docker-compose pause
24+
#
25+
# unpause:
26+
# docker-compose unpause

0 commit comments

Comments
 (0)