<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Jaroslav,</p>
<p>I think the principle is nicely summarized here: <a
moz-do-not-send="true"
href="https://docs.evolveum.com/midpoint/reference/resources/manual/"
class="moz-txt-link-freetext">https://docs.evolveum.com/midpoint/reference/resources/manual/</a>.
I mean these paragraphs:</p>
<p><img src="cid:part1.u5RcJ9tr.9m7xCHIW@evolveum.com" alt=""
width="1124" height="620"></p>
<p>When looking for samples, I personally strongly prefer files from
our <b>test suite</b>, as they are 100% guaranteed to work. :)</p>
<p>In particular, manual resources are covered by the following:</p>
<ul>
<li><a moz-do-not-send="true"
href="https://github.com/Evolveum/midpoint/tree/master/provisioning/provisioning-impl/src/test/resources/manual"
class="moz-txt-link-freetext">https://github.com/Evolveum/midpoint/tree/master/provisioning/provisioning-impl/src/test/resources/manual</a>
(low-level tests)</li>
</ul>
<ul>
<li><a moz-do-not-send="true"
href="https://github.com/Evolveum/midpoint/tree/master/model/model-intest/src/test/resources/manual"
class="moz-txt-link-freetext">https://github.com/Evolveum/midpoint/tree/master/model/model-intest/src/test/resources/manual</a>
(higher-level tests)</li>
</ul>
<p>By searching for e.g. resource OIDs you could easily find also
the corresponding Java code, but it might be harder to understand.</p>
<p>Hope this helps,<br>
</p>
<pre class="moz-signature" cols="72">--
Pavol Mederly
Software developer
evolveum.com</pre>
<div class="moz-cite-prefix">On 22/06/2022 15:25, Jaroslav Kobylka
via midPoint wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALK4aPug-r7ALboQ-xG8yCZc0JPa3b6j=OJbWeUHJFxcMnoy-Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello community,<br>
<br>
in our company, we decided to start using midPoint, but
unfortunately, I have been struggling with setting up offline
resources for many weeks. I managed eg to make a working GitHub
connector, but not basic manual resource 😅. And yes, I read
official book / dev doc / github repo, but I am still missing
the principle of how it works without an active connection.<br>
<br>
The scenario is simple - at the beginning, we want to maintain a
list of Users, a simple list of Roles, and related Resources -
most of the resources will be offline, which means we need to
audit that access/permission was granted, but account will be
set up manually. On Demo instance is not much about it, same for
the documentation.<br>
<br>
Would it be possible to at least direct me (eg some XML snippet
with an explanation etc) or show me a simple example of an
offline working Resource on a demo instance of
midPoint, including an approval ticket?<br>
<br>
<br>
Thanks a lot for your help.<br>
<br>
best regards<br>
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div><b><font color="#000000"><br>
Jaroslav Kobylka</font></b></div>
<div><span style="color:rgb(153,153,153)">Operations Lead,</span><br
style="color:rgb(153,153,153)">
<span style="color:rgb(153,153,153)">at Twisto, A Zip
Company</span><br>
</div>
<div><font color="#000000"><br>
</font></div>
<div><font color="#000000"><img
src="https://ci3.googleusercontent.com/mail-sig/AIorK4ylqLsgF6sguSegqQdvApSq0yAsvQ1ofMZzm9xvkPYEoLaTrPVhHeXUd0aYmFQxWNiAE1cch6A"
moz-do-not-send="true"><br>
</font></div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
</body>
</html>