Corrections and suggestions on Explorer for android client
by Anuj Garg
Hello everyone,
A tree structure of the explorer is approx ready for the android client and
I was curious if i am wrong somewhere.
First of all, All feeds are collected by call to
/inventory/feeds
feed call for resources
/inventory/feeds/{feed}/resources
call for rec resources and metrics
/inventory/feeds/{feed}/resources/{resid}/recursiveChildren
/inventory/{feed}/resources/{resid}/metrics
Am I missing something?
Thanks
Anuj Garg
2 days, 13 hours
How to Get Started with the 1win App
by Alex Seen
Online betting has evolved dramatically over the years, and mobile apps have become one of the most popular ways to place bets. One platform that has garnered significant attention is 1win, known for its user-friendly design, diverse betting options, and exciting features. If you're new to the world of mobile betting and want to get started with the 1win app, you're in the right place. This article will guide you through the steps you need to take to begin your betting journey with the 1win app, from downloading the app to placing your first bet.
The first step to getting started with the 1win app is to download it to your mobile device. Fortunately, the app is available on both Android and iOS, so regardless of which operating system you use, you can easily access it. For Android users, the app is available on the <a href="https://1win.com/">1win bet</a> website, where you can find the latest version of the APK file for installation. Simply download the APK file, allow your phone to install apps from unknown sources, and follow the prompts to complete the installation. For iOS users, the app can be downloaded directly from the Apple App Store by searching for "1win." The download process is simple and quick, ensuring you can start betting in no time.
Once you've successfully installed the 1win app, the next step is to create an account. This is an essential step in the process, as you need to have an account to place bets, access bonuses, and manage your funds. Open the app, and you'll be greeted with an easy-to-navigate registration screen. You can sign up using your email address or mobile number, and you'll be asked to create a secure password. After filling in the necessary details, such as your name, date of birth, and preferred currency, you'll need to confirm your account. Depending on the region you're in, you may be required to verify your identity to comply with local regulations and ensure that you're of legal age to bet.
Now that you've set up your account, it's time to explore the betting options. The 1win app offers a wide variety of sports, casino games, and virtual betting opportunities. Whether you prefer football, basketball, tennis, or more niche sports like cricket or esports, you'll find plenty of markets to explore. If you're into casino games, the app features a range of slots, table games, and live dealer options, bringing the casino experience directly to your phone. Take your time to browse through the available categories and find the events or games that pique your interest.
Before you can start betting, you'll need to fund your account. The 1win app supports a variety of payment methods, making it easy for you to deposit and withdraw funds. You can use traditional methods such as bank cards or e-wallets like Skrill and Neteller. Cryptocurrency users will also find it convenient, as the app accepts popular digital currencies like Bitcoin and Ethereum. To make your first deposit, go to the "Deposit" section, choose your preferred payment method, and enter the amount you wish to deposit. The process is quick, and most deposits are processed instantly, allowing you to start placing bets right away.
Once your account is funded, you're ready to place your first bet. Navigate to the sports or casino section of the app, select the event or game you'd like to bet on, and choose the odds that appeal to you. The 1win app makes it easy to place single or multiple bets, and you can even explore live betting if you're interested in wagering during an ongoing event. If you're new to betting, take the time to research the teams, players, or games you're betting on, as this can increase your chances of success. The app also offers helpful features such as statistics, live score updates, and betting tips to guide you in making informed decisions.
One of the standout features of the 1win app is its live betting and live streaming options. Live betting allows you to place bets in real time as the event unfolds, adding excitement and engagement to the betting process. The app also offers live streaming of many sports events, allowing you to watch the action as you bet. This is a fantastic feature that enhances your overall experience and gives you the ability to adjust your bets based on the flow of the game.
As with any online betting platform, it's important to manage your account responsibly. The 1win app offers a range of tools to help you stay in control of your betting activity. You can set deposit limits, monitor your betting history, and access responsible gaming resources if needed. It's important to bet within your limits and treat betting as a form of entertainment, not as a way to make money.
In conclusion, getting started with the 1win app is a straightforward and enjoyable process. From downloading the app to placing your first bet, the entire experience is designed to be user-friendly and efficient. Whether you're a seasoned bettor or a newcomer to the world of mobile betting, the 1win app provides everything you need to get started. By following the simple steps outlined in this article, you can begin your betting journey with confidence and excitement. With a wide range of betting options, secure payment methods, and live features, the 1win app is an excellent choice for anyone looking to bet on their favorite sports or casino games from the palm of their hand.
2 days, 14 hours
logging in java agents is not trivial in WildFly / EAP
by John Mazzitelli
<tl;dr>
No matter if a java agent uses JBoss Logging or simply relies on the JRE's own Java logging, it still won't work in WildFly/EAP unless you set additional things to environment variables in standalone.conf. So no matter what logging is used, this means problems still need to be overcome when putting java agents in host controllers for EAP 7.0 domain mode.
</tl;dr>
I am looking at how Java Agents should log messages when attached to WildFly or EAP. I want to see if there is a way to implement a Java Agent and NOT have to set any special JAVA_OPTS values to pass to the VM to get it to work.
Turns out, it is not a trivial issue.
I wrote a silly little test agent [1] just to see what would happen if it simply logs a message using *java* logging and spins a thread logging a message every second again using *java* logging. So, no extra third party logging libraries, just using java.util.logging classes that are in the JRE already.
Adding just -javaagent to JAVA_OPTS (in standalone.conf, add something like "-javaagent:/where/it/is/ja.jar=foo=bar") is no good, the server bombs with this error, presumably because my agent already started logging using java logger:
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: WFLYLOG0078: The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property "java.util.logging.manager" and set it to "org.jboss.logmanager.LogManager"
Well, catch-22, because if I set java.util.logging.manager=org.jboss.logmanager.LogManager in JAVA_OPTS, this happens when the test agent tries to log:
Could not load Logmanager "org.jboss.logmanager.LogManager"
java.lang.ClassNotFoundException: org.jboss.logmanager.LogManager
which then falls back to java logging, which then causes the server to bomb again because it wants JBoss Logging.
If I set this in standalone.conf:
JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman,org.jboss.logmanager"
the java agent still gets this error:
Could not load Logmanager "org.jboss.logmanager.LogManager"
java.lang.ClassNotFoundException: org.jboss.logmanager.LogManager
which is then followed by jboss modules error which causes the server to again to fail to start:
WARNING: Failed to load the specified log manager class org.jboss.logmanager.LogManager
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/logmanager/Level
...
at org.jboss.modules.Module.run(Module.java:320)
The ONLY way to get the server to start properly with this java agent installed (EVEN WITH the agent using ONLY java logging), you have to do all of the above plus add this to JAVA_OPTS:
-Xbootclasspath/p:$JBOSS_HOME/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.0.4.Final.jar
So, in short, you need to add "-Djava.util.logging.manager=org.jboss.logmanager.LogManager" to JAVA_OPTS, you need to add ",org.jboss.logmanager" to JBOSS_MODULES_SYSTEM_PKGS, and you need to add that -Xbootclasspath to JAVA_OPTS just to get a javaagent to work even if the javaagent simply uses nothing more than standard java logging.
---
[1] $ cat JavaAgent.java
import java.util.logging.*;
public class JavaAgent {
private static final Logger log = Logger.getLogger(JavaAgent.class.getName());
public static void premain(String args) {
log.severe("log in premain: " + args);
new Thread(new Runnable() {
public void run() {
while (true) {
try {
Thread.sleep(1000);
log.severe("log in premain loop: " + args);
} catch (Exception e) {
return;
}
}
}
}).start();
}
}
To build it:
$ echo "Premain-Class: JavaAgent" > manifest.mf
$ javac JavaAgent.java
$ jar cvfm ja.jar manifest.mf JavaAgent*
2 days, 15 hours
Inventory API question
by Austin Kuo
I was creating 2 different resource types with the same http client at the
same time.
But one succeed, the other failed with the response 400 and body:
{
"errorMsg" : "The transaction has already been closed"
}
Is it not allowed to do so?
Austin.
2 weeks, 2 days
logging in java agents is not trivial in WildFly / EAP
by Mark Ambrose
>>> ... this means problems still need to be overcome when
>>> putting java agents in host controllers for EAP 7.0 domain mode.
>>> </tl;dr>
Is a solution to these problems for when putting java agents in host
controllers for EAP 7.0 domain mode known?
...
[Host Controller] 16:16:33,937 INFO [org.jboss.as.host.controller]
(Controller Boot Thread) WFLYHC0023: Starting server TestServer1a
16:16:33,968 INFO [org.jboss.as.process.Server:TestServer1a.status]
(ProcessController-threads - 3) WFLYPC0018: Starting process
'Server:TestServer1a'
[Server:TestServer1a] Could not load Logmanager
"org.jboss.logmanager.LogManager"
[Server:TestServer1a] java.lang.ClassNotFoundException:
org.jboss.logmanager.LogManager
[Server:TestServer1a] at
java.net.URLClassLoader.findClass(URLClassLoader.java:382)
...
Thanks,
Mark Ambrose
2 weeks, 2 days
need a briefing on what the hawkular agent is now doing with respect to inventory
by John Mazzitelli
Joel,
Now that the new inventory-into-metrics is in master and released, I need to know what you did :-D I suspect others will want to know what you did too.
Is it possible for you to write something up or have a 15-minute Blue Jeans session to discuss how inventory is stored in H-Metrics?
I am going to need to know this because I have to implement it in GoLang for HOSA, unless you want to do it :)
--John Mazz
2 weeks, 3 days
BTM agent relationship with Hawkular agent
by Gary Brown
Hi
On the team call just now, Heiko raised a question about whether the BTM agent could work with the Hawkular agent. So thought I would start this discussion thread to see what the potential options are.
I currently see two issues:
1) The BTM agent must be configured on the jvm command line as a "-javaagent" to install ByteMan for instrumentation purposes. This is instantiated before the JBoss modules (and therefore subsystems etc) are initialised.
2) The hawkular agent won't necessarily be installed in all monitored servers, and instead remotely monitor some. The BTM agent would need to be installed in all servers where business transactions are executing.
One type of integration that may be possible is in terms of delivering the captured business transaction information to the backend? i.e. the BTM agent locally reports it to the Hawkular agent as a relay?
Thoughts?
Regards
Gary
2 weeks, 3 days