<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>Davy is right and I will just add that a Connector object gets
created for each combination of connector type and connector
version. So if you have multiple versions of the same connector as
JAR files, you will also have multiple Connector objects.</p>
<p>The resource is "connected" to the connector using the Connector
_object_ oid. And the Connector object contains the connectorType,
connectorVersion and other strings which are fetched from the real
connector JAR file when the connector is first discovered.</p>
<p>So in order to get rid of obsolete connectors, you need to delete
JAR file and also ConnectorType object for that connector from
midPoint repository (GUI: Repository objects - All objects -
(select "Connector" type))<br>
</p>
<p>Best regards,</p>
<p>Ivan<br>
</p>
<div class="moz-cite-prefix">On 6. 5. 2020 15:21, Davy Priem wrote:<br>
</div>
<blockquote type="cite"
cite="mid:11058B82-140E-4CBD-85C3-68DF27685199@vives.be">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hi,
<div class=""><br class="">
</div>
<div class="">When you put a connector in the lib folder and
restart midpoint, a connector object gets created automatically.
The oid created for this object is then used within your
resource object.</div>
<div class=""><br class="">
</div>
<div class="">Best regards,</div>
<div class="">Davy</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""><br class="">
</div>
<div><br class="">
<blockquote type="cite" class="">
<div class="">Op 6 mei 2020, om 15:12 heeft Keith LeValley
<<a href="mailto:klevalley2@davenport.edu" class=""
moz-do-not-send="true">klevalley2@davenport.edu</a>>
het volgende geschreven:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">"Did you delete the connector
object from the object repo in midpoint?"</div>
<div dir="ltr" class=""><br class="">
</div>
<div class="">I think I am a little confused. I deleted
the .jar file off of the midPoint server that is
placed in the lib folder and I deleted the connector
resource from the midPoint GUI. Does the object live
somewhere else that I need to delete also?</div>
<div class="gmail_quote">
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""> </div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br class="">
------------------------------<br class="">
<br class="">
Message: 2<br class="">
Date: Tue, 5 May 2020 09:30:37 -0400<br class="">
From: Keith LeValley <<a
href="mailto:klevalley2@davenport.edu"
target="_blank" class="" moz-do-not-send="true">klevalley2@davenport.edu</a>><br
class="">
To: <a href="mailto:midpoint@lists.evolveum.com"
target="_blank" class="" moz-do-not-send="true">midpoint@lists.evolveum.com</a><br
class="">
Subject: [midPoint] Config file during the build
process<br class="">
Message-ID:<br class="">
<CAAkzTLzR_KstifwPQqqQdN=<a
href="mailto:BN5e3-qRtN19kUwJOLCvZvmdm5g@mail.gmail.com"
target="_blank" class="" moz-do-not-send="true">BN5e3-qRtN19kUwJOLCvZvmdm5g@mail.gmail.com</a>><br
class="">
Content-Type: text/plain; charset="utf-8"<br
class="">
<br class="">
I am fishing a little bit here because I am a little
lost. I built a<br class="">
custom connector and during the first initial build
of the jar the<br class="">
configuration file worked, I could see the fields
from the configuration<br class="">
file show up in the midPoint GUI.<br class="">
<br class="">
The problem I am running into is now new builds do
not update the<br class="">
configuration of the connector. Changes to the
actual connector or the<br class="">
connector class do show up, just the configuration
file changes don't. I<br class="">
had initially assumed it was a build process problem
but I deleted<br class="">
everything out and kept just the pom and java files
and rebuilt but still<br class="">
no luck.<br class="">
<br class="">
I am using VC code and maven with the connID
archetype. Any help would be<br class="">
appreciated<br class="">
<br class="">
-- <br class="">
Keith LeValley<br class="">
Identity Services Architect, Davenport University<br
class="">
phone: (616) 732-1102<br class="">
<a href="mailto:klevalley2@davenport.edu"
target="_blank" class="" moz-do-not-send="true">klevalley2@davenport.edu</a><br
class="">
-------------- next part --------------<br class="">
An HTML attachment was scrubbed...<br class="">
URL: <<a
href="https://lists.evolveum.com/pipermail/midpoint/attachments/20200505/c9ca2fea/attachment-0001.htm"
rel="noreferrer" target="_blank" class=""
moz-do-not-send="true">https://lists.evolveum.com/pipermail/midpoint/attachments/20200505/c9ca2fea/attachment-0001.htm</a>><br
class="">
<br class="">
------------------------------<br class="">
<br class="">
</blockquote>
</div>
<br class="" clear="all">
<div class=""><br class="">
</div>
-- <br class="">
<div dir="ltr" class="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" class="">Keith LeValley<br
class="">
<div class=""><font class=""
face="arial, helvetica, sans-serif">Identity
Services Architect</font>, Davenport
University</div>
<div class="">phone: (616) 732-1102</div>
<div class=""><a
href="mailto:klevalley2@davenport.edu"
target="_blank" class=""
moz-do-not-send="true">klevalley2@davenport.edu<br
class="">
</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br
class="">
midPoint mailing list<br class="">
<a href="mailto:midPoint@lists.evolveum.com" class=""
moz-do-not-send="true">midPoint@lists.evolveum.com</a><br
class="">
<a class="moz-txt-link-freetext" href="https://lists.evolveum.com/mailman/listinfo/midpoint">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br
class="">
</div>
</blockquote>
</div>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></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>
<pre class="moz-signature" cols="72">--
Ivan Noris
Senior Identity Engineer
evolveum.com
</pre>
</body>
</html>